From 83c1cfe6b395cf6d54f027a702577e21464c3b09 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 25 Sep 2023 16:55:17 +0000 Subject: [PATCH] chore(deps): Update gapic-generator-java to 2.26.0 PiperOrigin-RevId: 567624307 Source-Link: https://github.com/googleapis/googleapis/commit/2ecf4defdf5b4564491e7eee9a4b436b58b29e35 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a5cfbd9a05b3a134e92886114db776fb33cec9f2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTVjZmJkOWEwNWIzYTEzNGU5Mjg4NjExNGRiNzc2ZmIzM2NlYzlmMiJ9 --- .../admin/v2/BigtableInstanceAdminGrpc.java | 2790 ---------- .../admin/v2/BigtableTableAdminGrpc.java | 3343 ------------ .../com/google/bigtable/v2/BigtableGrpc.java | 1298 ----- .../v2/BaseBigtableInstanceAdminClient.java | 3284 ++++++++++++ .../v2/BaseBigtableInstanceAdminSettings.java | 527 ++ .../v2/BaseBigtableTableAdminClient.java | 4467 +++++++++++++++++ .../v2/BaseBigtableTableAdminSettings.java | 584 +++ .../bigtable/admin/v2/gapic_metadata.json | 165 + .../cloud/bigtable/admin/v2/package-info.java | 69 + .../v2/stub/BigtableInstanceAdminStub.java | 206 + .../BigtableInstanceAdminStubSettings.java | 1237 +++++ .../admin/v2/stub/BigtableTableAdminStub.java | 241 + .../stub/BigtableTableAdminStubSettings.java | 1443 ++++++ ...cBigtableInstanceAdminCallableFactory.java | 113 + .../stub/GrpcBigtableInstanceAdminStub.java | 896 ++++ ...GrpcBigtableTableAdminCallableFactory.java | 113 + .../v2/stub/GrpcBigtableTableAdminStub.java | 1037 ++++ .../data/v2/BaseBigtableDataClient.java | 1376 +++++ .../data/v2/BaseBigtableDataSettings.java | 308 ++ .../bigtable/data/v2/gapic_metadata.json | 45 + .../cloud/bigtable/data/v2/package-info.java | 45 + .../bigtable/data/v2/stub/BigtableStub.java | 97 + .../data/v2/stub/BigtableStubSettings.java | 576 +++ .../v2/stub/GrpcBigtableCallableFactory.java | 113 + .../data/v2/stub/GrpcBigtableStub.java | 501 ++ .../reflect-config.json | 3179 ++++++++++++ .../reflect-config.json | 2252 +++++++++ .../BaseBigtableInstanceAdminClientTest.java | 1782 +++++++ .../v2/BaseBigtableTableAdminClientTest.java | 2633 ++++++++++ .../admin/v2/MockBigtableInstanceAdmin.java | 59 + .../v2/MockBigtableInstanceAdminImpl.java | 525 ++ .../admin/v2/MockBigtableTableAdmin.java | 59 + .../admin/v2/MockBigtableTableAdminImpl.java | 612 +++ .../data/v2/BaseBigtableDataClientTest.java | 1084 ++++ .../cloud/bigtable/data/v2/MockBigtable.java | 59 + .../bigtable/data/v2/MockBigtableImpl.java | 269 + .../admin/v2/BigtableInstanceAdminGrpc.java | 2167 ++++++++ .../admin/v2/BigtableTableAdminGrpc.java | 2631 ++++++++++ .../com/google/bigtable/v2/BigtableGrpc.java | 1030 ++++ .../google/bigtable/admin/v2/AppProfile.java | 1592 +++--- .../bigtable/admin/v2/AppProfileName.java | 0 .../admin/v2/AppProfileOrBuilder.java | 88 +- .../bigtable/admin/v2/AutoscalingLimits.java | 305 +- .../admin/v2/AutoscalingLimitsOrBuilder.java | 24 +- .../bigtable/admin/v2/AutoscalingTargets.java | 309 +- .../admin/v2/AutoscalingTargetsOrBuilder.java | 24 +- .../com/google/bigtable/admin/v2/Backup.java | 1160 ++--- .../google/bigtable/admin/v2/BackupInfo.java | 691 +-- .../admin/v2/BackupInfoOrBuilder.java | 79 +- .../google/bigtable/admin/v2/BackupName.java | 0 .../bigtable/admin/v2/BackupOrBuilder.java | 141 +- .../admin/v2/BigtableInstanceAdminProto.java | 618 +++ .../admin/v2/BigtableTableAdminProto.java | 762 +++ .../bigtable/admin/v2/ChangeStreamConfig.java | 344 +- .../admin/v2/ChangeStreamConfigOrBuilder.java | 26 +- .../admin/v2/CheckConsistencyRequest.java | 419 +- .../v2/CheckConsistencyRequestOrBuilder.java | 44 +- .../admin/v2/CheckConsistencyResponse.java | 287 +- .../v2/CheckConsistencyResponseOrBuilder.java | 20 + .../com/google/bigtable/admin/v2/Cluster.java | 2324 +++------ .../google/bigtable/admin/v2/ClusterName.java | 0 .../bigtable/admin/v2/ClusterOrBuilder.java | 103 +- .../bigtable/admin/v2/ColumnFamily.java | 326 +- .../admin/v2/ColumnFamilyOrBuilder.java | 26 +- .../google/bigtable/admin/v2/CommonProto.java | 61 + .../bigtable/admin/v2/CopyBackupMetadata.java | 505 +- .../admin/v2/CopyBackupMetadataOrBuilder.java | 43 +- .../bigtable/admin/v2/CopyBackupRequest.java | 637 +-- .../admin/v2/CopyBackupRequestOrBuilder.java | 78 +- .../admin/v2/CreateAppProfileRequest.java | 598 +-- .../v2/CreateAppProfileRequestOrBuilder.java | 67 +- .../admin/v2/CreateBackupMetadata.java | 557 +- .../v2/CreateBackupMetadataOrBuilder.java | 52 +- .../admin/v2/CreateBackupRequest.java | 538 +- .../v2/CreateBackupRequestOrBuilder.java | 61 +- .../admin/v2/CreateClusterMetadata.java | 1351 ++--- .../v2/CreateClusterMetadataOrBuilder.java | 87 +- .../admin/v2/CreateClusterRequest.java | 553 +- .../v2/CreateClusterRequestOrBuilder.java | 61 +- .../admin/v2/CreateInstanceMetadata.java | 528 +- .../v2/CreateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/CreateInstanceRequest.java | 837 ++- .../v2/CreateInstanceRequestOrBuilder.java | 114 +- .../v2/CreateTableFromSnapshotMetadata.java | 557 +- ...ateTableFromSnapshotMetadataOrBuilder.java | 45 +- .../v2/CreateTableFromSnapshotRequest.java | 525 +- ...eateTableFromSnapshotRequestOrBuilder.java | 61 +- .../bigtable/admin/v2/CreateTableRequest.java | 953 ++-- .../admin/v2/CreateTableRequestOrBuilder.java | 76 +- .../admin/v2/DeleteAppProfileRequest.java | 381 +- .../v2/DeleteAppProfileRequestOrBuilder.java | 38 +- .../admin/v2/DeleteBackupRequest.java | 347 +- .../v2/DeleteBackupRequestOrBuilder.java | 33 + .../admin/v2/DeleteClusterRequest.java | 347 +- .../v2/DeleteClusterRequestOrBuilder.java | 31 + .../admin/v2/DeleteInstanceRequest.java | 347 +- .../v2/DeleteInstanceRequestOrBuilder.java | 31 + .../admin/v2/DeleteSnapshotRequest.java | 347 +- .../v2/DeleteSnapshotRequestOrBuilder.java | 33 + .../bigtable/admin/v2/DeleteTableRequest.java | 343 +- .../admin/v2/DeleteTableRequestOrBuilder.java | 33 + .../admin/v2/DropRowRangeRequest.java | 493 +- .../v2/DropRowRangeRequestOrBuilder.java | 47 +- .../bigtable/admin/v2/EncryptionInfo.java | 634 +-- .../admin/v2/EncryptionInfoOrBuilder.java | 66 +- .../com/google/bigtable/admin/v2/GcRule.java | 1423 ++---- .../bigtable/admin/v2/GcRuleOrBuilder.java | 48 +- .../v2/GenerateConsistencyTokenRequest.java | 363 +- ...erateConsistencyTokenRequestOrBuilder.java | 33 + .../v2/GenerateConsistencyTokenResponse.java | 335 +- ...rateConsistencyTokenResponseOrBuilder.java | 29 + .../admin/v2/GetAppProfileRequest.java | 347 +- .../v2/GetAppProfileRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetBackupRequest.java | 340 +- .../admin/v2/GetBackupRequestOrBuilder.java | 33 + .../bigtable/admin/v2/GetClusterRequest.java | 340 +- .../admin/v2/GetClusterRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetInstanceRequest.java | 343 +- .../admin/v2/GetInstanceRequestOrBuilder.java | 31 + .../bigtable/admin/v2/GetSnapshotRequest.java | 343 +- .../admin/v2/GetSnapshotRequestOrBuilder.java | 33 + .../bigtable/admin/v2/GetTableRequest.java | 390 +- .../admin/v2/GetTableRequestOrBuilder.java | 41 +- .../google/bigtable/admin/v2/HotTablet.java | 793 ++- .../bigtable/admin/v2/HotTabletOrBuilder.java | 91 +- .../google/bigtable/admin/v2/Instance.java | 1033 ++-- .../bigtable/admin/v2/InstanceName.java | 0 .../bigtable/admin/v2/InstanceOrBuilder.java | 101 +- .../bigtable/admin/v2/InstanceProto.java | 263 + .../admin/v2/ListAppProfilesRequest.java | 450 +- .../v2/ListAppProfilesRequestOrBuilder.java | 47 +- .../admin/v2/ListAppProfilesResponse.java | 591 +-- .../v2/ListAppProfilesResponseOrBuilder.java | 63 +- .../bigtable/admin/v2/ListBackupsRequest.java | 592 +-- .../admin/v2/ListBackupsRequestOrBuilder.java | 65 +- .../admin/v2/ListBackupsResponse.java | 479 +- .../v2/ListBackupsResponseOrBuilder.java | 46 +- .../admin/v2/ListClustersRequest.java | 419 +- .../v2/ListClustersRequestOrBuilder.java | 44 +- .../admin/v2/ListClustersResponse.java | 587 +-- .../v2/ListClustersResponseOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsRequest.java | 616 +-- .../v2/ListHotTabletsRequestOrBuilder.java | 63 +- .../admin/v2/ListHotTabletsResponse.java | 480 +- .../v2/ListHotTabletsResponseOrBuilder.java | 45 +- .../admin/v2/ListInstancesRequest.java | 419 +- .../v2/ListInstancesRequestOrBuilder.java | 44 +- .../admin/v2/ListInstancesResponse.java | 587 +-- .../v2/ListInstancesResponseOrBuilder.java | 63 +- .../admin/v2/ListSnapshotsRequest.java | 450 +- .../v2/ListSnapshotsRequestOrBuilder.java | 47 +- .../admin/v2/ListSnapshotsResponse.java | 479 +- .../v2/ListSnapshotsResponseOrBuilder.java | 45 +- .../bigtable/admin/v2/ListTablesRequest.java | 493 +- .../admin/v2/ListTablesRequestOrBuilder.java | 53 +- .../bigtable/admin/v2/ListTablesResponse.java | 475 +- .../admin/v2/ListTablesResponseOrBuilder.java | 46 +- .../bigtable/admin/v2/LocationName.java | 0 .../admin/v2/ModifyColumnFamiliesRequest.java | 1316 ++--- .../ModifyColumnFamiliesRequestOrBuilder.java | 74 +- .../bigtable/admin/v2/OperationProgress.java | 440 +- .../admin/v2/OperationProgressOrBuilder.java | 37 +- .../v2/OptimizeRestoredTableMetadata.java | 416 +- ...ptimizeRestoredTableMetadataOrBuilder.java | 35 +- .../v2/PartialUpdateClusterMetadata.java | 543 +- ...PartialUpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/PartialUpdateClusterRequest.java | 512 +- .../PartialUpdateClusterRequestOrBuilder.java | 52 +- .../v2/PartialUpdateInstanceRequest.java | 523 +- ...PartialUpdateInstanceRequestOrBuilder.java | 55 +- .../google/bigtable/admin/v2/ProjectName.java | 0 .../google/bigtable/admin/v2/RestoreInfo.java | 426 +- .../admin/v2/RestoreInfoOrBuilder.java | 32 +- .../bigtable/admin/v2/RestoreSourceType.java | 73 +- .../admin/v2/RestoreTableMetadata.java | 686 +-- .../v2/RestoreTableMetadataOrBuilder.java | 56 +- .../admin/v2/RestoreTableRequest.java | 547 +- .../v2/RestoreTableRequestOrBuilder.java | 56 +- .../google/bigtable/admin/v2/Snapshot.java | 925 ++-- .../bigtable/admin/v2/SnapshotName.java | 0 .../bigtable/admin/v2/SnapshotOrBuilder.java | 98 +- .../admin/v2/SnapshotTableMetadata.java | 528 +- .../v2/SnapshotTableMetadataOrBuilder.java | 42 +- .../admin/v2/SnapshotTableRequest.java | 673 +-- .../v2/SnapshotTableRequestOrBuilder.java | 78 +- .../google/bigtable/admin/v2/StorageType.java | 82 +- .../com/google/bigtable/admin/v2/Table.java | 2017 +++----- .../google/bigtable/admin/v2/TableName.java | 0 .../bigtable/admin/v2/TableOrBuilder.java | 150 +- .../google/bigtable/admin/v2/TableProto.java | 311 ++ .../admin/v2/UndeleteTableMetadata.java | 485 +- .../v2/UndeleteTableMetadataOrBuilder.java | 43 +- .../admin/v2/UndeleteTableRequest.java | 347 +- .../v2/UndeleteTableRequestOrBuilder.java | 33 + .../admin/v2/UpdateAppProfileMetadata.java | 248 +- .../v2/UpdateAppProfileMetadataOrBuilder.java | 9 + .../admin/v2/UpdateAppProfileRequest.java | 554 +- .../v2/UpdateAppProfileRequestOrBuilder.java | 58 +- .../admin/v2/UpdateBackupRequest.java | 494 +- .../v2/UpdateBackupRequestOrBuilder.java | 52 +- .../admin/v2/UpdateClusterMetadata.java | 524 +- .../v2/UpdateClusterMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateInstanceMetadata.java | 540 +- .../v2/UpdateInstanceMetadataOrBuilder.java | 42 +- .../admin/v2/UpdateTableMetadata.java | 485 +- .../v2/UpdateTableMetadataOrBuilder.java | 43 +- .../bigtable/admin/v2/UpdateTableRequest.java | 490 +- .../admin/v2/UpdateTableRequestOrBuilder.java | 52 +- .../admin/v2/bigtable_instance_admin.proto | 0 .../admin/v2/bigtable_table_admin.proto | 0 .../google/bigtable/admin/v2/common.proto | 0 .../google/bigtable/admin/v2/instance.proto | 0 .../google/bigtable/admin/v2/table.proto | 0 .../com/google/bigtable/v2/BigtableProto.java | 578 +++ .../java/com/google/bigtable/v2/Cell.java | 393 +- .../com/google/bigtable/v2/CellOrBuilder.java | 42 +- .../bigtable/v2/CheckAndMutateRowRequest.java | 851 ++-- .../v2/CheckAndMutateRowRequestOrBuilder.java | 91 +- .../v2/CheckAndMutateRowResponse.java | 284 +- .../CheckAndMutateRowResponseOrBuilder.java | 20 + .../java/com/google/bigtable/v2/Column.java | 416 +- .../google/bigtable/v2/ColumnOrBuilder.java | 40 +- .../com/google/bigtable/v2/ColumnRange.java | 599 +-- .../bigtable/v2/ColumnRangeOrBuilder.java | 51 +- .../com/google/bigtable/v2/DataProto.java | 358 ++ .../java/com/google/bigtable/v2/Family.java | 452 +- .../google/bigtable/v2/FamilyOrBuilder.java | 46 +- .../com/google/bigtable/v2/FeatureFlags.java | 372 +- .../bigtable/v2/FeatureFlagsOrBuilder.java | 30 +- .../google/bigtable/v2/FeatureFlagsProto.java | 56 + .../google/bigtable/v2/FullReadStatsView.java | 438 +- .../v2/FullReadStatsViewOrBuilder.java | 34 +- ...eInitialChangeStreamPartitionsRequest.java | 464 +- ...hangeStreamPartitionsRequestOrBuilder.java | 44 +- ...InitialChangeStreamPartitionsResponse.java | 392 +- ...angeStreamPartitionsResponseOrBuilder.java | 26 +- .../com/google/bigtable/v2/InstanceName.java | 0 .../google/bigtable/v2/MutateRowRequest.java | 690 +-- .../v2/MutateRowRequestOrBuilder.java | 86 +- .../google/bigtable/v2/MutateRowResponse.java | 235 +- .../v2/MutateRowResponseOrBuilder.java | 9 + .../google/bigtable/v2/MutateRowsRequest.java | 1216 ++--- .../v2/MutateRowsRequestOrBuilder.java | 82 +- .../bigtable/v2/MutateRowsResponse.java | 852 ++-- .../v2/MutateRowsResponseOrBuilder.java | 44 +- .../java/com/google/bigtable/v2/Mutation.java | 2057 +++----- .../google/bigtable/v2/MutationOrBuilder.java | 50 +- .../bigtable/v2/PingAndWarmRequest.java | 412 +- .../v2/PingAndWarmRequestOrBuilder.java | 44 +- .../bigtable/v2/PingAndWarmResponse.java | 238 +- .../v2/PingAndWarmResponseOrBuilder.java | 9 + .../com/google/bigtable/v2/RateLimitInfo.java | 355 +- .../bigtable/v2/RateLimitInfoOrBuilder.java | 29 +- .../bigtable/v2/ReadChangeStreamRequest.java | 926 ++-- .../v2/ReadChangeStreamRequestOrBuilder.java | 84 +- .../bigtable/v2/ReadChangeStreamResponse.java | 3844 +++++--------- .../v2/ReadChangeStreamResponseOrBuilder.java | 42 +- .../bigtable/v2/ReadIterationStats.java | 379 +- .../v2/ReadIterationStatsOrBuilder.java | 30 +- .../v2/ReadModifyWriteRowRequest.java | 705 +-- .../ReadModifyWriteRowRequestOrBuilder.java | 85 +- .../v2/ReadModifyWriteRowResponse.java | 332 +- .../ReadModifyWriteRowResponseOrBuilder.java | 26 +- .../bigtable/v2/ReadModifyWriteRule.java | 491 +- .../v2/ReadModifyWriteRuleOrBuilder.java | 42 +- .../google/bigtable/v2/ReadRowsRequest.java | 770 ++- .../bigtable/v2/ReadRowsRequestOrBuilder.java | 72 +- .../google/bigtable/v2/ReadRowsResponse.java | 1389 ++--- .../v2/ReadRowsResponseOrBuilder.java | 47 +- .../bigtable/v2/RequestLatencyStats.java | 345 +- .../v2/RequestLatencyStatsOrBuilder.java | 26 +- .../com/google/bigtable/v2/RequestStats.java | 365 +- .../bigtable/v2/RequestStatsOrBuilder.java | 26 +- .../google/bigtable/v2/RequestStatsProto.java | 100 + .../google/bigtable/v2/ResponseParams.java | 392 +- .../bigtable/v2/ResponseParamsOrBuilder.java | 42 +- .../bigtable/v2/ResponseParamsProto.java | 54 + .../main/java/com/google/bigtable/v2/Row.java | 413 +- .../com/google/bigtable/v2/RowFilter.java | 2998 ++++------- .../bigtable/v2/RowFilterOrBuilder.java | 156 +- .../com/google/bigtable/v2/RowOrBuilder.java | 40 +- .../java/com/google/bigtable/v2/RowRange.java | 521 +- .../google/bigtable/v2/RowRangeOrBuilder.java | 42 +- .../java/com/google/bigtable/v2/RowSet.java | 453 +- .../google/bigtable/v2/RowSetOrBuilder.java | 46 +- .../bigtable/v2/SampleRowKeysRequest.java | 412 +- .../v2/SampleRowKeysRequestOrBuilder.java | 44 +- .../bigtable/v2/SampleRowKeysResponse.java | 307 +- .../v2/SampleRowKeysResponseOrBuilder.java | 24 +- .../bigtable/v2/StreamContinuationToken.java | 409 +- .../v2/StreamContinuationTokenOrBuilder.java | 35 +- .../bigtable/v2/StreamContinuationTokens.java | 401 +- .../v2/StreamContinuationTokensOrBuilder.java | 36 +- .../google/bigtable/v2/StreamPartition.java | 319 +- .../bigtable/v2/StreamPartitionOrBuilder.java | 26 +- .../com/google/bigtable/v2/TableName.java | 0 .../google/bigtable/v2/TimestampRange.java | 307 +- .../bigtable/v2/TimestampRangeOrBuilder.java | 24 +- .../com/google/bigtable/v2/ValueRange.java | 530 +- .../bigtable/v2/ValueRangeOrBuilder.java | 42 +- .../proto/google/bigtable/v2/bigtable.proto | 0 .../main/proto/google/bigtable/v2/data.proto | 0 .../google/bigtable/v2/feature_flags.proto | 0 .../google/bigtable/v2/request_stats.proto | 0 .../google/bigtable/v2/response_params.proto | 0 .../admin/v2/BigtableInstanceAdminProto.java | 665 --- .../admin/v2/BigtableTableAdminProto.java | 822 --- .../v2/CheckConsistencyResponseOrBuilder.java | 39 - .../google/bigtable/admin/v2/CommonProto.java | 76 - .../v2/DeleteBackupRequestOrBuilder.java | 58 - .../v2/DeleteClusterRequestOrBuilder.java | 56 - .../v2/DeleteInstanceRequestOrBuilder.java | 56 - .../v2/DeleteSnapshotRequestOrBuilder.java | 58 - .../admin/v2/DeleteTableRequestOrBuilder.java | 58 - ...erateConsistencyTokenRequestOrBuilder.java | 58 - ...rateConsistencyTokenResponseOrBuilder.java | 50 - .../v2/GetAppProfileRequestOrBuilder.java | 56 - .../admin/v2/GetBackupRequestOrBuilder.java | 58 - .../admin/v2/GetClusterRequestOrBuilder.java | 56 - .../admin/v2/GetInstanceRequestOrBuilder.java | 56 - .../admin/v2/GetSnapshotRequestOrBuilder.java | 58 - .../bigtable/admin/v2/InstanceProto.java | 314 -- .../google/bigtable/admin/v2/TableProto.java | 359 -- .../v2/UndeleteTableRequestOrBuilder.java | 58 - .../v2/UpdateAppProfileMetadataOrBuilder.java | 24 - .../com/google/bigtable/v2/BigtableProto.java | 660 --- .../CheckAndMutateRowResponseOrBuilder.java | 39 - .../com/google/bigtable/v2/DataProto.java | 415 -- .../google/bigtable/v2/FeatureFlagsProto.java | 72 - .../v2/MutateRowResponseOrBuilder.java | 24 - .../v2/PingAndWarmResponseOrBuilder.java | 24 - .../google/bigtable/v2/RequestStatsProto.java | 118 - .../bigtable/v2/ResponseParamsProto.java | 67 - 333 files changed, 68636 insertions(+), 61999 deletions(-) delete mode 100644 grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java delete mode 100644 grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java delete mode 100644 grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java create mode 100644 owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java create mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java create mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java create mode 100644 owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfile.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java (53%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Backup.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java (76%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java (55%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Cluster.java (66%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ClusterName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java (71%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java (73%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java (66%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java (61%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java (68%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java (64%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java (63%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java (61%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java (76%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java (59%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java (78%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java (84%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java (66%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java (51%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java (64%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java (66%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java (59%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GcRule.java (74%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java (80%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java (62%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java (56%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/HotTablet.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java (74%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Instance.java (73%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/InstanceName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java (84%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java (78%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java (79%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java (86%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java (56%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java (74%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java (78%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java (79%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java (66%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java (50%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java (79%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java (61%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java (73%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java (73%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java (68%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/LocationName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java (56%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java (68%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java (64%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java (64%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java (58%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/ProjectName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java (80%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Snapshot.java (69%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/StorageType.java (67%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/Table.java (68%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/TableName.java (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java (72%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java (63%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java (65%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java (61%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java (72%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java (75%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java (70%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java (71%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java (73%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java (77%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/common.proto (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/instance.proto (100%) rename {proto-google-cloud-bigtable-admin-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2}/src/main/proto/google/bigtable/admin/v2/table.proto (100%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Cell.java (72%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CellOrBuilder.java (71%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java (79%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java (84%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java (65%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Column.java (73%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java (66%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnRange.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java (76%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Family.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java (71%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FeatureFlags.java (72%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java (68%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FullReadStatsView.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java (78%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java (63%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java (61%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java (60%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java (61%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/InstanceName.java (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowRequest.java (69%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java (62%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowResponse.java (62%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java (63%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java (77%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Mutation.java (72%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java (80%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java (66%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java (55%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java (61%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RateLimitInfo.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java (78%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java (76%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java (86%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java (75%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java (77%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadIterationStats.java (68%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java (63%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java (68%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java (62%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java (67%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java (58%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java (72%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java (77%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java (73%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java (77%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java (80%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java (87%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java (77%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java (85%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestStats.java (69%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java (66%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ResponseParams.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java (64%) create mode 100644 owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/Row.java (75%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowFilter.java (82%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java (94%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowOrBuilder.java (68%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowRange.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowSet.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java (69%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java (66%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java (55%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java (65%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java (67%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java (63%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java (70%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java (64%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamPartition.java (68%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java (61%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TableName.java (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TimestampRange.java (66%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java (51%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ValueRange.java (69%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java (74%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/bigtable.proto (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/data.proto (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/feature_flags.proto (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/request_stats.proto (100%) rename {proto-google-cloud-bigtable-v2 => owl-bot-staging/v2/proto-google-cloud-bigtable-v2}/src/main/proto/google/bigtable/v2/response_params.proto (100%) delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java delete mode 100644 proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java diff --git a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java deleted file mode 100644 index e9f2ea804b..0000000000 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java +++ /dev/null @@ -1,2790 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.bigtable.admin.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for creating, configuring, and deleting Cloud Bigtable Instances and
- * Clusters. Provides access to the Instance and Cluster schemas only, not the
- * tables' metadata or data stored in those tables.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableInstanceAdminGrpc { - - private BigtableInstanceAdminGrpc() {} - - public static final String SERVICE_NAME = "google.bigtable.admin.v2.BigtableInstanceAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateInstance", - requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.longrunning.Operation> - getCreateInstanceMethod; - if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getCreateInstanceMethod = - getCreateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) - .build(); - } - } - } - return getCreateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetInstance", - requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, - responseType = com.google.bigtable.admin.v2.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetInstanceRequest, com.google.bigtable.admin.v2.Instance> - getGetInstanceMethod; - if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getGetInstanceMethod = - getGetInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) - .build(); - } - } - } - return getGetInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListInstances", - requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, - responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse> - getListInstancesMethod; - if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { - BigtableInstanceAdminGrpc.getListInstancesMethod = - getListInstancesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListInstancesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListInstancesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) - .build(); - } - } - } - return getListInstancesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", - requestType = com.google.bigtable.admin.v2.Instance.class, - responseType = com.google.bigtable.admin.v2.Instance.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance> - getUpdateInstanceMethod; - if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getUpdateInstanceMethod = - getUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Instance.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) - .build(); - } - } - } - return getUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", - requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation> - getPartialUpdateInstanceMethod; - if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getPartialUpdateInstanceMethod = - BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) - == null) { - BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = - getPartialUpdateInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier( - "PartialUpdateInstance")) - .build(); - } - } - } - return getPartialUpdateInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", - requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty> - getDeleteInstanceMethod; - if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { - BigtableInstanceAdminGrpc.getDeleteInstanceMethod = - getDeleteInstanceMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteInstanceRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) - .build(); - } - } - } - return getDeleteInstanceMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCluster", - requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateClusterRequest, com.google.longrunning.Operation> - getCreateClusterMethod; - if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { - BigtableInstanceAdminGrpc.getCreateClusterMethod = - getCreateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) - .build(); - } - } - } - return getCreateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCluster", - requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, - responseType = com.google.bigtable.admin.v2.Cluster.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetClusterRequest, com.google.bigtable.admin.v2.Cluster> - getGetClusterMethod; - if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { - BigtableInstanceAdminGrpc.getGetClusterMethod = - getGetClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) - .build(); - } - } - } - return getGetClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListClusters", - requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, - responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse> - getListClustersMethod; - if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { - BigtableInstanceAdminGrpc.getListClustersMethod = - getListClustersMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListClustersRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListClustersResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) - .build(); - } - } - } - return getListClustersMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> - getUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", - requestType = com.google.bigtable.admin.v2.Cluster.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation> - getUpdateClusterMethod() { - io.grpc.MethodDescriptor - getUpdateClusterMethod; - if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { - BigtableInstanceAdminGrpc.getUpdateClusterMethod = - getUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) - .build(); - } - } - } - return getUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", - requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation> - getPartialUpdateClusterMethod; - if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getPartialUpdateClusterMethod = - BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) - == null) { - BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = - getPartialUpdateClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) - .build(); - } - } - } - return getPartialUpdateClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", - requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty> - getDeleteClusterMethod; - if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { - BigtableInstanceAdminGrpc.getDeleteClusterMethod = - getDeleteClusterMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteClusterRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) - .build(); - } - } - } - return getDeleteClusterMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", - requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - responseType = com.google.bigtable.admin.v2.AppProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getCreateAppProfileMethod; - if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getCreateAppProfileMethod = - getCreateAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.CreateAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) - .build(); - } - } - } - return getCreateAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", - requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, - responseType = com.google.bigtable.admin.v2.AppProfile.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile> - getGetAppProfileMethod; - if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { - BigtableInstanceAdminGrpc.getGetAppProfileMethod = - getGetAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.GetAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) - .build(); - } - } - } - return getGetAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", - requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse> - getListAppProfilesMethod; - if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) - == null) { - BigtableInstanceAdminGrpc.getListAppProfilesMethod = - getListAppProfilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListAppProfilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListAppProfilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) - .build(); - } - } - } - return getListAppProfilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", - requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, com.google.longrunning.Operation> - getUpdateAppProfileMethod; - if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = - getUpdateAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.UpdateAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) - .build(); - } - } - } - return getUpdateAppProfileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", - requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, com.google.protobuf.Empty> - getDeleteAppProfileMethod; - if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) - == null) { - BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = - getDeleteAppProfileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.DeleteAppProfileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) - .build(); - } - } - } - return getDeleteAppProfileMethod; - } - - 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< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { - BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - 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< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { - BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - 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< - 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 = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) - == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) - == null) { - BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", - requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse> - getListHotTabletsMethod; - if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { - BigtableInstanceAdminGrpc.getListHotTabletsMethod = - getListHotTabletsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListHotTabletsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.admin.v2.ListHotTabletsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) - .build(); - } - } - } - return getListHotTabletsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminStub(channel, callOptions); - } - }; - return BigtableInstanceAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigtableInstanceAdminBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminBlockingStub(channel, callOptions); - } - }; - return BigtableInstanceAdminBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BigtableInstanceAdminFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableInstanceAdminFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminFutureStub(channel, callOptions); - } - }; - return BigtableInstanceAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - default void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - default void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListInstancesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - default void updateInstance( - com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - default void partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartialUpdateInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - default void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteInstanceMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - default void createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - default void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - default void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListClustersMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - default void updateCluster( - com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - default void partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPartialUpdateClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - default void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteClusterMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - default void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - default void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - default void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListAppProfilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - default void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - default void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteAppProfileMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - default 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 an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - default 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 instance resource.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - default void listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListHotTabletsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public abstract static class BigtableInstanceAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigtableInstanceAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private BigtableInstanceAdminStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public void getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public void listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public void updateInstance( - com.google.bigtable.admin.v2.Instance request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public void partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public void deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public void createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public void getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public void listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public void updateCluster( - com.google.bigtable.admin.v2.Cluster request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public void partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public void deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public void createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public void getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public void listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public void updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public void deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public void listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableInstanceAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createInstance( - com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance getInstance( - com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.bigtable.admin.v2.ListInstancesResponse listInstances( - com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListInstancesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.bigtable.admin.v2.Instance updateInstance( - com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateInstance( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.protobuf.Empty deleteInstance( - com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.longrunning.Operation createCluster( - com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.bigtable.admin.v2.Cluster getCluster( - com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListClustersResponse listClusters( - com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListClustersMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.longrunning.Operation updateCluster( - com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.longrunning.Operation partialUpdateCluster( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteCluster( - com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteClusterMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile createAppProfile( - com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.bigtable.admin.v2.AppProfile getAppProfile( - com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles( - com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListAppProfilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.longrunning.Operation updateAppProfile( - com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.protobuf.Empty deleteAppProfile( - com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified instance resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets( - com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListHotTabletsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service - * BigtableInstanceAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
-   * Clusters. Provides access to the Instance and Cluster schemas only, not the
-   * tables' metadata or data stored in those tables.
-   * 
- */ - public static final class BigtableInstanceAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableInstanceAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableInstanceAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableInstanceAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Create an instance within a project.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about instances in a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListInstancesResponse> - listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an instance within a project. This method updates only the display
-     * name and type for an Instance. To update other Instance properties, such as
-     * labels, use PartialUpdateInstance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateInstance(com.google.bigtable.admin.v2.Instance request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Partially updates an instance within a project. This method can modify all
-     * fields of an Instance and is the preferred way to update an Instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Delete an instance from a project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a cluster within an instance.
-     * Note that exactly one of Cluster.serve_nodes and
-     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
-     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
-     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
-     * enabled.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about a cluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about clusters in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListClustersResponse> - listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListClustersMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a cluster within an instance.
-     * Note that UpdateCluster does not support updating
-     * cluster_config.cluster_autoscaling_config. In order to update it, you
-     * must use PartialUpdateCluster.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateCluster(com.google.bigtable.admin.v2.Cluster request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Partially updates a cluster within a project. This method is the preferred
-     * way to update a Cluster.
-     * To enable and update autoscaling, set
-     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
-     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
-     * are ignored. Note that an update cannot simultaneously set serve_nodes to
-     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
-     * also specify both in the update_mask.
-     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
-     * and explicitly set a serve_node count via the update_mask.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a cluster from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.AppProfile> - createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets information about an app profile.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.AppProfile> - getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists information about app profiles in an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListAppProfilesResponse> - listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates an app profile within an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes an app profile from an instance.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the access control policy for an instance resource. Returns an empty
-     * policy if an instance exists but does not have a policy set.
-     * 
- */ - 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 an instance resource. Replaces any
-     * existing policy.
-     * 
- */ - 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 instance resource.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Lists hot tablets in a cluster, within the time range provided. Hot
-     * tablets are ordered based on CPU usage.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.admin.v2.ListHotTabletsResponse> - listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_INSTANCE = 0; - private static final int METHODID_GET_INSTANCE = 1; - private static final int METHODID_LIST_INSTANCES = 2; - private static final int METHODID_UPDATE_INSTANCE = 3; - private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; - private static final int METHODID_DELETE_INSTANCE = 5; - private static final int METHODID_CREATE_CLUSTER = 6; - private static final int METHODID_GET_CLUSTER = 7; - private static final int METHODID_LIST_CLUSTERS = 8; - private static final int METHODID_UPDATE_CLUSTER = 9; - private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; - private static final int METHODID_DELETE_CLUSTER = 11; - private static final int METHODID_CREATE_APP_PROFILE = 12; - private static final int METHODID_GET_APP_PROFILE = 13; - private static final int METHODID_LIST_APP_PROFILES = 14; - private static final int METHODID_UPDATE_APP_PROFILE = 15; - private static final int METHODID_DELETE_APP_PROFILE = 16; - private static final int METHODID_GET_IAM_POLICY = 17; - private static final int METHODID_SET_IAM_POLICY = 18; - private static final int METHODID_TEST_IAM_PERMISSIONS = 19; - private static final int METHODID_LIST_HOT_TABLETS = 20; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_INSTANCE: - serviceImpl.createInstance( - (com.google.bigtable.admin.v2.CreateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INSTANCE: - serviceImpl.getInstance( - (com.google.bigtable.admin.v2.GetInstanceRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_INSTANCES: - serviceImpl.listInstances( - (com.google.bigtable.admin.v2.ListInstancesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_INSTANCE: - serviceImpl.updateInstance( - (com.google.bigtable.admin.v2.Instance) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PARTIAL_UPDATE_INSTANCE: - serviceImpl.partialUpdateInstance( - (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INSTANCE: - serviceImpl.deleteInstance( - (com.google.bigtable.admin.v2.DeleteInstanceRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CLUSTER: - serviceImpl.createCluster( - (com.google.bigtable.admin.v2.CreateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CLUSTER: - serviceImpl.getCluster( - (com.google.bigtable.admin.v2.GetClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CLUSTERS: - serviceImpl.listClusters( - (com.google.bigtable.admin.v2.ListClustersRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_CLUSTER: - serviceImpl.updateCluster( - (com.google.bigtable.admin.v2.Cluster) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_PARTIAL_UPDATE_CLUSTER: - serviceImpl.partialUpdateCluster( - (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CLUSTER: - serviceImpl.deleteCluster( - (com.google.bigtable.admin.v2.DeleteClusterRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_APP_PROFILE: - serviceImpl.createAppProfile( - (com.google.bigtable.admin.v2.CreateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_APP_PROFILE: - serviceImpl.getAppProfile( - (com.google.bigtable.admin.v2.GetAppProfileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_APP_PROFILES: - serviceImpl.listAppProfiles( - (com.google.bigtable.admin.v2.ListAppProfilesRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_APP_PROFILE: - serviceImpl.updateAppProfile( - (com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_APP_PROFILE: - serviceImpl.deleteAppProfile( - (com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_HOT_TABLETS: - serviceImpl.listHotTablets( - (com.google.bigtable.admin.v2.ListHotTabletsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_INSTANCE))) - .addMethod( - getGetInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetInstanceRequest, - com.google.bigtable.admin.v2.Instance>(service, METHODID_GET_INSTANCE))) - .addMethod( - getListInstancesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListInstancesRequest, - com.google.bigtable.admin.v2.ListInstancesResponse>( - service, METHODID_LIST_INSTANCES))) - .addMethod( - getUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance>( - service, METHODID_UPDATE_INSTANCE))) - .addMethod( - getPartialUpdateInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_INSTANCE))) - .addMethod( - getDeleteInstanceMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteInstanceRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_INSTANCE))) - .addMethod( - getCreateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_CLUSTER))) - .addMethod( - getGetClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetClusterRequest, - com.google.bigtable.admin.v2.Cluster>(service, METHODID_GET_CLUSTER))) - .addMethod( - getListClustersMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListClustersRequest, - com.google.bigtable.admin.v2.ListClustersResponse>( - service, METHODID_LIST_CLUSTERS))) - .addMethod( - getUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.Cluster, com.google.longrunning.Operation>( - service, METHODID_UPDATE_CLUSTER))) - .addMethod( - getPartialUpdateClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.longrunning.Operation>(service, METHODID_PARTIAL_UPDATE_CLUSTER))) - .addMethod( - getDeleteClusterMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteClusterRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_CLUSTER))) - .addMethod( - getCreateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>(service, METHODID_CREATE_APP_PROFILE))) - .addMethod( - getGetAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetAppProfileRequest, - com.google.bigtable.admin.v2.AppProfile>(service, METHODID_GET_APP_PROFILE))) - .addMethod( - getListAppProfilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListAppProfilesRequest, - com.google.bigtable.admin.v2.ListAppProfilesResponse>( - service, METHODID_LIST_APP_PROFILES))) - .addMethod( - getUpdateAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateAppProfileRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_APP_PROFILE))) - .addMethod( - getDeleteAppProfileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteAppProfileRequest, - com.google.protobuf.Empty>(service, METHODID_DELETE_APP_PROFILE))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getListHotTabletsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListHotTabletsRequest, - com.google.bigtable.admin.v2.ListHotTabletsResponse>( - service, METHODID_LIST_HOT_TABLETS))) - .build(); - } - - private abstract static class BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableInstanceAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); - } - } - - private static final class BigtableInstanceAdminFileDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier { - BigtableInstanceAdminFileDescriptorSupplier() {} - } - - private static final class BigtableInstanceAdminMethodDescriptorSupplier - extends BigtableInstanceAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BigtableInstanceAdminMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigtableInstanceAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableInstanceAdminFileDescriptorSupplier()) - .addMethod(getCreateInstanceMethod()) - .addMethod(getGetInstanceMethod()) - .addMethod(getListInstancesMethod()) - .addMethod(getUpdateInstanceMethod()) - .addMethod(getPartialUpdateInstanceMethod()) - .addMethod(getDeleteInstanceMethod()) - .addMethod(getCreateClusterMethod()) - .addMethod(getGetClusterMethod()) - .addMethod(getListClustersMethod()) - .addMethod(getUpdateClusterMethod()) - .addMethod(getPartialUpdateClusterMethod()) - .addMethod(getDeleteClusterMethod()) - .addMethod(getCreateAppProfileMethod()) - .addMethod(getGetAppProfileMethod()) - .addMethod(getListAppProfilesMethod()) - .addMethod(getUpdateAppProfileMethod()) - .addMethod(getDeleteAppProfileMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getListHotTabletsMethod()) - .build(); - } - } - } - return result; - } -} 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 deleted file mode 100644 index 9f2702644a..0000000000 --- a/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java +++ /dev/null @@ -1,3343 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.bigtable.admin.v2; - -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
- * the tables.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/admin/v2/bigtable_table_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableTableAdminGrpc { - - 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< - 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< - 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(); - } - } - } - return getCreateTableMethod; - } - - 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< - 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(); - } - } - } - return getCreateTableFromSnapshotMethod; - } - - 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< - 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(); - } - } - } - return getListTablesMethod; - } - - 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< - 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(); - } - } - } - return getGetTableMethod; - } - - 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< - 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(); - } - } - } - return getUpdateTableMethod; - } - - 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< - 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(); - } - } - } - return getDeleteTableMethod; - } - - 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< - 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(); - } - } - } - return getUndeleteTableMethod; - } - - 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< - 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(); - } - } - } - return getModifyColumnFamiliesMethod; - } - - 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< - 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(); - } - } - } - return getDropRowRangeMethod; - } - - 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< - 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(); - } - } - } - return getGenerateConsistencyTokenMethod; - } - - 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< - 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(); - } - } - } - return getCheckConsistencyMethod; - } - - 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< - 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(); - } - } - } - return getSnapshotTableMethod; - } - - 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< - 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(); - } - } - } - return getGetSnapshotMethod; - } - - 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< - 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(); - } - } - } - return getListSnapshotsMethod; - } - - 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< - 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(); - } - } - } - return getDeleteSnapshotMethod; - } - - 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< - 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(); - } - } - } - return getCreateBackupMethod; - } - - 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< - 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(); - } - } - } - return getGetBackupMethod; - } - - 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< - 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(); - } - } - } - return getUpdateBackupMethod; - } - - 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< - 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(); - } - } - } - return getDeleteBackupMethod; - } - - 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< - 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(); - } - } - } - return getListBackupsMethod; - } - - 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< - 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(); - } - } - } - return getRestoreTableMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation> - 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< - com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation> - getCopyBackupMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.admin.v2.CopyBackupRequest, com.google.longrunning.Operation> - 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< - 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< - 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(); - } - } - } - return getGetIamPolicyMethod; - } - - 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< - 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(); - } - } - } - return getSetIamPolicyMethod; - } - - 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< - 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(); - } - } - } - return getTestIamPermissionsMethod; - } - - /** 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) { - return new BigtableTableAdminStub(channel, callOptions); - } - }; - return BigtableTableAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - 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) { - 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) { - 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) { - return new BigtableTableAdminFutureStub(channel, callOptions); - } - }; - return BigtableTableAdminFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable tables.
-   * Provides access to the table schemas only, not the data stored within
-   * the tables.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * 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.
-     * 
- */ - default 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * returns, but data requests received prior to that point may see a table
-     * where only some modifications have taken effect.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * before this call started have been replicated. The tokens will be available
-     * for 90 days.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - default 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - default 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - default 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - default 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
-     * track creation of the backup. The
-     * [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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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.
-     * 
- */ - default 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
-     * returned table [long-running operation][google.longrunning.Operation] can
-     * be used to track the progress of the operation, and to cancel it.  The
-     * [metadata][google.longrunning.Operation.metadata] field type is
-     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
-     * [response][google.longrunning.Operation.response] type is
-     * [Table][google.bigtable.admin.v2.Table], if successful.
-     * 
- */ - default 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.
-     * 
- */ - default void copyBackup( - com.google.bigtable.admin.v2.CopyBackupRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); - } - - /** - * - * - *
-     * 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.
-     * 
- */ - default 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 or Backup resource.
-     * Replaces any existing policy.
-     * 
- */ - default 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 or Backup
-     * resource.
-     * 
- */ - default void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service BigtableTableAdmin. - * - *
-   * Service for creating, configuring, and deleting Cloud Bigtable tables.
-   * Provides access to the table schemas only, not the data stored within
-   * the tables.
-   * 
- */ - public abstract static class BigtableTableAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigtableTableAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service BigtableTableAdmin. - * - *
-   * 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) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableTableAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableTableAdminStub(channel, callOptions); - } - - /** - * - * - *
-     * 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.ClientCalls.asyncUnaryCall( - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Lists all tables served from a specified instance.
-     * 
- */ - 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) { - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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
-     * returns, but data requests received prior to that point may see a table
-     * 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.ClientCalls.asyncUnaryCall( - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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
-     * before this call started have been replicated. The tokens will be available
-     * for 90 days.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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.ClientCalls.asyncUnaryCall( - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Gets metadata information about the specified snapshot.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Lists all snapshots associated with the specified cluster.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Permanently deletes the specified snapshot.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * Starts creating a new Cloud Bigtable Backup.  The returned backup
-     * [long-running operation][google.longrunning.Operation] can be used to
-     * track creation of the backup. The
-     * [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.
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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) { - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - 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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListBackupsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Create a new table by restoring from a completed backup.  The
-     * returned table [long-running operation][google.longrunning.Operation] can
-     * be used to track the progress of the operation, and to cancel it.  The
-     * [metadata][google.longrunning.Operation.metadata] field type is
-     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
-     * [response][google.longrunning.Operation.response] type is
-     * [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) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * 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.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * 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.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin. - * - *
-   * 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 { - private BigtableTableAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableTableAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableTableAdminBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * 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) { - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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) { - 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) { - 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) { - 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) { - 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) { - 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
-     * returns, but data requests received prior to that point may see a table
-     * where only some modifications have taken effect.
-     * 
- */ - 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) { - 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
-     * before this call started have been replicated. The tokens will be available
-     * for 90 days.
-     * 
- */ - 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) { - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * track creation of the backup. The
-     * [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.
-     * 
- */ - 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) { - 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) { - 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) { - 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) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListBackupsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Create a new table by restoring from a completed backup.  The
-     * returned table [long-running operation][google.longrunning.Operation] can
-     * be used to track the progress of the operation, and to cancel it.  The
-     * [metadata][google.longrunning.Operation.metadata] field type is
-     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
-     * [response][google.longrunning.Operation.response] type is
-     * [Table][google.bigtable.admin.v2.Table], if successful.
-     * 
- */ - 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 or Backup resource.
-     * Returns an empty policy if the resource exists but does not have a policy
-     * set.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Sets the access control policy on a Table or Backup resource.
-     * Replaces any existing policy.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * 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) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableTableAdmin. - * - *
-   * 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) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableTableAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableTableAdminFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * 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) { - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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< - 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) { - 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) { - 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) { - 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) { - 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
-     * returns, but data requests received prior to that point may see a table
-     * where only some modifications have taken effect.
-     * 
- */ - 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) { - 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
-     * before this call started have been replicated. The tokens will be available
-     * for 90 days.
-     * 
- */ - 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< - 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.
-     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * feature is not currently available to most Cloud Bigtable customers. This
-     * 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.
-     * 
- */ - 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
-     * track creation of the backup. The
-     * [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.
-     * 
- */ - 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) { - 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) { - 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) { - 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< - 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
-     * returned table [long-running operation][google.longrunning.Operation] can
-     * be used to track the progress of the operation, and to cancel it.  The
-     * [metadata][google.longrunning.Operation.metadata] field type is
-     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
-     * [response][google.longrunning.Operation.response] type is
-     * [Table][google.bigtable.admin.v2.Table], if successful.
-     * 
- */ - 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 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) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * 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) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns permissions that the caller has on the specified Table or Backup
-     * resource.
-     * 
- */ - 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); - } - } - - private static final int METHODID_CREATE_TABLE = 0; - private static final int METHODID_CREATE_TABLE_FROM_SNAPSHOT = 1; - private static final int METHODID_LIST_TABLES = 2; - private static final int METHODID_GET_TABLE = 3; - private static final int METHODID_UPDATE_TABLE = 4; - private static final int METHODID_DELETE_TABLE = 5; - private static final int METHODID_UNDELETE_TABLE = 6; - private static final int METHODID_MODIFY_COLUMN_FAMILIES = 7; - private static final int METHODID_DROP_ROW_RANGE = 8; - private static final int METHODID_GENERATE_CONSISTENCY_TOKEN = 9; - private static final int METHODID_CHECK_CONSISTENCY = 10; - private static final int METHODID_SNAPSHOT_TABLE = 11; - private static final int METHODID_GET_SNAPSHOT = 12; - private static final int METHODID_LIST_SNAPSHOTS = 13; - private static final int METHODID_DELETE_SNAPSHOT = 14; - private static final int METHODID_CREATE_BACKUP = 15; - private static final int METHODID_GET_BACKUP = 16; - private static final int METHODID_UPDATE_BACKUP = 17; - private static final int METHODID_DELETE_BACKUP = 18; - private static final int METHODID_LIST_BACKUPS = 19; - private static final int METHODID_RESTORE_TABLE = 20; - private static final int METHODID_COPY_BACKUP = 21; - private static final int METHODID_GET_IAM_POLICY = 22; - private static final int METHODID_SET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_CREATE_TABLE: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TABLES: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TABLE: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UNDELETE_TABLE: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DROP_ROW_RANGE: - 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< - 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); - break; - case METHODID_SNAPSHOT_TABLE: - 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); - break; - case METHODID_LIST_SNAPSHOTS: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_BACKUP: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_BACKUP: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_BACKUPS: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - 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, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getCreateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_CREATE_TABLE))) - .addMethod( - getCreateTableFromSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, - com.google.longrunning.Operation>( - service, 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>( - service, METHODID_LIST_TABLES))) - .addMethod( - getGetTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetTableRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_GET_TABLE))) - .addMethod( - getUpdateTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateTableRequest, - com.google.longrunning.Operation>(service, METHODID_UPDATE_TABLE))) - .addMethod( - getDeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteTableRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_TABLE))) - .addMethod( - getUndeleteTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UndeleteTableRequest, - com.google.longrunning.Operation>(service, METHODID_UNDELETE_TABLE))) - .addMethod( - getModifyColumnFamiliesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, - com.google.bigtable.admin.v2.Table>(service, METHODID_MODIFY_COLUMN_FAMILIES))) - .addMethod( - getDropRowRangeMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DropRowRangeRequest, com.google.protobuf.Empty>( - service, METHODID_DROP_ROW_RANGE))) - .addMethod( - getGenerateConsistencyTokenMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( - service, METHODID_GENERATE_CONSISTENCY_TOKEN))) - .addMethod( - getCheckConsistencyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CheckConsistencyRequest, - com.google.bigtable.admin.v2.CheckConsistencyResponse>( - service, METHODID_CHECK_CONSISTENCY))) - .addMethod( - getSnapshotTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.longrunning.Operation>(service, METHODID_SNAPSHOT_TABLE))) - .addMethod( - getGetSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetSnapshotRequest, - com.google.bigtable.admin.v2.Snapshot>(service, METHODID_GET_SNAPSHOT))) - .addMethod( - getListSnapshotsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListSnapshotsRequest, - com.google.bigtable.admin.v2.ListSnapshotsResponse>( - service, METHODID_LIST_SNAPSHOTS))) - .addMethod( - getDeleteSnapshotMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteSnapshotRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_SNAPSHOT))) - .addMethod( - getCreateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CreateBackupRequest, - com.google.longrunning.Operation>(service, METHODID_CREATE_BACKUP))) - .addMethod( - getGetBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.GetBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_GET_BACKUP))) - .addMethod( - getUpdateBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.UpdateBackupRequest, - com.google.bigtable.admin.v2.Backup>(service, METHODID_UPDATE_BACKUP))) - .addMethod( - getDeleteBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.DeleteBackupRequest, com.google.protobuf.Empty>( - service, METHODID_DELETE_BACKUP))) - .addMethod( - getListBackupsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.ListBackupsRequest, - com.google.bigtable.admin.v2.ListBackupsResponse>( - service, METHODID_LIST_BACKUPS))) - .addMethod( - getRestoreTableMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.RestoreTableRequest, - com.google.longrunning.Operation>(service, METHODID_RESTORE_TABLE))) - .addMethod( - getCopyBackupMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.admin.v2.CopyBackupRequest, - com.google.longrunning.Operation>(service, METHODID_COPY_BACKUP))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_GET_IAM_POLICY))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers( - service, METHODID_SET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - service, METHODID_TEST_IAM_PERMISSIONS))) - .build(); - } - - private abstract static class BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableTableAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("BigtableTableAdmin"); - } - } - - private static final class BigtableTableAdminFileDescriptorSupplier - extends BigtableTableAdminBaseDescriptorSupplier { - BigtableTableAdminFileDescriptorSupplier() {} - } - - private static final class BigtableTableAdminMethodDescriptorSupplier - extends BigtableTableAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BigtableTableAdminMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (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(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java b/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java deleted file mode 100644 index 968758908b..0000000000 --- a/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java +++ /dev/null @@ -1,1298 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.bigtable.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Service for reading from and writing to existing Bigtable tables.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/bigtable/v2/bigtable.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class BigtableGrpc { - - private BigtableGrpc() {} - - public static final String SERVICE_NAME = "google.bigtable.v2.Bigtable"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadRows", - requestType = com.google.bigtable.v2.ReadRowsRequest.class, - responseType = com.google.bigtable.v2.ReadRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadRowsRequest, com.google.bigtable.v2.ReadRowsResponse> - getReadRowsMethod; - if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { - BigtableGrpc.getReadRowsMethod = - getReadRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) - .build(); - } - } - } - return getReadRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", - requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, - responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse> - getSampleRowKeysMethod; - if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { - BigtableGrpc.getSampleRowKeysMethod = - getSampleRowKeysMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) - .build(); - } - } - } - return getSampleRowKeysMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MutateRow", - requestType = com.google.bigtable.v2.MutateRowRequest.class, - responseType = com.google.bigtable.v2.MutateRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowRequest, com.google.bigtable.v2.MutateRowResponse> - getMutateRowMethod; - if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { - BigtableGrpc.getMutateRowMethod = - getMutateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) - .build(); - } - } - } - return getMutateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "MutateRows", - requestType = com.google.bigtable.v2.MutateRowsRequest.class, - responseType = com.google.bigtable.v2.MutateRowsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.MutateRowsRequest, com.google.bigtable.v2.MutateRowsResponse> - getMutateRowsMethod; - if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { - BigtableGrpc.getMutateRowsMethod = - getMutateRowsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) - .build(); - } - } - } - return getMutateRowsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", - requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, - responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse> - getCheckAndMutateRowMethod; - if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { - BigtableGrpc.getCheckAndMutateRowMethod = - getCheckAndMutateRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.CheckAndMutateRowResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) - .build(); - } - } - } - return getCheckAndMutateRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", - requestType = com.google.bigtable.v2.PingAndWarmRequest.class, - responseType = com.google.bigtable.v2.PingAndWarmResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.PingAndWarmRequest, com.google.bigtable.v2.PingAndWarmResponse> - getPingAndWarmMethod; - if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { - BigtableGrpc.getPingAndWarmMethod = - getPingAndWarmMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) - .build(); - } - } - } - return getPingAndWarmMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", - requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse> - getReadModifyWriteRowMethod; - if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { - BigtableGrpc.getReadModifyWriteRowMethod = - getReadModifyWriteRowMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadModifyWriteRowRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadModifyWriteRowResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) - .build(); - } - } - } - return getReadModifyWriteRowMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", - requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, - responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - getGenerateInitialChangeStreamPartitionsMethod; - if ((getGenerateInitialChangeStreamPartitionsMethod = - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) - == null) { - synchronized (BigtableGrpc.class) { - if ((getGenerateInitialChangeStreamPartitionsMethod = - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) - == null) { - BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = - getGenerateInitialChangeStreamPartitionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName( - generateFullMethodName( - SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new BigtableMethodDescriptorSupplier( - "GenerateInitialChangeStreamPartitions")) - .build(); - } - } - } - return getGenerateInitialChangeStreamPartitionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", - requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, - responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod() { - io.grpc.MethodDescriptor< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse> - getReadChangeStreamMethod; - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - synchronized (BigtableGrpc.class) { - if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { - BigtableGrpc.getReadChangeStreamMethod = - getReadChangeStreamMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) - .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) - .build(); - } - } - } - return getReadChangeStreamMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static BigtableStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - }; - return BigtableStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static BigtableBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - }; - return BigtableBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static BigtableFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public BigtableFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - }; - return BigtableFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - default void readRows( - com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - default void sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSampleRowKeysMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - default void mutateRow( - com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - default void mutateRows( - com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - default void checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCheckAndMutateRowMethod(), responseObserver); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - default void pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getPingAndWarmMethod(), responseObserver); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - default void readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReadModifyWriteRowMethod(), responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - default void generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - default void readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getReadChangeStreamMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public abstract static class BigtableImplBase implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return BigtableGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableStub extends io.grpc.stub.AbstractAsyncStub { - private BigtableStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableStub(channel, callOptions); - } - - /** - * - * - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public void readRows( - com.google.bigtable.v2.ReadRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - public void sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public void mutateRow( - com.google.bigtable.v2.MutateRowRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public void mutateRows( - com.google.bigtable.v2.MutateRowsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public void checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public void pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public void readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public void generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, - io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public void readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncServerStreamingCall( - getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private BigtableBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Streams back the contents of all requested rows in key order, optionally
-     * applying the same Reader filter to each. Depending on their size,
-     * rows and cells may be broken up across multiple responses, but
-     * atomicity of each row will still be preserved. See the
-     * ReadRowsResponse documentation for details.
-     * 
- */ - public java.util.Iterator readRows( - com.google.bigtable.v2.ReadRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns a sample of row keys in the table. The returned row keys will
-     * delimit contiguous sections of the table of approximately equal size,
-     * which can be used to break up the data for distributed tasks like
-     * mapreduces.
-     * 
- */ - public java.util.Iterator sampleRowKeys( - com.google.bigtable.v2.SampleRowKeysRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.bigtable.v2.MutateRowResponse mutateRow( - com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getMutateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates multiple rows in a batch. Each individual row is mutated
-     * atomically as in MutateRow, but the entire batch is not executed
-     * atomically.
-     * 
- */ - public java.util.Iterator mutateRows( - com.google.bigtable.v2.MutateRowsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getMutateRowsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow( - com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm( - com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getPingAndWarmMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow( - com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Returns the current list of partitions that make up the table's
-     * change stream. The union of partitions will cover the entire keyspace.
-     * Partitions can be read with `ReadChangeStream`.
-     * 
- */ - public java.util.Iterator - generateInitialChangeStreamPartitions( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), - getGenerateInitialChangeStreamPartitionsMethod(), - getCallOptions(), - request); - } - - /** - * - * - *
-     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
-     * Reads changes from a table's change stream. Changes will
-     * reflect both user-initiated mutations and mutations that are caused by
-     * garbage collection.
-     * 
- */ - public java.util.Iterator readChangeStream( - com.google.bigtable.v2.ReadChangeStreamRequest request) { - return io.grpc.stub.ClientCalls.blockingServerStreamingCall( - getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. - * - *
-   * Service for reading from and writing to existing Bigtable tables.
-   * 
- */ - public static final class BigtableFutureStub - extends io.grpc.stub.AbstractFutureStub { - private BigtableFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected BigtableFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new BigtableFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Mutates a row atomically. Cells already present in the row are left
-     * unchanged unless explicitly changed by `mutation`.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.MutateRowResponse> - mutateRow(com.google.bigtable.v2.MutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Mutates a row atomically based on the output of a predicate Reader filter.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.CheckAndMutateRowResponse> - checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Warm up associated instance metadata for this connection.
-     * This call is not required but may be useful for connection keep-alive.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.PingAndWarmResponse> - pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Modifies a row atomically on the server. The method reads the latest
-     * existing timestamp and value from the specified columns and writes a new
-     * entry based on pre-defined read/modify/write rules. The new value for the
-     * timestamp is the greater of the existing timestamp or the current server
-     * time. The method returns the new contents of all modified cells.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.bigtable.v2.ReadModifyWriteRowResponse> - readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_READ_ROWS = 0; - private static final int METHODID_SAMPLE_ROW_KEYS = 1; - private static final int METHODID_MUTATE_ROW = 2; - private static final int METHODID_MUTATE_ROWS = 3; - private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; - private static final int METHODID_PING_AND_WARM = 5; - private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; - private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; - private static final int METHODID_READ_CHANGE_STREAM = 8; - - private static final class MethodHandlers - implements io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_READ_ROWS: - serviceImpl.readRows( - (com.google.bigtable.v2.ReadRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_SAMPLE_ROW_KEYS: - serviceImpl.sampleRowKeys( - (com.google.bigtable.v2.SampleRowKeysRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_MUTATE_ROW: - serviceImpl.mutateRow( - (com.google.bigtable.v2.MutateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_MUTATE_ROWS: - serviceImpl.mutateRows( - (com.google.bigtable.v2.MutateRowsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CHECK_AND_MUTATE_ROW: - serviceImpl.checkAndMutateRow( - (com.google.bigtable.v2.CheckAndMutateRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_PING_AND_WARM: - serviceImpl.pingAndWarm( - (com.google.bigtable.v2.PingAndWarmRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_READ_MODIFY_WRITE_ROW: - serviceImpl.readModifyWriteRow( - (com.google.bigtable.v2.ReadModifyWriteRowRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: - serviceImpl.generateInitialChangeStreamPartitions( - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>) - responseObserver); - break; - case METHODID_READ_CHANGE_STREAM: - serviceImpl.readChangeStream( - (com.google.bigtable.v2.ReadChangeStreamRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getReadRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadRowsRequest, - com.google.bigtable.v2.ReadRowsResponse>(service, METHODID_READ_ROWS))) - .addMethod( - getSampleRowKeysMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.SampleRowKeysRequest, - com.google.bigtable.v2.SampleRowKeysResponse>( - service, METHODID_SAMPLE_ROW_KEYS))) - .addMethod( - getMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowRequest, - com.google.bigtable.v2.MutateRowResponse>(service, METHODID_MUTATE_ROW))) - .addMethod( - getMutateRowsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.MutateRowsRequest, - com.google.bigtable.v2.MutateRowsResponse>(service, METHODID_MUTATE_ROWS))) - .addMethod( - getCheckAndMutateRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.CheckAndMutateRowRequest, - com.google.bigtable.v2.CheckAndMutateRowResponse>( - service, METHODID_CHECK_AND_MUTATE_ROW))) - .addMethod( - getPingAndWarmMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.PingAndWarmRequest, - com.google.bigtable.v2.PingAndWarmResponse>(service, METHODID_PING_AND_WARM))) - .addMethod( - getReadModifyWriteRowMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.bigtable.v2.ReadModifyWriteRowRequest, - com.google.bigtable.v2.ReadModifyWriteRowResponse>( - service, METHODID_READ_MODIFY_WRITE_ROW))) - .addMethod( - getGenerateInitialChangeStreamPartitionsMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( - service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) - .addMethod( - getReadChangeStreamMethod(), - io.grpc.stub.ServerCalls.asyncServerStreamingCall( - new MethodHandlers< - com.google.bigtable.v2.ReadChangeStreamRequest, - com.google.bigtable.v2.ReadChangeStreamResponse>( - service, METHODID_READ_CHANGE_STREAM))) - .build(); - } - - private abstract static class BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - BigtableBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.bigtable.v2.BigtableProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Bigtable"); - } - } - - private static final class BigtableFileDescriptorSupplier extends BigtableBaseDescriptorSupplier { - BigtableFileDescriptorSupplier() {} - } - - private static final class BigtableMethodDescriptorSupplier extends BigtableBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - BigtableMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (BigtableGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) - .addMethod(getReadRowsMethod()) - .addMethod(getSampleRowKeysMethod()) - .addMethod(getMutateRowMethod()) - .addMethod(getMutateRowsMethod()) - .addMethod(getCheckAndMutateRowMethod()) - .addMethod(getPingAndWarmMethod()) - .addMethod(getReadModifyWriteRowMethod()) - .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) - .addMethod(getReadChangeStreamMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java new file mode 100644 index 0000000000..1c3a60e267 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClient.java @@ -0,0 +1,3284 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.AppProfileName; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.ProjectName; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.OperationsClient; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances and + * Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata or + * data stored in those 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create()) {
+ *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the BaseBigtableInstanceAdminClient 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 + * BaseBigtableInstanceAdminSettings 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
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     BaseBigtableInstanceAdminSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create(baseBigtableInstanceAdminSettings);
+ * }
+ * + *

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
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     BaseBigtableInstanceAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create(baseBigtableInstanceAdminSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminClient implements BackgroundResource { + private final BaseBigtableInstanceAdminSettings settings; + private final BigtableInstanceAdminStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of BaseBigtableInstanceAdminClient with default settings. */ + public static final BaseBigtableInstanceAdminClient create() throws IOException { + return create(BaseBigtableInstanceAdminSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given settings. The + * channels are created based on the settings passed in, or defaults for any settings that are not + * set. + */ + public static final BaseBigtableInstanceAdminClient create( + BaseBigtableInstanceAdminSettings settings) throws IOException { + return new BaseBigtableInstanceAdminClient(settings); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given stub for making + * calls. This is for advanced usage - prefer using create(BaseBigtableInstanceAdminSettings). + */ + public static final BaseBigtableInstanceAdminClient create(BigtableInstanceAdminStub stub) { + return new BaseBigtableInstanceAdminClient(stub); + } + + /** + * Constructs an instance of BaseBigtableInstanceAdminClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected BaseBigtableInstanceAdminClient(BaseBigtableInstanceAdminSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((BigtableInstanceAdminStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected BaseBigtableInstanceAdminClient(BigtableInstanceAdminStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final BaseBigtableInstanceAdminSettings getSettings() { + return settings; + } + + public BigtableInstanceAdminStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + ProjectName parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   String instanceId = "instanceId902024336";
+   *   Instance instance = Instance.newBuilder().build();
+   *   Map clusters = new HashMap<>();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient
+   *           .createInstanceAsync(parent, instanceId, instance, clusters)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project in which to create the new instance. + * Values are of the form `projects/{project}`. + * @param instanceId Required. The ID to be used when referring to the new instance within its + * project, e.g., just `myinstance` rather than `projects/myproject/instances/myinstance`. + * @param instance Required. The instance to create. Fields marked `OutputOnly` must be left + * blank. + * @param clusters Required. The clusters to be created within the instance, mapped by desired + * cluster ID, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. Fields marked `OutputOnly` + * must be left blank. Currently, at most four clusters can be specified. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createInstanceAsync( + String parent, String instanceId, Instance instance, Map clusters) { + CreateInstanceRequest request = + CreateInstanceRequest.newBuilder() + .setParent(parent) + .setInstanceId(instanceId) + .setInstance(instance) + .putAllClusters(clusters) + .build(); + return createInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.createInstanceAsync(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 createInstanceAsync( + CreateInstanceRequest request) { + return createInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createInstanceOperationCallable() { + return stub.createInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create an instance within a project. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateInstanceRequest request =
+   *       CreateInstanceRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setInstanceId("instanceId902024336")
+   *           .setInstance(Instance.newBuilder().build())
+   *           .putAllClusters(new HashMap())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createInstanceCallable() { + return stub.createInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(InstanceName name) { + GetInstanceRequest request = + GetInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested instance. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Instance getInstance(String name) { + GetInstanceRequest request = GetInstanceRequest.newBuilder().setName(name).build(); + return getInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.getInstance(request);
+   * }
+   * }
+ * + * @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 Instance getInstance(GetInstanceRequest request) { + return getInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetInstanceRequest request =
+   *       GetInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getInstanceCallable() { + return stub.getInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ProjectName parent = ProjectName.of("[PROJECT]");
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(ProjectName parent) { + ListInstancesRequest request = + ListInstancesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ProjectName.of("[PROJECT]").toString();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the project for which a list of instances is + * requested. Values are of the form `projects/{project}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListInstancesResponse listInstances(String parent) { + ListInstancesRequest request = ListInstancesRequest.newBuilder().setParent(parent).build(); + return listInstances(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListInstancesResponse response = baseBigtableInstanceAdminClient.listInstances(request);
+   * }
+   * }
+ * + * @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 ListInstancesResponse listInstances(ListInstancesRequest request) { + return listInstancesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about instances in a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListInstancesRequest request =
+   *       ListInstancesRequest.newBuilder()
+   *           .setParent(ProjectName.of("[PROJECT]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listInstancesCallable().futureCall(request);
+   *   // Do something.
+   *   ListInstancesResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listInstancesCallable() { + return stub.listInstancesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.updateInstance(request);
+   * }
+   * }
+ * + * @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 Instance updateInstance(Instance request) { + return updateInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an instance within a project. This method updates only the display name and type for an + * Instance. To update other Instance properties, such as labels, use PartialUpdateInstance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance request =
+   *       Instance.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setDisplayName("displayName1714148973")
+   *           .putAllLabels(new HashMap())
+   *           .setCreateTime(Timestamp.newBuilder().build())
+   *           .setSatisfiesPzs(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateInstanceCallable() { + return stub.updateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Instance instance = Instance.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Instance response =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(instance, updateMask).get();
+   * }
+   * }
+ * + * @param instance Required. The Instance which will (partially) replace the current value. + * @param updateMask Required. The subset of Instance fields which should be replaced. Must be + * explicitly set. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateInstanceAsync( + Instance instance, FieldMask updateMask) { + PartialUpdateInstanceRequest request = + PartialUpdateInstanceRequest.newBuilder() + .setInstance(instance) + .setUpdateMask(updateMask) + .build(); + return partialUpdateInstanceAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Instance response = baseBigtableInstanceAdminClient.partialUpdateInstanceAsync(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 partialUpdateInstanceAsync( + PartialUpdateInstanceRequest request) { + return partialUpdateInstanceOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateInstanceOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Instance response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateInstanceOperationCallable() { + return stub.partialUpdateInstanceOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates an instance within a project. This method can modify all fields of an + * Instance and is the preferred way to update an Instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateInstanceRequest request =
+   *       PartialUpdateInstanceRequest.newBuilder()
+   *           .setInstance(Instance.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateInstanceCallable() { + return stub.partialUpdateInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(InstanceName name) { + DeleteInstanceRequest request = + DeleteInstanceRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteInstance(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to be deleted. Values are of the form + * `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteInstance(String name) { + DeleteInstanceRequest request = DeleteInstanceRequest.newBuilder().setName(name).build(); + deleteInstance(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteInstance(request);
+   * }
+   * }
+ * + * @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 void deleteInstance(DeleteInstanceRequest request) { + deleteInstanceCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Delete an instance from a 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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteInstanceRequest request =
+   *       DeleteInstanceRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteInstanceCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteInstanceCallable() { + return stub.deleteInstanceCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + InstanceName parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String clusterId = "clusterId561939637";
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.createClusterAsync(parent, clusterId, cluster).get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new cluster. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param clusterId Required. The ID to be used when referring to the new cluster within its + * instance, e.g., just `mycluster` rather than + * `projects/myproject/instances/myinstance/clusters/mycluster`. + * @param cluster Required. The cluster to be created. Fields marked `OutputOnly` must be left + * blank. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createClusterAsync( + String parent, String clusterId, Cluster cluster) { + CreateClusterRequest request = + CreateClusterRequest.newBuilder() + .setParent(parent) + .setClusterId(clusterId) + .setCluster(cluster) + .build(); + return createClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.createClusterAsync(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 createClusterAsync( + CreateClusterRequest request) { + return createClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createClusterOperationCallable() { + return stub.createClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a cluster within an instance. + * + *

Note that exactly one of Cluster.serve_nodes and + * Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to + * non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is + * non-empty, then autoscaling is enabled. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateClusterRequest request =
+   *       CreateClusterRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setClusterId("clusterId561939637")
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createClusterCallable() { + return stub.createClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(ClusterName name) { + GetClusterRequest request = + GetClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested cluster. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Cluster getCluster(String name) { + GetClusterRequest request = GetClusterRequest.newBuilder().setName(name).build(); + return getCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.getCluster(request);
+   * }
+   * }
+ * + * @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 Cluster getCluster(GetClusterRequest request) { + return getClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about a cluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetClusterRequest request =
+   *       GetClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getClusterCallable() { + return stub.getClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(InstanceName parent) { + ListClustersRequest request = + ListClustersRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(parent);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of clusters is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list Clusters for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListClustersResponse listClusters(String parent) { + ListClustersRequest request = ListClustersRequest.newBuilder().setParent(parent).build(); + return listClusters(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ListClustersResponse response = baseBigtableInstanceAdminClient.listClusters(request);
+   * }
+   * }
+ * + * @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 ListClustersResponse listClusters(ListClustersRequest request) { + return listClustersCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about clusters in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListClustersRequest request =
+   *       ListClustersRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listClustersCallable().futureCall(request);
+   *   // Do something.
+   *   ListClustersResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable listClustersCallable() { + return stub.listClustersCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.updateClusterAsync(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 updateClusterAsync(Cluster request) { + return updateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateClusterOperationCallable() { + return stub.updateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a cluster within an instance. + * + *

Note that UpdateCluster does not support updating cluster_config.cluster_autoscaling_config. + * In order to update it, you must use PartialUpdateCluster. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster request =
+   *       Cluster.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+   *           .setServeNodes(-1288838783)
+   *           .setDefaultStorageType(StorageType.forNumber(0))
+   *           .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateClusterCallable() { + return stub.updateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   Cluster cluster = Cluster.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Cluster response =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterAsync(cluster, updateMask).get();
+   * }
+   * }
+ * + * @param cluster Required. The Cluster which contains the partial updates to be applied, subject + * to the update_mask. + * @param updateMask Required. The subset of Cluster fields which should be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture partialUpdateClusterAsync( + Cluster cluster, FieldMask updateMask) { + PartialUpdateClusterRequest request = + PartialUpdateClusterRequest.newBuilder() + .setCluster(cluster) + .setUpdateMask(updateMask) + .build(); + return partialUpdateClusterAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Cluster response = baseBigtableInstanceAdminClient.partialUpdateClusterAsync(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 partialUpdateClusterAsync( + PartialUpdateClusterRequest request) { + return partialUpdateClusterOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient
+   *           .partialUpdateClusterOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Cluster response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + partialUpdateClusterOperationCallable() { + return stub.partialUpdateClusterOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Partially updates a cluster within a project. This method is the preferred way to update a + * Cluster. + * + *

To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When + * autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to + * it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and + * cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the + * update_mask. + * + *

To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set + * a serve_node count via the update_mask. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   PartialUpdateClusterRequest request =
+   *       PartialUpdateClusterRequest.newBuilder()
+   *           .setCluster(Cluster.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.partialUpdateClusterCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + partialUpdateClusterCallable() { + return stub.partialUpdateClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(ClusterName name) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   baseBigtableInstanceAdminClient.deleteCluster(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the cluster to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteCluster(request);
+   * }
+   * }
+ * + * @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 void deleteCluster(DeleteClusterRequest request) { + deleteClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a cluster from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteClusterRequest request =
+   *       DeleteClusterRequest.newBuilder()
+   *           .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteClusterCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteClusterCallable() { + return stub.deleteClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + InstanceName parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.createAppProfile(parent, appProfileId, appProfile);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the new app profile. + * Values are of the form `projects/{project}/instances/{instance}`. + * @param appProfileId Required. The ID to be used when referring to the new app profile within + * its instance, e.g., just `myprofile` rather than + * `projects/myproject/instances/myinstance/appProfiles/myprofile`. + * @param appProfile Required. The app profile to be created. Fields marked `OutputOnly` will be + * ignored. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile createAppProfile( + String parent, String appProfileId, AppProfile appProfile) { + CreateAppProfileRequest request = + CreateAppProfileRequest.newBuilder() + .setParent(parent) + .setAppProfileId(appProfileId) + .setAppProfile(appProfile) + .build(); + return createAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.createAppProfile(request);
+   * }
+   * }
+ * + * @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 AppProfile createAppProfile(CreateAppProfileRequest request) { + return createAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   CreateAppProfileRequest request =
+   *       CreateAppProfileRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.createAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createAppProfileCallable() { + return stub.createAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(AppProfileName name) { + GetAppProfileRequest request = + GetAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested app profile. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AppProfile getAppProfile(String name) { + GetAppProfileRequest request = GetAppProfileRequest.newBuilder().setName(name).build(); + return getAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.getAppProfile(request);
+   * }
+   * }
+ * + * @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 AppProfile getAppProfile(GetAppProfileRequest request) { + return getAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets information about an app profile. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetAppProfileRequest request =
+   *       GetAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getAppProfileCallable() { + return stub.getAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(InstanceName parent) { + ListAppProfilesRequest request = + ListAppProfilesRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which a list of app profiles is + * requested. Values are of the form `projects/{project}/instances/{instance}`. Use + * `{instance} = '-'` to list AppProfiles for all Instances in a project, e.g., + * `projects/myproject/instances/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListAppProfilesPagedResponse listAppProfiles(String parent) { + ListAppProfilesRequest request = ListAppProfilesRequest.newBuilder().setParent(parent).build(); + return listAppProfiles(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (AppProfile element :
+   *       baseBigtableInstanceAdminClient.listAppProfiles(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListAppProfilesPagedResponse listAppProfiles(ListAppProfilesRequest request) { + return listAppProfilesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listAppProfilesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (AppProfile element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesPagedCallable() { + return stub.listAppProfilesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists information about app profiles in an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListAppProfilesRequest request =
+   *       ListAppProfilesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListAppProfilesResponse response =
+   *         baseBigtableInstanceAdminClient.listAppProfilesCallable().call(request);
+   *     for (AppProfile element : response.getAppProfilesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listAppProfilesCallable() { + return stub.listAppProfilesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfile appProfile = AppProfile.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   AppProfile response =
+   *       baseBigtableInstanceAdminClient.updateAppProfileAsync(appProfile, updateMask).get();
+   * }
+   * }
+ * + * @param appProfile Required. The app profile which will (partially) replace the current value. + * @param updateMask Required. The subset of app profile fields which should be replaced. If + * unset, all fields will be replaced. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateAppProfileAsync( + AppProfile appProfile, FieldMask updateMask) { + UpdateAppProfileRequest request = + UpdateAppProfileRequest.newBuilder() + .setAppProfile(appProfile) + .setUpdateMask(updateMask) + .build(); + return updateAppProfileAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   AppProfile response = baseBigtableInstanceAdminClient.updateAppProfileAsync(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 updateAppProfileAsync( + UpdateAppProfileRequest request) { + return updateAppProfileOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileOperationCallable().futureCall(request);
+   *   // Do something.
+   *   AppProfile response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateAppProfileOperationCallable() { + return stub.updateAppProfileOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates an app profile within an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   UpdateAppProfileRequest request =
+   *       UpdateAppProfileRequest.newBuilder()
+   *           .setAppProfile(AppProfile.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.updateAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateAppProfileCallable() { + return stub.updateAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]");
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(AppProfileName name) { + DeleteAppProfileRequest request = + DeleteAppProfileRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the app profile to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteAppProfile(String name) { + DeleteAppProfileRequest request = DeleteAppProfileRequest.newBuilder().setName(name).build(); + deleteAppProfile(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   baseBigtableInstanceAdminClient.deleteAppProfile(request);
+   * }
+   * }
+ * + * @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 void deleteAppProfile(DeleteAppProfileRequest request) { + deleteAppProfileCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an app profile from an instance. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   DeleteAppProfileRequest request =
+   *       DeleteAppProfileRequest.newBuilder()
+   *           .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString())
+   *           .setIgnoreWarnings(true)
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.deleteAppProfileCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteAppProfileCallable() { + return stub.deleteAppProfileCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets the access control policy for an instance resource. Returns an empty policy if an instance + * exists but does not have a policy set. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableInstanceAdminClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on an instance resource. Replaces any existing policy. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + ResourceName resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + String resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableInstanceAdminClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @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 TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified instance resource. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(ClusterName parent) { + ListHotTabletsRequest request = + ListHotTabletsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   String parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster name to list hot tablets. Value is in the following form: + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListHotTabletsPagedResponse listHotTablets(String parent) { + ListHotTabletsRequest request = ListHotTabletsRequest.newBuilder().setParent(parent).build(); + return listHotTablets(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (HotTablet element :
+   *       baseBigtableInstanceAdminClient.listHotTablets(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListHotTabletsPagedResponse listHotTablets(ListHotTabletsRequest request) { + return listHotTabletsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableInstanceAdminClient.listHotTabletsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (HotTablet element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listHotTabletsPagedCallable() { + return stub.listHotTabletsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists hot tablets in a cluster, within the time range provided. Hot tablets are ordered based + * on CPU usage. + * + *

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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+   *     BaseBigtableInstanceAdminClient.create()) {
+   *   ListHotTabletsRequest request =
+   *       ListHotTabletsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setStartTime(Timestamp.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListHotTabletsResponse response =
+   *         baseBigtableInstanceAdminClient.listHotTabletsCallable().call(request);
+   *     for (HotTablet element : response.getHotTabletsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listHotTabletsCallable() { + return stub.listHotTabletsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListAppProfilesPagedResponse + extends AbstractPagedListResponse< + ListAppProfilesRequest, + ListAppProfilesResponse, + AppProfile, + ListAppProfilesPage, + ListAppProfilesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListAppProfilesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListAppProfilesPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListAppProfilesPagedResponse(ListAppProfilesPage page) { + super(page, ListAppProfilesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListAppProfilesPage + extends AbstractPage< + ListAppProfilesRequest, ListAppProfilesResponse, AppProfile, ListAppProfilesPage> { + + private ListAppProfilesPage( + PageContext context, + ListAppProfilesResponse response) { + super(context, response); + } + + private static ListAppProfilesPage createEmptyPage() { + return new ListAppProfilesPage(null, null); + } + + @Override + protected ListAppProfilesPage createPage( + PageContext context, + ListAppProfilesResponse response) { + return new ListAppProfilesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListAppProfilesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListAppProfilesRequest, + ListAppProfilesResponse, + AppProfile, + ListAppProfilesPage, + ListAppProfilesFixedSizeCollection> { + + private ListAppProfilesFixedSizeCollection( + List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListAppProfilesFixedSizeCollection createEmptyCollection() { + return new ListAppProfilesFixedSizeCollection(null, 0); + } + + @Override + protected ListAppProfilesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListAppProfilesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListHotTabletsPagedResponse + extends AbstractPagedListResponse< + ListHotTabletsRequest, + ListHotTabletsResponse, + HotTablet, + ListHotTabletsPage, + ListHotTabletsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListHotTabletsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListHotTabletsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListHotTabletsPagedResponse(ListHotTabletsPage page) { + super(page, ListHotTabletsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListHotTabletsPage + extends AbstractPage< + ListHotTabletsRequest, ListHotTabletsResponse, HotTablet, ListHotTabletsPage> { + + private ListHotTabletsPage( + PageContext context, + ListHotTabletsResponse response) { + super(context, response); + } + + private static ListHotTabletsPage createEmptyPage() { + return new ListHotTabletsPage(null, null); + } + + @Override + protected ListHotTabletsPage createPage( + PageContext context, + ListHotTabletsResponse response) { + return new ListHotTabletsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListHotTabletsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListHotTabletsRequest, + ListHotTabletsResponse, + HotTablet, + ListHotTabletsPage, + ListHotTabletsFixedSizeCollection> { + + private ListHotTabletsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListHotTabletsFixedSizeCollection createEmptyCollection() { + return new ListHotTabletsFixedSizeCollection(null, 0); + } + + @Override + protected ListHotTabletsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListHotTabletsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java new file mode 100644 index 0000000000..643c7813bf --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminSettings.java @@ -0,0 +1,527 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BaseBigtableInstanceAdminClient}. + * + *

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 getInstance 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
+ * BaseBigtableInstanceAdminSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
+ *     BaseBigtableInstanceAdminSettings.newBuilder();
+ * baseBigtableInstanceAdminSettingsBuilder
+ *     .getInstanceSettings()
+ *     .setRetrySettings(
+ *         baseBigtableInstanceAdminSettingsBuilder
+ *             .getInstanceSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableInstanceAdminSettings baseBigtableInstanceAdminSettings =
+ *     baseBigtableInstanceAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to createInstance. */ + public UnaryCallSettings createInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createInstanceSettings(); + } + + /** Returns the object with the settings used for calls to createInstance. */ + public OperationCallSettings + createInstanceOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .createInstanceOperationSettings(); + } + + /** Returns the object with the settings used for calls to getInstance. */ + public UnaryCallSettings getInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getInstanceSettings(); + } + + /** Returns the object with the settings used for calls to listInstances. */ + public UnaryCallSettings listInstancesSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listInstancesSettings(); + } + + /** Returns the object with the settings used for calls to updateInstance. */ + public UnaryCallSettings updateInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateInstanceSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings + partialUpdateInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).partialUpdateInstanceSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings + partialUpdateInstanceOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .partialUpdateInstanceOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteInstance. */ + public UnaryCallSettings deleteInstanceSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteInstanceSettings(); + } + + /** Returns the object with the settings used for calls to createCluster. */ + public UnaryCallSettings createClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createClusterSettings(); + } + + /** Returns the object with the settings used for calls to createCluster. */ + public OperationCallSettings + createClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to getCluster. */ + public UnaryCallSettings getClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getClusterSettings(); + } + + /** Returns the object with the settings used for calls to listClusters. */ + public UnaryCallSettings listClustersSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listClustersSettings(); + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public UnaryCallSettings updateClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateClusterSettings(); + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public OperationCallSettings + updateClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings partialUpdateClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).partialUpdateClusterSettings(); + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings + partialUpdateClusterOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .partialUpdateClusterOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteCluster. */ + public UnaryCallSettings deleteClusterSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteClusterSettings(); + } + + /** Returns the object with the settings used for calls to createAppProfile. */ + public UnaryCallSettings createAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).createAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to getAppProfile. */ + public UnaryCallSettings getAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to listAppProfiles. */ + public PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listAppProfilesSettings(); + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public UnaryCallSettings updateAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).updateAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public OperationCallSettings + updateAppProfileOperationSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()) + .updateAppProfileOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings deleteAppProfileSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).deleteAppProfileSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + /** Returns the object with the settings used for calls to listHotTablets. */ + public PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return ((BigtableInstanceAdminStubSettings) getStubSettings()).listHotTabletsSettings(); + } + + public static final BaseBigtableInstanceAdminSettings create( + BigtableInstanceAdminStubSettings stub) throws IOException { + return new BaseBigtableInstanceAdminSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableInstanceAdminStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableInstanceAdminStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableInstanceAdminStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableInstanceAdminStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableInstanceAdminSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableInstanceAdminSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableInstanceAdminStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableInstanceAdminSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableInstanceAdminStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableInstanceAdminStubSettings.newBuilder()); + } + + public BigtableInstanceAdminStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableInstanceAdminStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return getStubSettingsBuilder().createInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return getStubSettingsBuilder().createInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getStubSettingsBuilder().getInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return getStubSettingsBuilder().listInstancesSettings(); + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return getStubSettingsBuilder().updateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return getStubSettingsBuilder().partialUpdateInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return getStubSettingsBuilder().partialUpdateInstanceOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return getStubSettingsBuilder().deleteInstanceSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return getStubSettingsBuilder().createClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public OperationCallSettings.Builder + createClusterOperationSettings() { + return getStubSettingsBuilder().createClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getStubSettingsBuilder().getClusterSettings(); + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return getStubSettingsBuilder().listClustersSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return getStubSettingsBuilder().updateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return getStubSettingsBuilder().updateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return getStubSettingsBuilder().partialUpdateClusterSettings(); + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return getStubSettingsBuilder().partialUpdateClusterOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return getStubSettingsBuilder().deleteClusterSettings(); + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return getStubSettingsBuilder().createAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getStubSettingsBuilder().getAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return getStubSettingsBuilder().listAppProfilesSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return getStubSettingsBuilder().updateAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return getStubSettingsBuilder().updateAppProfileOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return getStubSettingsBuilder().deleteAppProfileSettings(); + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getStubSettingsBuilder().getIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return getStubSettingsBuilder().listHotTabletsSettings(); + } + + @Override + public BaseBigtableInstanceAdminSettings build() throws IOException { + return new BaseBigtableInstanceAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java new file mode 100644 index 0000000000..b9b024c3b4 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClient.java @@ -0,0 +1,4467 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BackupName; +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; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotName; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.TableName; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStub; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.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. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminClient implements BackgroundResource { + private final BaseBigtableTableAdminSettings settings; + private final BigtableTableAdminStub stub; + private final OperationsClient operationsClient; + + /** Constructs an instance of BaseBigtableTableAdminClient with default settings. */ + public static final BaseBigtableTableAdminClient create() throws IOException { + return create(BaseBigtableTableAdminSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given settings. The channels + * are created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final BaseBigtableTableAdminClient create(BaseBigtableTableAdminSettings settings) + throws IOException { + return new BaseBigtableTableAdminClient(settings); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(BaseBigtableTableAdminSettings). + */ + public static final BaseBigtableTableAdminClient create(BigtableTableAdminStub stub) { + return new BaseBigtableTableAdminClient(stub); + } + + /** + * Constructs an instance of BaseBigtableTableAdminClient, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected BaseBigtableTableAdminClient(BaseBigtableTableAdminSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((BigtableTableAdminStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + protected BaseBigtableTableAdminClient(BigtableTableAdminStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + } + + public final BaseBigtableTableAdminSettings getSettings() { + return settings; + } + + public BigtableTableAdminStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getOperationsClient() { + return operationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   Table table = Table.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId 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. + * @param table Required. The Table to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table createTable(InstanceName parent, String tableId, Table table) { + CreateTableRequest request = + CreateTableRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setTable(table) + .build(); + return createTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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 = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   Table table = Table.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.createTable(parent, tableId, table);
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId 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. + * @param table Required. The Table to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table createTable(String parent, String tableId, Table table) { + CreateTableRequest request = + CreateTableRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setTable(table) + .build(); + return createTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   CreateTableRequest request =
+   *       CreateTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setTable(Table.newBuilder().build())
+   *           .addAllInitialSplits(new ArrayList())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.createTable(request);
+   * }
+   * }
+ * + * @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 Table createTable(CreateTableRequest request) { + return createTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   CreateTableRequest request =
+   *       CreateTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setTable(Table.newBuilder().build())
+   *           .addAllInitialSplits(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createTableCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+   */
+  public final UnaryCallable createTableCallable() {
+    return stub.createTableCallable();
+  }
+
+  // AUTO-GENERATED DOCUMENTATION AND METHOD.
+  /**
+   * 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.
+   *
+   * 

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   SnapshotName sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + InstanceName parent, String tableId, SnapshotName sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot == null ? null : sourceSnapshot.toString()) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String tableId = "tableId-1552905847";
+   *   String sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + InstanceName parent, String tableId, String sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   SnapshotName sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + String parent, String tableId, SnapshotName sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot == null ? null : sourceSnapshot.toString()) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String tableId = "tableId-1552905847";
+   *   String sourceSnapshot =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Table response =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotAsync(parent, tableId, sourceSnapshot)
+   *           .get();
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance in which to create the table. Values + * are of the form `projects/{project}/instances/{instance}`. + * @param tableId Required. The name by which the new table should be referred to within the + * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + * @param sourceSnapshot 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createTableFromSnapshotAsync( + String parent, String tableId, String sourceSnapshot) { + CreateTableFromSnapshotRequest request = + CreateTableFromSnapshotRequest.newBuilder() + .setParent(parent) + .setTableId(tableId) + .setSourceSnapshot(sourceSnapshot) + .build(); + return createTableFromSnapshotAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.createTableFromSnapshotAsync(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 createTableFromSnapshotAsync( + CreateTableFromSnapshotRequest request) { + return createTableFromSnapshotOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient
+   *           .createTableFromSnapshotOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationCallable() { + return stub.createTableFromSnapshotOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   CreateTableFromSnapshotRequest request =
+   *       CreateTableFromSnapshotRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .setSourceSnapshot(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createTableFromSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + createTableFromSnapshotCallable() { + return stub.createTableFromSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

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()) {
+   *   InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   for (Table element : baseBigtableTableAdminClient.listTables(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListTablesPagedResponse listTables(InstanceName parent) { + ListTablesRequest request = + ListTablesRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build(); + return listTables(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

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 = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   for (Table element : baseBigtableTableAdminClient.listTables(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The unique name of the instance for which tables should be listed. + * Values are of the form `projects/{project}/instances/{instance}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListTablesPagedResponse listTables(String parent) { + ListTablesRequest request = ListTablesRequest.newBuilder().setParent(parent).build(); + return listTables(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

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()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Table element : baseBigtableTableAdminClient.listTables(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListTablesPagedResponse listTables(ListTablesRequest request) { + return listTablesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

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()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture
future = + * baseBigtableTableAdminClient.listTablesPagedCallable().futureCall(request); + * // Do something. + * for (Table element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * } + */ + public final UnaryCallable listTablesPagedCallable() { + return stub.listTablesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all tables served from a specified instance. + * + *

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()) {
+   *   ListTablesRequest request =
+   *       ListTablesRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListTablesResponse response =
+   *         baseBigtableTableAdminClient.listTablesCallable().call(request);
+   *     for (Table element : response.getTablesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listTablesCallable() { + return stub.listTablesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   Table response = baseBigtableTableAdminClient.getTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table getTable(TableName name) { + GetTableRequest request = + GetTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   Table response = baseBigtableTableAdminClient.getTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested table. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table getTable(String name) { + GetTableRequest request = GetTableRequest.newBuilder().setName(name).build(); + return getTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

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()) {
+   *   GetTableRequest request =
+   *       GetTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.getTable(request);
+   * }
+   * }
+ * + * @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 Table getTable(GetTableRequest request) { + return getTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified table. + * + *

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()) {
+   *   GetTableRequest request =
+   *       GetTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture
future = baseBigtableTableAdminClient.getTableCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final UnaryCallable getTableCallable() { + return stub.getTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

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()) {
+   *   Table table = Table.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Table response = baseBigtableTableAdminClient.updateTableAsync(table, updateMask).get();
+   * }
+   * }
+ * + * @param table Required. The table to update. The table's `name` field is used to identify the + * table to update. + * @param updateMask Required. The list of fields to update. A mask specifying which fields (e.g. + * `change_stream_config`) in the `table` field should be updated. This mask is relative to + * the `table` field, not to the request message. The wildcard (*) path is currently not + * supported. Currently UpdateTable is only supported for the following fields: + *
    + *
  • `change_stream_config` + *
  • `change_stream_config.retention_period` + *
  • `deletion_protection` + *
+ *

If `column_families` is set in `update_mask`, it will return an UNIMPLEMENTED error. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture updateTableAsync( + Table table, FieldMask updateMask) { + UpdateTableRequest request = + UpdateTableRequest.newBuilder().setTable(table).setUpdateMask(updateMask).build(); + return updateTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

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()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.updateTableAsync(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 updateTableAsync( + UpdateTableRequest request) { + return updateTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

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()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.updateTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + updateTableOperationCallable() { + return stub.updateTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a specified table. + * + *

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()) {
+   *   UpdateTableRequest request =
+   *       UpdateTableRequest.newBuilder()
+   *           .setTable(Table.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateTableCallable() { + return stub.updateTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(TableName name) { + DeleteTableRequest request = + DeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   baseBigtableTableAdminClient.deleteTable(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteTable(String name) { + DeleteTableRequest request = DeleteTableRequest.newBuilder().setName(name).build(); + deleteTable(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

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()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteTable(request);
+   * }
+   * }
+ * + * @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 void deleteTable(DeleteTableRequest request) { + deleteTableCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes a specified table and all of its data. + * + *

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()) {
+   *   DeleteTableRequest request =
+   *       DeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteTableCallable() { + return stub.deleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(TableName name) { + UndeleteTableRequest request = + UndeleteTableRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(name).get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to be restored. Values are of the form + * `projects/{project}/instances/{instance}/tables/{table}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture undeleteTableAsync(String name) { + UndeleteTableRequest request = UndeleteTableRequest.newBuilder().setName(name).build(); + return undeleteTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

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()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.undeleteTableAsync(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 undeleteTableAsync( + UndeleteTableRequest request) { + return undeleteTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

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()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + undeleteTableOperationCallable() { + return stub.undeleteTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Restores a specified table which was accidentally deleted. + * + *

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()) {
+   *   UndeleteTableRequest request =
+   *       UndeleteTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.undeleteTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable undeleteTableCallable() { + return stub.undeleteTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications 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). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + TableName name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   List modifications = new ArrayList<>();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(name, modifications);
+   * }
+   * }
+ * + * @param name Required. The unique name of the table whose families should be modified. Values + * are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param modifications 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). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Table modifyColumnFamilies( + String name, List modifications) { + ModifyColumnFamiliesRequest request = + ModifyColumnFamiliesRequest.newBuilder() + .setName(name) + .addAllModifications(modifications) + .build(); + return modifyColumnFamilies(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

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()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.modifyColumnFamilies(request);
+   * }
+   * }
+ * + * @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 Table modifyColumnFamilies(ModifyColumnFamiliesRequest request) { + return modifyColumnFamiliesCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Performs a series of column family modifications on the specified table. Either all or none of + * the modifications will occur before this method returns, but data requests received prior to + * that point may see a table where only some modifications have taken effect. + * + *

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()) {
+   *   ModifyColumnFamiliesRequest request =
+   *       ModifyColumnFamiliesRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .addAllModifications(new ArrayList())
+   *           .build();
+   *   ApiFuture
future = + * baseBigtableTableAdminClient.modifyColumnFamiliesCallable().futureCall(request); + * // Do something. + * Table response = future.get(); + * } + * } + */ + public final UnaryCallable modifyColumnFamiliesCallable() { + return stub.modifyColumnFamiliesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.dropRowRange(request);
+   * }
+   * }
+ * + * @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 void dropRowRange(DropRowRangeRequest request) { + dropRowRangeCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   DropRowRangeRequest request =
+   *       DropRowRangeRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.dropRowRangeCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable dropRowRangeCallable() { + return stub.dropRowRangeCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in 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. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(TableName name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in 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. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(name);
+   * }
+   * }
+ * + * @param name 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}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final GenerateConsistencyTokenResponse generateConsistencyToken(String name) { + GenerateConsistencyTokenRequest request = + GenerateConsistencyTokenRequest.newBuilder().setName(name).build(); + return generateConsistencyToken(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in 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. + * + *

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()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   GenerateConsistencyTokenResponse response =
+   *       baseBigtableTableAdminClient.generateConsistencyToken(request);
+   * }
+   * }
+ * + * @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 GenerateConsistencyTokenResponse generateConsistencyToken( + GenerateConsistencyTokenRequest request) { + return generateConsistencyTokenCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Generates a consistency token for a Table, which can be used in 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. + * + *

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()) {
+   *   GenerateConsistencyTokenRequest request =
+   *       GenerateConsistencyTokenRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.generateConsistencyTokenCallable().futureCall(request);
+   *   // Do something.
+   *   GenerateConsistencyTokenResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + generateConsistencyTokenCallable() { + return stub.generateConsistencyTokenCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(TableName name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String consistencyToken = "consistencyToken-1985152319";
+   *   CheckConsistencyResponse response =
+   *       baseBigtableTableAdminClient.checkConsistency(name, consistencyToken);
+   * }
+   * }
+ * + * @param name Required. The unique name of the Table for which to check replication consistency. + * Values are of the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param consistencyToken Required. The token created using GenerateConsistencyToken for the + * Table. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckConsistencyResponse checkConsistency(String name, String consistencyToken) { + CheckConsistencyRequest request = + CheckConsistencyRequest.newBuilder() + .setName(name) + .setConsistencyToken(consistencyToken) + .build(); + return checkConsistency(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   CheckConsistencyResponse response = baseBigtableTableAdminClient.checkConsistency(request);
+   * }
+   * }
+ * + * @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 CheckConsistencyResponse checkConsistency(CheckConsistencyRequest request) { + return checkConsistencyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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. + * + *

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()) {
+   *   CheckConsistencyRequest request =
+   *       CheckConsistencyRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setConsistencyToken("consistencyToken-1985152319")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.checkConsistencyCallable().futureCall(request);
+   *   // Do something.
+   *   CheckConsistencyResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkConsistencyCallable() { + return stub.checkConsistencyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId 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`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId 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`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + TableName name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]");
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId 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`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, ClusterName cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster == null ? null : cluster.toString()) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   String cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString();
+   *   String snapshotId = "snapshotId-1113817601";
+   *   String description = "description-1724546052";
+   *   Snapshot response =
+   *       baseBigtableTableAdminClient
+   *           .snapshotTableAsync(name, cluster, snapshotId, description)
+   *           .get();
+   * }
+   * }
+ * + * @param name Required. The unique name of the table to have the snapshot taken. Values are of + * the form `projects/{project}/instances/{instance}/tables/{table}`. + * @param cluster Required. The name of the cluster where the snapshot will be created in. Values + * are of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param snapshotId 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`. + * @param description Description of the snapshot. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture snapshotTableAsync( + String name, String cluster, String snapshotId, String description) { + SnapshotTableRequest request = + SnapshotTableRequest.newBuilder() + .setName(name) + .setCluster(cluster) + .setSnapshotId(snapshotId) + .setDescription(description) + .build(); + return snapshotTableAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.snapshotTableAsync(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 snapshotTableAsync( + SnapshotTableRequest request) { + return snapshotTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + snapshotTableOperationCallable() { + return stub.snapshotTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new snapshot in the specified cluster from the specified source table. The cluster + * and the table must be in the same instance. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   SnapshotTableRequest request =
+   *       SnapshotTableRequest.newBuilder()
+   *           .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setCluster(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setSnapshotId("snapshotId-1113817601")
+   *           .setTtl(Duration.newBuilder().build())
+   *           .setDescription("description-1724546052")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.snapshotTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable snapshotTableCallable() { + return stub.snapshotTableCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(SnapshotName name) { + GetSnapshotRequest request = + GetSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the requested snapshot. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Snapshot getSnapshot(String name) { + GetSnapshotRequest request = GetSnapshotRequest.newBuilder().setName(name).build(); + return getSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   Snapshot response = baseBigtableTableAdminClient.getSnapshot(request);
+   * }
+   * }
+ * + * @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 Snapshot getSnapshot(GetSnapshotRequest request) { + return getSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata information about the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   GetSnapshotRequest request =
+   *       GetSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   Snapshot response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getSnapshotCallable() { + return stub.getSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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]");
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent 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/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(ClusterName parent) { + ListSnapshotsRequest request = + ListSnapshotsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent 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/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListSnapshotsPagedResponse listSnapshots(String parent) { + ListSnapshotsRequest request = ListSnapshotsRequest.newBuilder().setParent(parent).build(); + return listSnapshots(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Snapshot element : baseBigtableTableAdminClient.listSnapshots(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListSnapshotsPagedResponse listSnapshots(ListSnapshotsRequest request) { + return listSnapshotsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listSnapshotsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Snapshot element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listSnapshotsPagedCallable() { + return stub.listSnapshotsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all snapshots associated with the specified cluster. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   ListSnapshotsRequest request =
+   *       ListSnapshotsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListSnapshotsResponse response =
+   *         baseBigtableTableAdminClient.listSnapshotsCallable().call(request);
+   *     for (Snapshot element : response.getSnapshotsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listSnapshotsCallable() { + return stub.listSnapshotsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]");
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(SnapshotName name) { + DeleteSnapshotRequest request = + DeleteSnapshotRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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 name =
+   *       SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString();
+   *   baseBigtableTableAdminClient.deleteSnapshot(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the snapshot to be deleted. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteSnapshot(String name) { + DeleteSnapshotRequest request = DeleteSnapshotRequest.newBuilder().setName(name).build(); + deleteSnapshot(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteSnapshot(request);
+   * }
+   * }
+ * + * @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 void deleteSnapshot(DeleteSnapshotRequest request) { + deleteSnapshotCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Permanently deletes the specified snapshot. + * + *

Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not + * currently available to most Cloud Bigtable customers. This 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. + * + *

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()) {
+   *   DeleteSnapshotRequest request =
+   *       DeleteSnapshotRequest.newBuilder()
+   *           .setName(
+   *               SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteSnapshotCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteSnapshotCallable() { + return stub.deleteSnapshotCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [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. + * + *

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";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent 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 of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `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 backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + ClusterName parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [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. + * + *

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";
+   *   Backup backup = Backup.newBuilder().build();
+   *   Backup response =
+   *       baseBigtableTableAdminClient.createBackupAsync(parent, backupId, backup).get();
+   * }
+   * }
+ * + * @param parent 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 of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. + * @param backupId Required. The id of the backup to be created. The `backup_id` along with the + * parent `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 backup Required. The backup to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createBackupAsync( + String parent, String backupId, Backup backup) { + CreateBackupRequest request = + CreateBackupRequest.newBuilder() + .setParent(parent) + .setBackupId(backupId) + .setBackup(backup) + .build(); + return createBackupAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [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. + * + *

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()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.createBackupAsync(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 createBackupAsync( + CreateBackupRequest request) { + return createBackupOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [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. + * + *

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()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.createBackupOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createBackupOperationCallable() { + return stub.createBackupOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Starts creating a new Cloud Bigtable Backup. The returned backup [long-running + * operation][google.longrunning.Operation] can be used to track creation of the backup. The + * [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. + * + *

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()) {
+   *   CreateBackupRequest request =
+   *       CreateBackupRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setBackupId("backupId2121930365")
+   *           .setBackup(Backup.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.createBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createBackupCallable() { + return stub.createBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(BackupName name) { + GetBackupRequest request = + GetBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

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 name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup getBackup(String name) { + GetBackupRequest request = GetBackupRequest.newBuilder().setName(name).build(); + return getBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.getBackup(request);
+   * }
+   * }
+ * + * @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 Backup getBackup(GetBackupRequest request) { + return getBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets metadata on a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   GetBackupRequest request =
+   *       GetBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getBackupCallable() { + return stub.getBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   Backup backup = Backup.newBuilder().build();
+   *   FieldMask updateMask = FieldMask.newBuilder().build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(backup, updateMask);
+   * }
+   * }
+ * + * @param backup Required. The backup to update. `backup.name`, and the fields to be updated as + * specified by `update_mask` are required. Other fields are ignored. Update is only supported + * for the following fields: + *

* `backup.expire_time`. + * @param updateMask Required. A mask specifying which fields (e.g. `expire_time`) in the Backup + * resource should be updated. This mask is relative to the Backup 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. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Backup updateBackup(Backup backup, FieldMask updateMask) { + UpdateBackupRequest request = + UpdateBackupRequest.newBuilder().setBackup(backup).setUpdateMask(updateMask).build(); + return updateBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Backup response = baseBigtableTableAdminClient.updateBackup(request);
+   * }
+   * }
+ * + * @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 Backup updateBackup(UpdateBackupRequest request) { + return updateBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Updates a pending or completed Cloud Bigtable Backup. + * + *

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()) {
+   *   UpdateBackupRequest request =
+   *       UpdateBackupRequest.newBuilder()
+   *           .setBackup(Backup.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.updateBackupCallable().futureCall(request);
+   *   // Do something.
+   *   Backup response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable updateBackupCallable() { + return stub.updateBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

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()) {
+   *   BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(BackupName name) { + DeleteBackupRequest request = + DeleteBackupRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

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 name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString();
+   *   baseBigtableTableAdminClient.deleteBackup(name);
+   * }
+   * }
+ * + * @param name Required. Name of the backup to delete. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final void deleteBackup(String name) { + DeleteBackupRequest request = DeleteBackupRequest.newBuilder().setName(name).build(); + deleteBackup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

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()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   baseBigtableTableAdminClient.deleteBackup(request);
+   * }
+   * }
+ * + * @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 void deleteBackup(DeleteBackupRequest request) { + deleteBackupCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a pending or completed Cloud Bigtable backup. + * + *

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()) {
+   *   DeleteBackupRequest request =
+   *       DeleteBackupRequest.newBuilder()
+   *           .setName(BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.deleteBackupCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteBackupCallable() { + return stub.deleteBackupCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

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]");
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(ClusterName parent) { + ListBackupsRequest request = + ListBackupsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

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();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(parent).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param parent Required. The cluster to list backups from. Values are of the form + * `projects/{project}/instances/{instance}/clusters/{cluster}`. Use `{cluster} = '-'` to list + * backups for all clusters in an instance, e.g., + * `projects/{project}/instances/{instance}/clusters/-`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListBackupsPagedResponse listBackups(String parent) { + ListBackupsRequest request = ListBackupsRequest.newBuilder().setParent(parent).build(); + return listBackups(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

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()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Backup element : baseBigtableTableAdminClient.listBackups(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @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 ListBackupsPagedResponse listBackups(ListBackupsRequest request) { + return listBackupsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

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()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.listBackupsPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Backup element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listBackupsPagedCallable() { + return stub.listBackupsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists Cloud Bigtable backups. Returns both completed and pending backups. + * + *

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()) {
+   *   ListBackupsRequest request =
+   *       ListBackupsRequest.newBuilder()
+   *           .setParent(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString())
+   *           .setFilter("filter-1274492040")
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListBackupsResponse response =
+   *         baseBigtableTableAdminClient.listBackupsCallable().call(request);
+   *     for (Backup element : response.getBackupsList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listBackupsCallable() { + return stub.listBackupsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

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()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   Table response = baseBigtableTableAdminClient.restoreTableAsync(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 restoreTableAsync( + RestoreTableRequest request) { + return restoreTableOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

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()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   OperationFuture future =
+   *       baseBigtableTableAdminClient.restoreTableOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Table response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + restoreTableOperationCallable() { + return stub.restoreTableOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Create a new table by restoring from a completed backup. The returned table [long-running + * operation][google.longrunning.Operation] can be used to track the progress of the operation, + * and to cancel it. The [metadata][google.longrunning.Operation.metadata] field type is + * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The + * [response][google.longrunning.Operation.response] type is + * [Table][google.bigtable.admin.v2.Table], if successful. + * + *

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()) {
+   *   RestoreTableRequest request =
+   *       RestoreTableRequest.newBuilder()
+   *           .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setTableId("tableId-1552905847")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.restoreTableCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable restoreTableCallable() { + return stub.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 exists. 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 exists. 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 exists. 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 exists. 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 or Backup resource. Returns an empty policy if the + * resource exists but does not have a policy set. + * + *

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()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(ResourceName resource) { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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: + * + *

{@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 resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(resource);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being requested. See the + * operation documentation for the appropriate value for this field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy getIamPolicy(String resource) { + GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder().setResource(resource).build(); + return getIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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: + * + *

{@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()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableTableAdminClient.getIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy getIamPolicy(GetIamPolicyRequest request) { + return getIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * 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: + * + *

{@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()) {
+   *   GetIamPolicyRequest request =
+   *       GetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setOptions(GetPolicyOptions.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

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()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(ResourceName resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .setPolicy(policy) + .build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

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 resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   Policy policy = Policy.newBuilder().build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(resource, policy);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy is being specified. See the + * operation documentation for the appropriate value for this field. + * @param policy REQUIRED: The complete policy to be applied to the `resource`. The size of the + * policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud + * Platform services (such as Projects) might reject them. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Policy setIamPolicy(String resource, Policy policy) { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder().setResource(resource).setPolicy(policy).build(); + return setIamPolicy(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

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()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   Policy response = baseBigtableTableAdminClient.setIamPolicy(request);
+   * }
+   * }
+ * + * @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 Policy setIamPolicy(SetIamPolicyRequest request) { + return setIamPolicyCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on a Table or Backup resource. Replaces any existing policy. + * + *

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()) {
+   *   SetIamPolicyRequest request =
+   *       SetIamPolicyRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .setPolicy(Policy.newBuilder().build())
+   *           .setUpdateMask(FieldMask.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.setIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable setIamPolicyCallable() { + return stub.setIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

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()) {
+   *   ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]");
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + ResourceName resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource == null ? null : resource.toString()) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

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 resource = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString();
+   *   List permissions = new ArrayList<>();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(resource, permissions);
+   * }
+   * }
+ * + * @param resource REQUIRED: The resource for which the policy detail is being requested. See the + * operation documentation for the appropriate value for this field. + * @param permissions The set of permissions to check for the `resource`. Permissions with + * wildcards (such as '*' or 'storage.*') are not allowed. For more information see + * [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final TestIamPermissionsResponse testIamPermissions( + String resource, List permissions) { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(resource) + .addAllPermissions(permissions) + .build(); + return testIamPermissions(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

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()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   TestIamPermissionsResponse response =
+   *       baseBigtableTableAdminClient.testIamPermissions(request);
+   * }
+   * }
+ * + * @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 TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that the caller has on the specified Table or Backup resource. + * + *

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()) {
+   *   TestIamPermissionsRequest request =
+   *       TestIamPermissionsRequest.newBuilder()
+   *           .setResource(
+   *               BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]").toString())
+   *           .addAllPermissions(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableTableAdminClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestIamPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListTablesPagedResponse + extends AbstractPagedListResponse< + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListTablesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListTablesPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListTablesPagedResponse(ListTablesPage page) { + super(page, ListTablesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListTablesPage + extends AbstractPage { + + private ListTablesPage( + PageContext context, + ListTablesResponse response) { + super(context, response); + } + + private static ListTablesPage createEmptyPage() { + return new ListTablesPage(null, null); + } + + @Override + protected ListTablesPage createPage( + PageContext context, + ListTablesResponse response) { + return new ListTablesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListTablesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListTablesRequest, + ListTablesResponse, + Table, + ListTablesPage, + ListTablesFixedSizeCollection> { + + private ListTablesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListTablesFixedSizeCollection createEmptyCollection() { + return new ListTablesFixedSizeCollection(null, 0); + } + + @Override + protected ListTablesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListTablesFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListSnapshotsPagedResponse + extends AbstractPagedListResponse< + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListSnapshotsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, + input -> new ListSnapshotsPagedResponse(input), + MoreExecutors.directExecutor()); + } + + private ListSnapshotsPagedResponse(ListSnapshotsPage page) { + super(page, ListSnapshotsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListSnapshotsPage + extends AbstractPage< + ListSnapshotsRequest, ListSnapshotsResponse, Snapshot, ListSnapshotsPage> { + + private ListSnapshotsPage( + PageContext context, + ListSnapshotsResponse response) { + super(context, response); + } + + private static ListSnapshotsPage createEmptyPage() { + return new ListSnapshotsPage(null, null); + } + + @Override + protected ListSnapshotsPage createPage( + PageContext context, + ListSnapshotsResponse response) { + return new ListSnapshotsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListSnapshotsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListSnapshotsRequest, + ListSnapshotsResponse, + Snapshot, + ListSnapshotsPage, + ListSnapshotsFixedSizeCollection> { + + private ListSnapshotsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListSnapshotsFixedSizeCollection createEmptyCollection() { + return new ListSnapshotsFixedSizeCollection(null, 0); + } + + @Override + protected ListSnapshotsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListSnapshotsFixedSizeCollection(pages, collectionSize); + } + } + + public static class ListBackupsPagedResponse + extends AbstractPagedListResponse< + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListBackupsPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListBackupsPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListBackupsPagedResponse(ListBackupsPage page) { + super(page, ListBackupsFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListBackupsPage + extends AbstractPage { + + private ListBackupsPage( + PageContext context, + ListBackupsResponse response) { + super(context, response); + } + + private static ListBackupsPage createEmptyPage() { + return new ListBackupsPage(null, null); + } + + @Override + protected ListBackupsPage createPage( + PageContext context, + ListBackupsResponse response) { + return new ListBackupsPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListBackupsFixedSizeCollection + extends AbstractFixedSizeCollection< + ListBackupsRequest, + ListBackupsResponse, + Backup, + ListBackupsPage, + ListBackupsFixedSizeCollection> { + + private ListBackupsFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListBackupsFixedSizeCollection createEmptyCollection() { + return new ListBackupsFixedSizeCollection(null, 0); + } + + @Override + protected ListBackupsFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListBackupsFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java new file mode 100644 index 0000000000..d452c82e1d --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminSettings.java @@ -0,0 +1,584 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.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; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.cloud.bigtable.admin.v2.stub.BigtableTableAdminStubSettings; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link 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();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to createTable. */ + public UnaryCallSettings createTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createTableSettings(); + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings + createTableFromSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createTableFromSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()) + .createTableFromSnapshotOperationSettings(); + } + + /** Returns the object with the settings used for calls to listTables. */ + public PagedCallSettings + listTablesSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listTablesSettings(); + } + + /** Returns the object with the settings used for calls to getTable. */ + public UnaryCallSettings getTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getTableSettings(); + } + + /** Returns the object with the settings used for calls to updateTable. */ + public UnaryCallSettings updateTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateTableSettings(); + } + + /** Returns the object with the settings used for calls to updateTable. */ + public OperationCallSettings + updateTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteTable. */ + public UnaryCallSettings deleteTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteTableSettings(); + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public UnaryCallSettings undeleteTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).undeleteTableSettings(); + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public OperationCallSettings + undeleteTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).undeleteTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings modifyColumnFamiliesSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).modifyColumnFamiliesSettings(); + } + + /** Returns the object with the settings used for calls to dropRowRange. */ + public UnaryCallSettings dropRowRangeSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).dropRowRangeSettings(); + } + + /** Returns the object with the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings + generateConsistencyTokenSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).generateConsistencyTokenSettings(); + } + + /** Returns the object with the settings used for calls to checkConsistency. */ + public UnaryCallSettings + checkConsistencySettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).checkConsistencySettings(); + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public UnaryCallSettings snapshotTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).snapshotTableSettings(); + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public OperationCallSettings + snapshotTableOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).snapshotTableOperationSettings(); + } + + /** Returns the object with the settings used for calls to getSnapshot. */ + public UnaryCallSettings getSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to listSnapshots. */ + public PagedCallSettings + listSnapshotsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listSnapshotsSettings(); + } + + /** Returns the object with the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings deleteSnapshotSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteSnapshotSettings(); + } + + /** Returns the object with the settings used for calls to createBackup. */ + public UnaryCallSettings createBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createBackupSettings(); + } + + /** Returns the object with the settings used for calls to createBackup. */ + public OperationCallSettings + createBackupOperationSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).createBackupOperationSettings(); + } + + /** Returns the object with the settings used for calls to getBackup. */ + public UnaryCallSettings getBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).getBackupSettings(); + } + + /** Returns the object with the settings used for calls to updateBackup. */ + public UnaryCallSettings updateBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).updateBackupSettings(); + } + + /** Returns the object with the settings used for calls to deleteBackup. */ + public UnaryCallSettings deleteBackupSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).deleteBackupSettings(); + } + + /** Returns the object with the settings used for calls to listBackups. */ + public PagedCallSettings + listBackupsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).listBackupsSettings(); + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public UnaryCallSettings restoreTableSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).restoreTableSettings(); + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public OperationCallSettings + restoreTableOperationSettings() { + 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(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((BigtableTableAdminStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + public static final BaseBigtableTableAdminSettings create(BigtableTableAdminStubSettings stub) + throws IOException { + return new BaseBigtableTableAdminSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableTableAdminStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableTableAdminStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableTableAdminStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableTableAdminStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableTableAdminStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableTableAdminStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableTableAdminStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableTableAdminSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableTableAdminSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableTableAdminStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableTableAdminSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableTableAdminStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableTableAdminStubSettings.newBuilder()); + } + + public BigtableTableAdminStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableTableAdminStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to createTable. */ + public UnaryCallSettings.Builder createTableSettings() { + return getStubSettingsBuilder().createTableSettings(); + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings.Builder + createTableFromSnapshotSettings() { + return getStubSettingsBuilder().createTableFromSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return getStubSettingsBuilder().createTableFromSnapshotOperationSettings(); + } + + /** Returns the builder for the settings used for calls to listTables. */ + public PagedCallSettings.Builder + listTablesSettings() { + return getStubSettingsBuilder().listTablesSettings(); + } + + /** Returns the builder for the settings used for calls to getTable. */ + public UnaryCallSettings.Builder getTableSettings() { + return getStubSettingsBuilder().getTableSettings(); + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public UnaryCallSettings.Builder updateTableSettings() { + return getStubSettingsBuilder().updateTableSettings(); + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public OperationCallSettings.Builder + updateTableOperationSettings() { + return getStubSettingsBuilder().updateTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteTable. */ + public UnaryCallSettings.Builder deleteTableSettings() { + return getStubSettingsBuilder().deleteTableSettings(); + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public UnaryCallSettings.Builder undeleteTableSettings() { + return getStubSettingsBuilder().undeleteTableSettings(); + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public OperationCallSettings.Builder + undeleteTableOperationSettings() { + return getStubSettingsBuilder().undeleteTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings.Builder + modifyColumnFamiliesSettings() { + return getStubSettingsBuilder().modifyColumnFamiliesSettings(); + } + + /** Returns the builder for the settings used for calls to dropRowRange. */ + public UnaryCallSettings.Builder dropRowRangeSettings() { + return getStubSettingsBuilder().dropRowRangeSettings(); + } + + /** Returns the builder for the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings() { + return getStubSettingsBuilder().generateConsistencyTokenSettings(); + } + + /** Returns the builder for the settings used for calls to checkConsistency. */ + public UnaryCallSettings.Builder + checkConsistencySettings() { + return getStubSettingsBuilder().checkConsistencySettings(); + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public UnaryCallSettings.Builder snapshotTableSettings() { + return getStubSettingsBuilder().snapshotTableSettings(); + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public OperationCallSettings.Builder + snapshotTableOperationSettings() { + return getStubSettingsBuilder().snapshotTableOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getSnapshot. */ + public UnaryCallSettings.Builder getSnapshotSettings() { + return getStubSettingsBuilder().getSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to listSnapshots. */ + public PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings() { + return getStubSettingsBuilder().listSnapshotsSettings(); + } + + /** Returns the builder for the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings.Builder deleteSnapshotSettings() { + return getStubSettingsBuilder().deleteSnapshotSettings(); + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public UnaryCallSettings.Builder createBackupSettings() { + return getStubSettingsBuilder().createBackupSettings(); + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public OperationCallSettings.Builder + createBackupOperationSettings() { + return getStubSettingsBuilder().createBackupOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getBackup. */ + public UnaryCallSettings.Builder getBackupSettings() { + return getStubSettingsBuilder().getBackupSettings(); + } + + /** Returns the builder for the settings used for calls to updateBackup. */ + public UnaryCallSettings.Builder updateBackupSettings() { + return getStubSettingsBuilder().updateBackupSettings(); + } + + /** Returns the builder for the settings used for calls to deleteBackup. */ + public UnaryCallSettings.Builder deleteBackupSettings() { + return getStubSettingsBuilder().deleteBackupSettings(); + } + + /** Returns the builder for the settings used for calls to listBackups. */ + public PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings() { + return getStubSettingsBuilder().listBackupsSettings(); + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public UnaryCallSettings.Builder restoreTableSettings() { + return getStubSettingsBuilder().restoreTableSettings(); + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public OperationCallSettings.Builder + restoreTableOperationSettings() { + 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(); + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return getStubSettingsBuilder().setIamPolicySettings(); + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + @Override + public BaseBigtableTableAdminSettings build() throws IOException { + return new BaseBigtableTableAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json new file mode 100644 index 0000000000..aca81585e0 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/gapic_metadata.json @@ -0,0 +1,165 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.bigtable.admin.v2", + "libraryPackage": "com.google.cloud.bigtable.admin.v2", + "services": { + "BigtableInstanceAdmin": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableInstanceAdminClient", + "rpcs": { + "CreateAppProfile": { + "methods": ["createAppProfile", "createAppProfile", "createAppProfile", "createAppProfileCallable"] + }, + "CreateCluster": { + "methods": ["createClusterAsync", "createClusterAsync", "createClusterAsync", "createClusterOperationCallable", "createClusterCallable"] + }, + "CreateInstance": { + "methods": ["createInstanceAsync", "createInstanceAsync", "createInstanceAsync", "createInstanceOperationCallable", "createInstanceCallable"] + }, + "DeleteAppProfile": { + "methods": ["deleteAppProfile", "deleteAppProfile", "deleteAppProfile", "deleteAppProfileCallable"] + }, + "DeleteCluster": { + "methods": ["deleteCluster", "deleteCluster", "deleteCluster", "deleteClusterCallable"] + }, + "DeleteInstance": { + "methods": ["deleteInstance", "deleteInstance", "deleteInstance", "deleteInstanceCallable"] + }, + "GetAppProfile": { + "methods": ["getAppProfile", "getAppProfile", "getAppProfile", "getAppProfileCallable"] + }, + "GetCluster": { + "methods": ["getCluster", "getCluster", "getCluster", "getClusterCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetInstance": { + "methods": ["getInstance", "getInstance", "getInstance", "getInstanceCallable"] + }, + "ListAppProfiles": { + "methods": ["listAppProfiles", "listAppProfiles", "listAppProfiles", "listAppProfilesPagedCallable", "listAppProfilesCallable"] + }, + "ListClusters": { + "methods": ["listClusters", "listClusters", "listClusters", "listClustersCallable"] + }, + "ListHotTablets": { + "methods": ["listHotTablets", "listHotTablets", "listHotTablets", "listHotTabletsPagedCallable", "listHotTabletsCallable"] + }, + "ListInstances": { + "methods": ["listInstances", "listInstances", "listInstances", "listInstancesCallable"] + }, + "PartialUpdateCluster": { + "methods": ["partialUpdateClusterAsync", "partialUpdateClusterAsync", "partialUpdateClusterOperationCallable", "partialUpdateClusterCallable"] + }, + "PartialUpdateInstance": { + "methods": ["partialUpdateInstanceAsync", "partialUpdateInstanceAsync", "partialUpdateInstanceOperationCallable", "partialUpdateInstanceCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + }, + "UpdateAppProfile": { + "methods": ["updateAppProfileAsync", "updateAppProfileAsync", "updateAppProfileOperationCallable", "updateAppProfileCallable"] + }, + "UpdateCluster": { + "methods": ["updateClusterAsync", "updateClusterOperationCallable", "updateClusterCallable"] + }, + "UpdateInstance": { + "methods": ["updateInstance", "updateInstanceCallable"] + } + } + } + } + }, + "BigtableTableAdmin": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableTableAdminClient", + "rpcs": { + "CheckConsistency": { + "methods": ["checkConsistency", "checkConsistency", "checkConsistency", "checkConsistencyCallable"] + }, + "CopyBackup": { + "methods": ["copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupAsync", "copyBackupOperationCallable", "copyBackupCallable"] + }, + "CreateBackup": { + "methods": ["createBackupAsync", "createBackupAsync", "createBackupAsync", "createBackupOperationCallable", "createBackupCallable"] + }, + "CreateTable": { + "methods": ["createTable", "createTable", "createTable", "createTableCallable"] + }, + "CreateTableFromSnapshot": { + "methods": ["createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotAsync", "createTableFromSnapshotOperationCallable", "createTableFromSnapshotCallable"] + }, + "DeleteBackup": { + "methods": ["deleteBackup", "deleteBackup", "deleteBackup", "deleteBackupCallable"] + }, + "DeleteSnapshot": { + "methods": ["deleteSnapshot", "deleteSnapshot", "deleteSnapshot", "deleteSnapshotCallable"] + }, + "DeleteTable": { + "methods": ["deleteTable", "deleteTable", "deleteTable", "deleteTableCallable"] + }, + "DropRowRange": { + "methods": ["dropRowRange", "dropRowRangeCallable"] + }, + "GenerateConsistencyToken": { + "methods": ["generateConsistencyToken", "generateConsistencyToken", "generateConsistencyToken", "generateConsistencyTokenCallable"] + }, + "GetBackup": { + "methods": ["getBackup", "getBackup", "getBackup", "getBackupCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetSnapshot": { + "methods": ["getSnapshot", "getSnapshot", "getSnapshot", "getSnapshotCallable"] + }, + "GetTable": { + "methods": ["getTable", "getTable", "getTable", "getTableCallable"] + }, + "ListBackups": { + "methods": ["listBackups", "listBackups", "listBackups", "listBackupsPagedCallable", "listBackupsCallable"] + }, + "ListSnapshots": { + "methods": ["listSnapshots", "listSnapshots", "listSnapshots", "listSnapshotsPagedCallable", "listSnapshotsCallable"] + }, + "ListTables": { + "methods": ["listTables", "listTables", "listTables", "listTablesPagedCallable", "listTablesCallable"] + }, + "ModifyColumnFamilies": { + "methods": ["modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamilies", "modifyColumnFamiliesCallable"] + }, + "RestoreTable": { + "methods": ["restoreTableAsync", "restoreTableOperationCallable", "restoreTableCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "SnapshotTable": { + "methods": ["snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableAsync", "snapshotTableOperationCallable", "snapshotTableCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + }, + "UndeleteTable": { + "methods": ["undeleteTableAsync", "undeleteTableAsync", "undeleteTableAsync", "undeleteTableOperationCallable", "undeleteTableCallable"] + }, + "UpdateBackup": { + "methods": ["updateBackup", "updateBackup", "updateBackupCallable"] + }, + "UpdateTable": { + "methods": ["updateTableAsync", "updateTableAsync", "updateTableOperationCallable", "updateTableCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java new file mode 100644 index 0000000000..802acb816c --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/package-info.java @@ -0,0 +1,69 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Bigtable Admin API + * + *

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

======================= BaseBigtableInstanceAdminClient ======================= + * + *

Service Description: Service for creating, configuring, and deleting Cloud Bigtable Instances + * and Clusters. Provides access to the Instance and Cluster schemas only, not the tables' metadata + * or data stored in those tables. + * + *

Sample for BaseBigtableInstanceAdminClient: + * + *

{@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 (BaseBigtableInstanceAdminClient baseBigtableInstanceAdminClient =
+ *     BaseBigtableInstanceAdminClient.create()) {
+ *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+ *   Instance response = baseBigtableInstanceAdminClient.getInstance(name);
+ * }
+ * }
+ * + *

======================= BaseBigtableTableAdminClient ======================= + * + *

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. + * + *

Sample for BaseBigtableTableAdminClient: + * + *

{@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);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.bigtable.admin.v2; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java new file mode 100644 index 0000000000..c3fa1df46c --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java @@ -0,0 +1,206 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableInstanceAdminStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + } + + public OperationCallable + createInstanceOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createInstanceOperationCallable()"); + } + + public UnaryCallable createInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: createInstanceCallable()"); + } + + public UnaryCallable getInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: getInstanceCallable()"); + } + + public UnaryCallable listInstancesCallable() { + throw new UnsupportedOperationException("Not implemented: listInstancesCallable()"); + } + + public UnaryCallable updateInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: updateInstanceCallable()"); + } + + public OperationCallable + partialUpdateInstanceOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: partialUpdateInstanceOperationCallable()"); + } + + public UnaryCallable partialUpdateInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: partialUpdateInstanceCallable()"); + } + + public UnaryCallable deleteInstanceCallable() { + throw new UnsupportedOperationException("Not implemented: deleteInstanceCallable()"); + } + + public OperationCallable + createClusterOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createClusterOperationCallable()"); + } + + public UnaryCallable createClusterCallable() { + throw new UnsupportedOperationException("Not implemented: createClusterCallable()"); + } + + public UnaryCallable getClusterCallable() { + throw new UnsupportedOperationException("Not implemented: getClusterCallable()"); + } + + public UnaryCallable listClustersCallable() { + throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); + } + + public OperationCallable + updateClusterOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateClusterOperationCallable()"); + } + + public UnaryCallable updateClusterCallable() { + throw new UnsupportedOperationException("Not implemented: updateClusterCallable()"); + } + + public OperationCallable + partialUpdateClusterOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: partialUpdateClusterOperationCallable()"); + } + + public UnaryCallable partialUpdateClusterCallable() { + throw new UnsupportedOperationException("Not implemented: partialUpdateClusterCallable()"); + } + + public UnaryCallable deleteClusterCallable() { + throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); + } + + public UnaryCallable createAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: createAppProfileCallable()"); + } + + public UnaryCallable getAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: getAppProfileCallable()"); + } + + public UnaryCallable + listAppProfilesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listAppProfilesPagedCallable()"); + } + + public UnaryCallable listAppProfilesCallable() { + throw new UnsupportedOperationException("Not implemented: listAppProfilesCallable()"); + } + + public OperationCallable + updateAppProfileOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateAppProfileOperationCallable()"); + } + + public UnaryCallable updateAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: updateAppProfileCallable()"); + } + + public UnaryCallable deleteAppProfileCallable() { + throw new UnsupportedOperationException("Not implemented: deleteAppProfileCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + public UnaryCallable + listHotTabletsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listHotTabletsPagedCallable()"); + } + + public UnaryCallable listHotTabletsCallable() { + throw new UnsupportedOperationException("Not implemented: listHotTabletsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java new file mode 100644 index 0000000000..a917ad2cc5 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java @@ -0,0 +1,1237 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableInstanceAdminStub}. + * + *

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 getInstance 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
+ * BigtableInstanceAdminStubSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
+ *     BigtableInstanceAdminStubSettings.newBuilder();
+ * baseBigtableInstanceAdminSettingsBuilder
+ *     .getInstanceSettings()
+ *     .setRetrySettings(
+ *         baseBigtableInstanceAdminSettingsBuilder
+ *             .getInstanceSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableInstanceAdminStubSettings baseBigtableInstanceAdminSettings =
+ *     baseBigtableInstanceAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableInstanceAdminStubSettings + extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.admin") + .add("https://www.googleapis.com/auth/bigtable.admin.cluster") + .add("https://www.googleapis.com/auth/bigtable.admin.instance") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin.cluster") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final UnaryCallSettings createInstanceSettings; + private final OperationCallSettings + createInstanceOperationSettings; + private final UnaryCallSettings getInstanceSettings; + private final UnaryCallSettings + listInstancesSettings; + private final UnaryCallSettings updateInstanceSettings; + private final UnaryCallSettings + partialUpdateInstanceSettings; + private final OperationCallSettings< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings; + private final UnaryCallSettings deleteInstanceSettings; + private final UnaryCallSettings createClusterSettings; + private final OperationCallSettings + createClusterOperationSettings; + private final UnaryCallSettings getClusterSettings; + private final UnaryCallSettings listClustersSettings; + private final UnaryCallSettings updateClusterSettings; + private final OperationCallSettings + updateClusterOperationSettings; + private final UnaryCallSettings + partialUpdateClusterSettings; + private final OperationCallSettings< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings; + private final UnaryCallSettings deleteClusterSettings; + private final UnaryCallSettings createAppProfileSettings; + private final UnaryCallSettings getAppProfileSettings; + private final PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings; + private final UnaryCallSettings updateAppProfileSettings; + private final OperationCallSettings + updateAppProfileOperationSettings; + private final UnaryCallSettings deleteAppProfileSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + private final PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings; + + private static final PagedListDescriptor< + ListAppProfilesRequest, ListAppProfilesResponse, AppProfile> + LIST_APP_PROFILES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListAppProfilesRequest injectToken( + ListAppProfilesRequest payload, String token) { + return ListAppProfilesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListAppProfilesRequest injectPageSize( + ListAppProfilesRequest payload, int pageSize) { + return ListAppProfilesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListAppProfilesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListAppProfilesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListAppProfilesResponse payload) { + return payload.getAppProfilesList() == null + ? ImmutableList.of() + : payload.getAppProfilesList(); + } + }; + + private static final PagedListDescriptor + LIST_HOT_TABLETS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListHotTabletsRequest injectToken(ListHotTabletsRequest payload, String token) { + return ListHotTabletsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListHotTabletsRequest injectPageSize( + ListHotTabletsRequest payload, int pageSize) { + return ListHotTabletsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListHotTabletsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListHotTabletsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListHotTabletsResponse payload) { + return payload.getHotTabletsList() == null + ? ImmutableList.of() + : payload.getHotTabletsList(); + } + }; + + private static final PagedListResponseFactory< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + LIST_APP_PROFILES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListAppProfilesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_APP_PROFILES_PAGE_STR_DESC, request, context); + return ListAppProfilesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + LIST_HOT_TABLETS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListHotTabletsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_HOT_TABLETS_PAGE_STR_DESC, request, context); + return ListHotTabletsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to createInstance. */ + public UnaryCallSettings createInstanceSettings() { + return createInstanceSettings; + } + + /** Returns the object with the settings used for calls to createInstance. */ + public OperationCallSettings + createInstanceOperationSettings() { + return createInstanceOperationSettings; + } + + /** Returns the object with the settings used for calls to getInstance. */ + public UnaryCallSettings getInstanceSettings() { + return getInstanceSettings; + } + + /** Returns the object with the settings used for calls to listInstances. */ + public UnaryCallSettings listInstancesSettings() { + return listInstancesSettings; + } + + /** Returns the object with the settings used for calls to updateInstance. */ + public UnaryCallSettings updateInstanceSettings() { + return updateInstanceSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings + partialUpdateInstanceSettings() { + return partialUpdateInstanceSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateInstance. */ + public OperationCallSettings + partialUpdateInstanceOperationSettings() { + return partialUpdateInstanceOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteInstance. */ + public UnaryCallSettings deleteInstanceSettings() { + return deleteInstanceSettings; + } + + /** Returns the object with the settings used for calls to createCluster. */ + public UnaryCallSettings createClusterSettings() { + return createClusterSettings; + } + + /** Returns the object with the settings used for calls to createCluster. */ + public OperationCallSettings + createClusterOperationSettings() { + return createClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to getCluster. */ + public UnaryCallSettings getClusterSettings() { + return getClusterSettings; + } + + /** Returns the object with the settings used for calls to listClusters. */ + public UnaryCallSettings listClustersSettings() { + return listClustersSettings; + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public UnaryCallSettings updateClusterSettings() { + return updateClusterSettings; + } + + /** Returns the object with the settings used for calls to updateCluster. */ + public OperationCallSettings + updateClusterOperationSettings() { + return updateClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings partialUpdateClusterSettings() { + return partialUpdateClusterSettings; + } + + /** Returns the object with the settings used for calls to partialUpdateCluster. */ + public OperationCallSettings + partialUpdateClusterOperationSettings() { + return partialUpdateClusterOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteCluster. */ + public UnaryCallSettings deleteClusterSettings() { + return deleteClusterSettings; + } + + /** Returns the object with the settings used for calls to createAppProfile. */ + public UnaryCallSettings createAppProfileSettings() { + return createAppProfileSettings; + } + + /** Returns the object with the settings used for calls to getAppProfile. */ + public UnaryCallSettings getAppProfileSettings() { + return getAppProfileSettings; + } + + /** Returns the object with the settings used for calls to listAppProfiles. */ + public PagedCallSettings< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return listAppProfilesSettings; + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public UnaryCallSettings updateAppProfileSettings() { + return updateAppProfileSettings; + } + + /** Returns the object with the settings used for calls to updateAppProfile. */ + public OperationCallSettings + updateAppProfileOperationSettings() { + return updateAppProfileOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings deleteAppProfileSettings() { + return deleteAppProfileSettings; + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the object with the settings used for calls to listHotTablets. */ + public PagedCallSettings< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return listHotTabletsSettings; + } + + public BigtableInstanceAdminStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableInstanceAdminStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtableadmin.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtableadmin.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(BigtableInstanceAdminStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableInstanceAdminStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + createInstanceSettings = settingsBuilder.createInstanceSettings().build(); + createInstanceOperationSettings = settingsBuilder.createInstanceOperationSettings().build(); + getInstanceSettings = settingsBuilder.getInstanceSettings().build(); + listInstancesSettings = settingsBuilder.listInstancesSettings().build(); + updateInstanceSettings = settingsBuilder.updateInstanceSettings().build(); + partialUpdateInstanceSettings = settingsBuilder.partialUpdateInstanceSettings().build(); + partialUpdateInstanceOperationSettings = + settingsBuilder.partialUpdateInstanceOperationSettings().build(); + deleteInstanceSettings = settingsBuilder.deleteInstanceSettings().build(); + createClusterSettings = settingsBuilder.createClusterSettings().build(); + createClusterOperationSettings = settingsBuilder.createClusterOperationSettings().build(); + getClusterSettings = settingsBuilder.getClusterSettings().build(); + listClustersSettings = settingsBuilder.listClustersSettings().build(); + updateClusterSettings = settingsBuilder.updateClusterSettings().build(); + updateClusterOperationSettings = settingsBuilder.updateClusterOperationSettings().build(); + partialUpdateClusterSettings = settingsBuilder.partialUpdateClusterSettings().build(); + partialUpdateClusterOperationSettings = + settingsBuilder.partialUpdateClusterOperationSettings().build(); + deleteClusterSettings = settingsBuilder.deleteClusterSettings().build(); + createAppProfileSettings = settingsBuilder.createAppProfileSettings().build(); + getAppProfileSettings = settingsBuilder.getAppProfileSettings().build(); + listAppProfilesSettings = settingsBuilder.listAppProfilesSettings().build(); + updateAppProfileSettings = settingsBuilder.updateAppProfileSettings().build(); + updateAppProfileOperationSettings = settingsBuilder.updateAppProfileOperationSettings().build(); + deleteAppProfileSettings = settingsBuilder.deleteAppProfileSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + listHotTabletsSettings = settingsBuilder.listHotTabletsSettings().build(); + } + + /** Builder for BigtableInstanceAdminStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + createInstanceSettings; + private final OperationCallSettings.Builder< + CreateInstanceRequest, Instance, CreateInstanceMetadata> + createInstanceOperationSettings; + private final UnaryCallSettings.Builder getInstanceSettings; + private final UnaryCallSettings.Builder + listInstancesSettings; + private final UnaryCallSettings.Builder updateInstanceSettings; + private final UnaryCallSettings.Builder + partialUpdateInstanceSettings; + private final OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings; + private final UnaryCallSettings.Builder deleteInstanceSettings; + private final UnaryCallSettings.Builder createClusterSettings; + private final OperationCallSettings.Builder< + CreateClusterRequest, Cluster, CreateClusterMetadata> + createClusterOperationSettings; + private final UnaryCallSettings.Builder getClusterSettings; + private final UnaryCallSettings.Builder + listClustersSettings; + private final UnaryCallSettings.Builder updateClusterSettings; + private final OperationCallSettings.Builder + updateClusterOperationSettings; + private final UnaryCallSettings.Builder + partialUpdateClusterSettings; + private final OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings; + private final UnaryCallSettings.Builder deleteClusterSettings; + private final UnaryCallSettings.Builder + createAppProfileSettings; + private final UnaryCallSettings.Builder getAppProfileSettings; + private final PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings; + private final UnaryCallSettings.Builder + updateAppProfileSettings; + private final OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings; + private final UnaryCallSettings.Builder + deleteAppProfileSettings; + private final UnaryCallSettings.Builder getIamPolicySettings; + private final UnaryCallSettings.Builder setIamPolicySettings; + private final UnaryCallSettings.Builder + testIamPermissionsSettings; + private final PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_6_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "no_retry_7_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(300000L)) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build(); + definitions.put("no_retry_5_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_6_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_7_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + createInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createInstanceOperationSettings = OperationCallSettings.newBuilder(); + getInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listInstancesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateInstanceOperationSettings = OperationCallSettings.newBuilder(); + deleteInstanceSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createClusterOperationSettings = OperationCallSettings.newBuilder(); + getClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listClustersSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateClusterOperationSettings = OperationCallSettings.newBuilder(); + partialUpdateClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + partialUpdateClusterOperationSettings = OperationCallSettings.newBuilder(); + deleteClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listAppProfilesSettings = PagedCallSettings.newBuilder(LIST_APP_PROFILES_PAGE_STR_FACT); + updateAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateAppProfileOperationSettings = OperationCallSettings.newBuilder(); + deleteAppProfileSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listHotTabletsSettings = PagedCallSettings.newBuilder(LIST_HOT_TABLETS_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createInstanceSettings, + getInstanceSettings, + listInstancesSettings, + updateInstanceSettings, + partialUpdateInstanceSettings, + deleteInstanceSettings, + createClusterSettings, + getClusterSettings, + listClustersSettings, + updateClusterSettings, + partialUpdateClusterSettings, + deleteClusterSettings, + createAppProfileSettings, + getAppProfileSettings, + listAppProfilesSettings, + updateAppProfileSettings, + deleteAppProfileSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + listHotTabletsSettings); + initDefaults(this); + } + + protected Builder(BigtableInstanceAdminStubSettings settings) { + super(settings); + + createInstanceSettings = settings.createInstanceSettings.toBuilder(); + createInstanceOperationSettings = settings.createInstanceOperationSettings.toBuilder(); + getInstanceSettings = settings.getInstanceSettings.toBuilder(); + listInstancesSettings = settings.listInstancesSettings.toBuilder(); + updateInstanceSettings = settings.updateInstanceSettings.toBuilder(); + partialUpdateInstanceSettings = settings.partialUpdateInstanceSettings.toBuilder(); + partialUpdateInstanceOperationSettings = + settings.partialUpdateInstanceOperationSettings.toBuilder(); + deleteInstanceSettings = settings.deleteInstanceSettings.toBuilder(); + createClusterSettings = settings.createClusterSettings.toBuilder(); + createClusterOperationSettings = settings.createClusterOperationSettings.toBuilder(); + getClusterSettings = settings.getClusterSettings.toBuilder(); + listClustersSettings = settings.listClustersSettings.toBuilder(); + updateClusterSettings = settings.updateClusterSettings.toBuilder(); + updateClusterOperationSettings = settings.updateClusterOperationSettings.toBuilder(); + partialUpdateClusterSettings = settings.partialUpdateClusterSettings.toBuilder(); + partialUpdateClusterOperationSettings = + settings.partialUpdateClusterOperationSettings.toBuilder(); + deleteClusterSettings = settings.deleteClusterSettings.toBuilder(); + createAppProfileSettings = settings.createAppProfileSettings.toBuilder(); + getAppProfileSettings = settings.getAppProfileSettings.toBuilder(); + listAppProfilesSettings = settings.listAppProfilesSettings.toBuilder(); + updateAppProfileSettings = settings.updateAppProfileSettings.toBuilder(); + updateAppProfileOperationSettings = settings.updateAppProfileOperationSettings.toBuilder(); + deleteAppProfileSettings = settings.deleteAppProfileSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + listHotTabletsSettings = settings.listHotTabletsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createInstanceSettings, + getInstanceSettings, + listInstancesSettings, + updateInstanceSettings, + partialUpdateInstanceSettings, + deleteInstanceSettings, + createClusterSettings, + getClusterSettings, + listClustersSettings, + updateClusterSettings, + partialUpdateClusterSettings, + deleteClusterSettings, + createAppProfileSettings, + getAppProfileSettings, + listAppProfilesSettings, + updateAppProfileSettings, + deleteAppProfileSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings, + listHotTabletsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .createInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params")); + + builder + .getInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .listInstancesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .updateInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .partialUpdateInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .deleteInstanceSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .createClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .getClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .listClustersSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .updateClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .partialUpdateClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteClusterSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .createAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .getAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .listAppProfilesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .updateAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .deleteAppProfileSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")); + + builder + .testIamPermissionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .listHotTabletsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")); + + builder + .createInstanceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Instance.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateInstanceMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .partialUpdateInstanceOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Instance.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateInstanceMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .createClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_7_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_7_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(21600000L)) + .build())); + + builder + .updateClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .partialUpdateClusterOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Cluster.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + PartialUpdateClusterMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .updateAppProfileOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_6_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(AppProfile.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateAppProfileMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + public UnaryCallSettings.Builder createInstanceSettings() { + return createInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createInstanceOperationSettings() { + return createInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to getInstance. */ + public UnaryCallSettings.Builder getInstanceSettings() { + return getInstanceSettings; + } + + /** Returns the builder for the settings used for calls to listInstances. */ + public UnaryCallSettings.Builder + listInstancesSettings() { + return listInstancesSettings; + } + + /** Returns the builder for the settings used for calls to updateInstance. */ + public UnaryCallSettings.Builder updateInstanceSettings() { + return updateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + public UnaryCallSettings.Builder + partialUpdateInstanceSettings() { + return partialUpdateInstanceSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateInstance. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateInstanceRequest, Instance, UpdateInstanceMetadata> + partialUpdateInstanceOperationSettings() { + return partialUpdateInstanceOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteInstance. */ + public UnaryCallSettings.Builder deleteInstanceSettings() { + return deleteInstanceSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + public UnaryCallSettings.Builder createClusterSettings() { + return createClusterSettings; + } + + /** Returns the builder for the settings used for calls to createCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createClusterOperationSettings() { + return createClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to getCluster. */ + public UnaryCallSettings.Builder getClusterSettings() { + return getClusterSettings; + } + + /** Returns the builder for the settings used for calls to listClusters. */ + public UnaryCallSettings.Builder + listClustersSettings() { + return listClustersSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + public UnaryCallSettings.Builder updateClusterSettings() { + return updateClusterSettings; + } + + /** Returns the builder for the settings used for calls to updateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updateClusterOperationSettings() { + return updateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + public UnaryCallSettings.Builder + partialUpdateClusterSettings() { + return partialUpdateClusterSettings; + } + + /** Returns the builder for the settings used for calls to partialUpdateCluster. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationSettings() { + return partialUpdateClusterOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteCluster. */ + public UnaryCallSettings.Builder deleteClusterSettings() { + return deleteClusterSettings; + } + + /** Returns the builder for the settings used for calls to createAppProfile. */ + public UnaryCallSettings.Builder + createAppProfileSettings() { + return createAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getAppProfile. */ + public UnaryCallSettings.Builder getAppProfileSettings() { + return getAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to listAppProfiles. */ + public PagedCallSettings.Builder< + ListAppProfilesRequest, ListAppProfilesResponse, ListAppProfilesPagedResponse> + listAppProfilesSettings() { + return listAppProfilesSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + public UnaryCallSettings.Builder + updateAppProfileSettings() { + return updateAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to updateAppProfile. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + UpdateAppProfileRequest, AppProfile, UpdateAppProfileMetadata> + updateAppProfileOperationSettings() { + return updateAppProfileOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteAppProfile. */ + public UnaryCallSettings.Builder deleteAppProfileSettings() { + return deleteAppProfileSettings; + } + + /** Returns the builder for the settings used for calls to getIamPolicy. */ + public UnaryCallSettings.Builder getIamPolicySettings() { + return getIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + /** Returns the builder for the settings used for calls to listHotTablets. */ + public PagedCallSettings.Builder< + ListHotTabletsRequest, ListHotTabletsResponse, ListHotTabletsPagedResponse> + listHotTabletsSettings() { + return listHotTabletsSettings; + } + + @Override + public BigtableInstanceAdminStubSettings build() throws IOException { + return new BigtableInstanceAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java new file mode 100644 index 0000000000..863e040ed1 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java @@ -0,0 +1,241 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +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; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +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. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableTableAdminStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + } + + public UnaryCallable createTableCallable() { + throw new UnsupportedOperationException("Not implemented: createTableCallable()"); + } + + public OperationCallable + createTableFromSnapshotOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: createTableFromSnapshotOperationCallable()"); + } + + public UnaryCallable + createTableFromSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: createTableFromSnapshotCallable()"); + } + + public UnaryCallable listTablesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listTablesPagedCallable()"); + } + + public UnaryCallable listTablesCallable() { + throw new UnsupportedOperationException("Not implemented: listTablesCallable()"); + } + + public UnaryCallable getTableCallable() { + throw new UnsupportedOperationException("Not implemented: getTableCallable()"); + } + + public OperationCallable + updateTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: updateTableOperationCallable()"); + } + + public UnaryCallable updateTableCallable() { + throw new UnsupportedOperationException("Not implemented: updateTableCallable()"); + } + + public UnaryCallable deleteTableCallable() { + throw new UnsupportedOperationException("Not implemented: deleteTableCallable()"); + } + + public OperationCallable + undeleteTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: undeleteTableOperationCallable()"); + } + + public UnaryCallable undeleteTableCallable() { + throw new UnsupportedOperationException("Not implemented: undeleteTableCallable()"); + } + + public UnaryCallable modifyColumnFamiliesCallable() { + throw new UnsupportedOperationException("Not implemented: modifyColumnFamiliesCallable()"); + } + + public UnaryCallable dropRowRangeCallable() { + throw new UnsupportedOperationException("Not implemented: dropRowRangeCallable()"); + } + + public UnaryCallable + generateConsistencyTokenCallable() { + throw new UnsupportedOperationException("Not implemented: generateConsistencyTokenCallable()"); + } + + public UnaryCallable + checkConsistencyCallable() { + throw new UnsupportedOperationException("Not implemented: checkConsistencyCallable()"); + } + + public OperationCallable + snapshotTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: snapshotTableOperationCallable()"); + } + + public UnaryCallable snapshotTableCallable() { + throw new UnsupportedOperationException("Not implemented: snapshotTableCallable()"); + } + + public UnaryCallable getSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: getSnapshotCallable()"); + } + + public UnaryCallable + listSnapshotsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listSnapshotsPagedCallable()"); + } + + public UnaryCallable listSnapshotsCallable() { + throw new UnsupportedOperationException("Not implemented: listSnapshotsCallable()"); + } + + public UnaryCallable deleteSnapshotCallable() { + throw new UnsupportedOperationException("Not implemented: deleteSnapshotCallable()"); + } + + public OperationCallable + createBackupOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createBackupOperationCallable()"); + } + + public UnaryCallable createBackupCallable() { + throw new UnsupportedOperationException("Not implemented: createBackupCallable()"); + } + + public UnaryCallable getBackupCallable() { + throw new UnsupportedOperationException("Not implemented: getBackupCallable()"); + } + + public UnaryCallable updateBackupCallable() { + throw new UnsupportedOperationException("Not implemented: updateBackupCallable()"); + } + + public UnaryCallable deleteBackupCallable() { + throw new UnsupportedOperationException("Not implemented: deleteBackupCallable()"); + } + + public UnaryCallable listBackupsPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listBackupsPagedCallable()"); + } + + public UnaryCallable listBackupsCallable() { + throw new UnsupportedOperationException("Not implemented: listBackupsCallable()"); + } + + public OperationCallable + restoreTableOperationCallable() { + throw new UnsupportedOperationException("Not implemented: restoreTableOperationCallable()"); + } + + 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()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java new file mode 100644 index 0000000000..7abc6f4723 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java @@ -0,0 +1,1443 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +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; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableTableAdminStub}. + * + *

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
+ * BigtableTableAdminStubSettings.Builder baseBigtableTableAdminSettingsBuilder =
+ *     BigtableTableAdminStubSettings.newBuilder();
+ * baseBigtableTableAdminSettingsBuilder
+ *     .createTableSettings()
+ *     .setRetrySettings(
+ *         baseBigtableTableAdminSettingsBuilder
+ *             .createTableSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableTableAdminStubSettings baseBigtableTableAdminSettings =
+ *     baseBigtableTableAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableTableAdminStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.admin") + .add("https://www.googleapis.com/auth/bigtable.admin.table") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin") + .add("https://www.googleapis.com/auth/cloud-bigtable.admin.table") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final UnaryCallSettings createTableSettings; + private final UnaryCallSettings + createTableFromSnapshotSettings; + private final OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings; + private final PagedCallSettings + listTablesSettings; + private final UnaryCallSettings getTableSettings; + private final UnaryCallSettings updateTableSettings; + private final OperationCallSettings + updateTableOperationSettings; + private final UnaryCallSettings deleteTableSettings; + private final UnaryCallSettings undeleteTableSettings; + private final OperationCallSettings + undeleteTableOperationSettings; + private final UnaryCallSettings modifyColumnFamiliesSettings; + private final UnaryCallSettings dropRowRangeSettings; + private final UnaryCallSettings + generateConsistencyTokenSettings; + private final UnaryCallSettings + checkConsistencySettings; + private final UnaryCallSettings snapshotTableSettings; + private final OperationCallSettings + snapshotTableOperationSettings; + private final UnaryCallSettings getSnapshotSettings; + private final PagedCallSettings< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings; + private final UnaryCallSettings deleteSnapshotSettings; + private final UnaryCallSettings createBackupSettings; + private final OperationCallSettings + createBackupOperationSettings; + private final UnaryCallSettings getBackupSettings; + private final UnaryCallSettings updateBackupSettings; + private final UnaryCallSettings deleteBackupSettings; + private final PagedCallSettings + listBackupsSettings; + private final UnaryCallSettings restoreTableSettings; + private final OperationCallSettings + restoreTableOperationSettings; + private final UnaryCallSettings copyBackupSettings; + private final OperationCallSettings + copyBackupOperationSettings; + private final UnaryCallSettings getIamPolicySettings; + private final UnaryCallSettings setIamPolicySettings; + private final UnaryCallSettings + testIamPermissionsSettings; + + private static final PagedListDescriptor + LIST_TABLES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListTablesRequest injectToken(ListTablesRequest payload, String token) { + return ListTablesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListTablesRequest injectPageSize(ListTablesRequest payload, int pageSize) { + return ListTablesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListTablesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListTablesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable
extractResources(ListTablesResponse payload) { + return payload.getTablesList() == null + ? ImmutableList.
of() + : payload.getTablesList(); + } + }; + + private static final PagedListDescriptor + LIST_SNAPSHOTS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListSnapshotsRequest injectToken(ListSnapshotsRequest payload, String token) { + return ListSnapshotsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListSnapshotsRequest injectPageSize(ListSnapshotsRequest payload, int pageSize) { + return ListSnapshotsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListSnapshotsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListSnapshotsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListSnapshotsResponse payload) { + return payload.getSnapshotsList() == null + ? ImmutableList.of() + : payload.getSnapshotsList(); + } + }; + + private static final PagedListDescriptor + LIST_BACKUPS_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListBackupsRequest injectToken(ListBackupsRequest payload, String token) { + return ListBackupsRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListBackupsRequest injectPageSize(ListBackupsRequest payload, int pageSize) { + return ListBackupsRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListBackupsRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListBackupsResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListBackupsResponse payload) { + return payload.getBackupsList() == null + ? ImmutableList.of() + : payload.getBackupsList(); + } + }; + + private static final PagedListResponseFactory< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> + LIST_TABLES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListTablesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_TABLES_PAGE_STR_DESC, request, context); + return ListTablesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + LIST_SNAPSHOTS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListSnapshotsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_SNAPSHOTS_PAGE_STR_DESC, request, context); + return ListSnapshotsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + private static final PagedListResponseFactory< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + LIST_BACKUPS_PAGE_STR_FACT = + new PagedListResponseFactory< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListBackupsRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_BACKUPS_PAGE_STR_DESC, request, context); + return ListBackupsPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to createTable. */ + public UnaryCallSettings createTableSettings() { + return createTableSettings; + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings + createTableFromSnapshotSettings() { + return createTableFromSnapshotSettings; + } + + /** Returns the object with the settings used for calls to createTableFromSnapshot. */ + public OperationCallSettings< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return createTableFromSnapshotOperationSettings; + } + + /** Returns the object with the settings used for calls to listTables. */ + public PagedCallSettings + listTablesSettings() { + return listTablesSettings; + } + + /** Returns the object with the settings used for calls to getTable. */ + public UnaryCallSettings getTableSettings() { + return getTableSettings; + } + + /** Returns the object with the settings used for calls to updateTable. */ + public UnaryCallSettings updateTableSettings() { + return updateTableSettings; + } + + /** Returns the object with the settings used for calls to updateTable. */ + public OperationCallSettings + updateTableOperationSettings() { + return updateTableOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteTable. */ + public UnaryCallSettings deleteTableSettings() { + return deleteTableSettings; + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public UnaryCallSettings undeleteTableSettings() { + return undeleteTableSettings; + } + + /** Returns the object with the settings used for calls to undeleteTable. */ + public OperationCallSettings + undeleteTableOperationSettings() { + return undeleteTableOperationSettings; + } + + /** Returns the object with the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings modifyColumnFamiliesSettings() { + return modifyColumnFamiliesSettings; + } + + /** Returns the object with the settings used for calls to dropRowRange. */ + public UnaryCallSettings dropRowRangeSettings() { + return dropRowRangeSettings; + } + + /** Returns the object with the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings + generateConsistencyTokenSettings() { + return generateConsistencyTokenSettings; + } + + /** Returns the object with the settings used for calls to checkConsistency. */ + public UnaryCallSettings + checkConsistencySettings() { + return checkConsistencySettings; + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public UnaryCallSettings snapshotTableSettings() { + return snapshotTableSettings; + } + + /** Returns the object with the settings used for calls to snapshotTable. */ + public OperationCallSettings + snapshotTableOperationSettings() { + return snapshotTableOperationSettings; + } + + /** Returns the object with the settings used for calls to getSnapshot. */ + public UnaryCallSettings getSnapshotSettings() { + return getSnapshotSettings; + } + + /** Returns the object with the settings used for calls to listSnapshots. */ + public PagedCallSettings + listSnapshotsSettings() { + return listSnapshotsSettings; + } + + /** Returns the object with the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings deleteSnapshotSettings() { + return deleteSnapshotSettings; + } + + /** Returns the object with the settings used for calls to createBackup. */ + public UnaryCallSettings createBackupSettings() { + return createBackupSettings; + } + + /** Returns the object with the settings used for calls to createBackup. */ + public OperationCallSettings + createBackupOperationSettings() { + return createBackupOperationSettings; + } + + /** Returns the object with the settings used for calls to getBackup. */ + public UnaryCallSettings getBackupSettings() { + return getBackupSettings; + } + + /** Returns the object with the settings used for calls to updateBackup. */ + public UnaryCallSettings updateBackupSettings() { + return updateBackupSettings; + } + + /** Returns the object with the settings used for calls to deleteBackup. */ + public UnaryCallSettings deleteBackupSettings() { + return deleteBackupSettings; + } + + /** Returns the object with the settings used for calls to listBackups. */ + public PagedCallSettings + listBackupsSettings() { + return listBackupsSettings; + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public UnaryCallSettings restoreTableSettings() { + return restoreTableSettings; + } + + /** Returns the object with the settings used for calls to restoreTable. */ + public OperationCallSettings + restoreTableOperationSettings() { + 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; + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + public BigtableTableAdminStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableTableAdminStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtableadmin.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtableadmin.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(BigtableTableAdminStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableTableAdminStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + createTableSettings = settingsBuilder.createTableSettings().build(); + createTableFromSnapshotSettings = settingsBuilder.createTableFromSnapshotSettings().build(); + createTableFromSnapshotOperationSettings = + settingsBuilder.createTableFromSnapshotOperationSettings().build(); + listTablesSettings = settingsBuilder.listTablesSettings().build(); + getTableSettings = settingsBuilder.getTableSettings().build(); + updateTableSettings = settingsBuilder.updateTableSettings().build(); + updateTableOperationSettings = settingsBuilder.updateTableOperationSettings().build(); + deleteTableSettings = settingsBuilder.deleteTableSettings().build(); + undeleteTableSettings = settingsBuilder.undeleteTableSettings().build(); + undeleteTableOperationSettings = settingsBuilder.undeleteTableOperationSettings().build(); + modifyColumnFamiliesSettings = settingsBuilder.modifyColumnFamiliesSettings().build(); + dropRowRangeSettings = settingsBuilder.dropRowRangeSettings().build(); + generateConsistencyTokenSettings = settingsBuilder.generateConsistencyTokenSettings().build(); + checkConsistencySettings = settingsBuilder.checkConsistencySettings().build(); + snapshotTableSettings = settingsBuilder.snapshotTableSettings().build(); + snapshotTableOperationSettings = settingsBuilder.snapshotTableOperationSettings().build(); + getSnapshotSettings = settingsBuilder.getSnapshotSettings().build(); + listSnapshotsSettings = settingsBuilder.listSnapshotsSettings().build(); + deleteSnapshotSettings = settingsBuilder.deleteSnapshotSettings().build(); + createBackupSettings = settingsBuilder.createBackupSettings().build(); + createBackupOperationSettings = settingsBuilder.createBackupOperationSettings().build(); + getBackupSettings = settingsBuilder.getBackupSettings().build(); + updateBackupSettings = settingsBuilder.updateBackupSettings().build(); + deleteBackupSettings = settingsBuilder.deleteBackupSettings().build(); + 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(); + } + + /** Builder for BigtableTableAdminStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder createTableSettings; + private final UnaryCallSettings.Builder + createTableFromSnapshotSettings; + private final OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings; + private final PagedCallSettings.Builder< + ListTablesRequest, ListTablesResponse, ListTablesPagedResponse> + listTablesSettings; + private final UnaryCallSettings.Builder getTableSettings; + private final UnaryCallSettings.Builder updateTableSettings; + private final OperationCallSettings.Builder + updateTableOperationSettings; + private final UnaryCallSettings.Builder deleteTableSettings; + private final UnaryCallSettings.Builder undeleteTableSettings; + private final OperationCallSettings.Builder + undeleteTableOperationSettings; + private final UnaryCallSettings.Builder + modifyColumnFamiliesSettings; + private final UnaryCallSettings.Builder dropRowRangeSettings; + private final UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings; + private final UnaryCallSettings.Builder + checkConsistencySettings; + private final UnaryCallSettings.Builder snapshotTableSettings; + private final OperationCallSettings.Builder< + SnapshotTableRequest, Snapshot, SnapshotTableMetadata> + snapshotTableOperationSettings; + private final UnaryCallSettings.Builder getSnapshotSettings; + private final PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings; + private final UnaryCallSettings.Builder deleteSnapshotSettings; + private final UnaryCallSettings.Builder createBackupSettings; + private final OperationCallSettings.Builder + createBackupOperationSettings; + private final UnaryCallSettings.Builder getBackupSettings; + private final UnaryCallSettings.Builder updateBackupSettings; + private final UnaryCallSettings.Builder deleteBackupSettings; + private final PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings; + 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 + testIamPermissionsSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_0_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_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(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(300000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(300000L)) + .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("retry_policy_2_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(3600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(3600000L)) + .setTotalTimeout(Duration.ofMillis(3600000L)) + .build(); + 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(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + createTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createTableFromSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createTableFromSnapshotOperationSettings = OperationCallSettings.newBuilder(); + listTablesSettings = PagedCallSettings.newBuilder(LIST_TABLES_PAGE_STR_FACT); + getTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateTableOperationSettings = OperationCallSettings.newBuilder(); + deleteTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + undeleteTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + undeleteTableOperationSettings = OperationCallSettings.newBuilder(); + modifyColumnFamiliesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + dropRowRangeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateConsistencyTokenSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + checkConsistencySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + snapshotTableSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + snapshotTableOperationSettings = OperationCallSettings.newBuilder(); + getSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listSnapshotsSettings = PagedCallSettings.newBuilder(LIST_SNAPSHOTS_PAGE_STR_FACT); + deleteSnapshotSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createBackupOperationSettings = OperationCallSettings.newBuilder(); + getBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + updateBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteBackupSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + 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(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createTableSettings, + createTableFromSnapshotSettings, + listTablesSettings, + getTableSettings, + updateTableSettings, + deleteTableSettings, + undeleteTableSettings, + modifyColumnFamiliesSettings, + dropRowRangeSettings, + generateConsistencyTokenSettings, + checkConsistencySettings, + snapshotTableSettings, + getSnapshotSettings, + listSnapshotsSettings, + deleteSnapshotSettings, + createBackupSettings, + getBackupSettings, + updateBackupSettings, + deleteBackupSettings, + listBackupsSettings, + restoreTableSettings, + copyBackupSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings); + initDefaults(this); + } + + protected Builder(BigtableTableAdminStubSettings settings) { + super(settings); + + createTableSettings = settings.createTableSettings.toBuilder(); + createTableFromSnapshotSettings = settings.createTableFromSnapshotSettings.toBuilder(); + createTableFromSnapshotOperationSettings = + settings.createTableFromSnapshotOperationSettings.toBuilder(); + listTablesSettings = settings.listTablesSettings.toBuilder(); + getTableSettings = settings.getTableSettings.toBuilder(); + updateTableSettings = settings.updateTableSettings.toBuilder(); + updateTableOperationSettings = settings.updateTableOperationSettings.toBuilder(); + deleteTableSettings = settings.deleteTableSettings.toBuilder(); + undeleteTableSettings = settings.undeleteTableSettings.toBuilder(); + undeleteTableOperationSettings = settings.undeleteTableOperationSettings.toBuilder(); + modifyColumnFamiliesSettings = settings.modifyColumnFamiliesSettings.toBuilder(); + dropRowRangeSettings = settings.dropRowRangeSettings.toBuilder(); + generateConsistencyTokenSettings = settings.generateConsistencyTokenSettings.toBuilder(); + checkConsistencySettings = settings.checkConsistencySettings.toBuilder(); + snapshotTableSettings = settings.snapshotTableSettings.toBuilder(); + snapshotTableOperationSettings = settings.snapshotTableOperationSettings.toBuilder(); + getSnapshotSettings = settings.getSnapshotSettings.toBuilder(); + listSnapshotsSettings = settings.listSnapshotsSettings.toBuilder(); + deleteSnapshotSettings = settings.deleteSnapshotSettings.toBuilder(); + createBackupSettings = settings.createBackupSettings.toBuilder(); + createBackupOperationSettings = settings.createBackupOperationSettings.toBuilder(); + getBackupSettings = settings.getBackupSettings.toBuilder(); + updateBackupSettings = settings.updateBackupSettings.toBuilder(); + deleteBackupSettings = settings.deleteBackupSettings.toBuilder(); + 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(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + createTableSettings, + createTableFromSnapshotSettings, + listTablesSettings, + getTableSettings, + updateTableSettings, + deleteTableSettings, + undeleteTableSettings, + modifyColumnFamiliesSettings, + dropRowRangeSettings, + generateConsistencyTokenSettings, + checkConsistencySettings, + snapshotTableSettings, + getSnapshotSettings, + listSnapshotsSettings, + deleteSnapshotSettings, + createBackupSettings, + getBackupSettings, + updateBackupSettings, + deleteBackupSettings, + listBackupsSettings, + restoreTableSettings, + copyBackupSettings, + getIamPolicySettings, + setIamPolicySettings, + testIamPermissionsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .createTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .createTableFromSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .listTablesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .getTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .updateTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .deleteTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .undeleteTableSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .modifyColumnFamiliesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .dropRowRangeSettings() + .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_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); + + builder + .checkConsistencySettings() + .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_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .listSnapshotsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); + + builder + .deleteSnapshotSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .createBackupSettings() + .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("retry_policy_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params")); + + builder + .updateBackupSettings() + .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_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .listBackupsSettings() + .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_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .copyBackupSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .getIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params")); + + builder + .setIamPolicySettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .testIamPermissionsSettings() + .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_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create( + CreateTableFromSnapshotMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(3600000L)) + .build())); + + builder + .updateTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UpdateTableMetadata.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())); + + builder + .undeleteTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Table.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(UndeleteTableMetadata.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())); + + builder + .snapshotTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Snapshot.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(SnapshotTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .createBackupOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .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)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(CreateBackupMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build())); + + builder + .restoreTableOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .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)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(RestoreTableMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(500L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(5000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .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; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to createTable. */ + public UnaryCallSettings.Builder createTableSettings() { + return createTableSettings; + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + public UnaryCallSettings.Builder + createTableFromSnapshotSettings() { + return createTableFromSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to createTableFromSnapshot. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationSettings() { + return createTableFromSnapshotOperationSettings; + } + + /** Returns the builder for the settings used for calls to listTables. */ + public PagedCallSettings.Builder + listTablesSettings() { + return listTablesSettings; + } + + /** Returns the builder for the settings used for calls to getTable. */ + public UnaryCallSettings.Builder getTableSettings() { + return getTableSettings; + } + + /** Returns the builder for the settings used for calls to updateTable. */ + public UnaryCallSettings.Builder updateTableSettings() { + return updateTableSettings; + } + + /** Returns the builder for the settings used for calls to updateTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + updateTableOperationSettings() { + return updateTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteTable. */ + public UnaryCallSettings.Builder deleteTableSettings() { + return deleteTableSettings; + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + public UnaryCallSettings.Builder undeleteTableSettings() { + return undeleteTableSettings; + } + + /** Returns the builder for the settings used for calls to undeleteTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + undeleteTableOperationSettings() { + return undeleteTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to modifyColumnFamilies. */ + public UnaryCallSettings.Builder + modifyColumnFamiliesSettings() { + return modifyColumnFamiliesSettings; + } + + /** Returns the builder for the settings used for calls to dropRowRange. */ + public UnaryCallSettings.Builder dropRowRangeSettings() { + return dropRowRangeSettings; + } + + /** Returns the builder for the settings used for calls to generateConsistencyToken. */ + public UnaryCallSettings.Builder< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenSettings() { + return generateConsistencyTokenSettings; + } + + /** Returns the builder for the settings used for calls to checkConsistency. */ + public UnaryCallSettings.Builder + checkConsistencySettings() { + return checkConsistencySettings; + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + public UnaryCallSettings.Builder snapshotTableSettings() { + return snapshotTableSettings; + } + + /** Returns the builder for the settings used for calls to snapshotTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + snapshotTableOperationSettings() { + return snapshotTableOperationSettings; + } + + /** Returns the builder for the settings used for calls to getSnapshot. */ + public UnaryCallSettings.Builder getSnapshotSettings() { + return getSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to listSnapshots. */ + public PagedCallSettings.Builder< + ListSnapshotsRequest, ListSnapshotsResponse, ListSnapshotsPagedResponse> + listSnapshotsSettings() { + return listSnapshotsSettings; + } + + /** Returns the builder for the settings used for calls to deleteSnapshot. */ + public UnaryCallSettings.Builder deleteSnapshotSettings() { + return deleteSnapshotSettings; + } + + /** Returns the builder for the settings used for calls to createBackup. */ + public UnaryCallSettings.Builder createBackupSettings() { + return createBackupSettings; + } + + /** Returns the builder for the settings used for calls to createBackup. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + createBackupOperationSettings() { + return createBackupOperationSettings; + } + + /** Returns the builder for the settings used for calls to getBackup. */ + public UnaryCallSettings.Builder getBackupSettings() { + return getBackupSettings; + } + + /** Returns the builder for the settings used for calls to updateBackup. */ + public UnaryCallSettings.Builder updateBackupSettings() { + return updateBackupSettings; + } + + /** Returns the builder for the settings used for calls to deleteBackup. */ + public UnaryCallSettings.Builder deleteBackupSettings() { + return deleteBackupSettings; + } + + /** Returns the builder for the settings used for calls to listBackups. */ + public PagedCallSettings.Builder< + ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse> + listBackupsSettings() { + return listBackupsSettings; + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + public UnaryCallSettings.Builder restoreTableSettings() { + return restoreTableSettings; + } + + /** Returns the builder for the settings used for calls to restoreTable. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + restoreTableOperationSettings() { + 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; + } + + /** Returns the builder for the settings used for calls to setIamPolicy. */ + public UnaryCallSettings.Builder setIamPolicySettings() { + return setIamPolicySettings; + } + + /** Returns the builder for the settings used for calls to testIamPermissions. */ + public UnaryCallSettings.Builder + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @Override + public BigtableTableAdminStubSettings build() throws IOException { + return new BigtableTableAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java new file mode 100644 index 0000000000..b0f8d0468e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableInstanceAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java new file mode 100644 index 0000000000..2296216985 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java @@ -0,0 +1,896 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterMetadata; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceMetadata; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterMetadata; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileMetadata; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.bigtable.admin.v2.UpdateClusterMetadata; +import com.google.bigtable.admin.v2.UpdateInstanceMetadata; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the BigtableInstanceAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableInstanceAdminStub extends BigtableInstanceAdminStub { + private static final MethodDescriptor + createInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetInstance") + .setRequestMarshaller(ProtoUtils.marshaller(GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listInstancesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListInstances") + .setRequestMarshaller( + ProtoUtils.marshaller(ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListInstancesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateInstance") + .setRequestMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Instance.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + partialUpdateInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(PartialUpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteInstanceMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteInstance") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateCluster") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetCluster") + .setRequestMarshaller(ProtoUtils.marshaller(GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Cluster.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listClustersMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListClusters") + .setRequestMarshaller(ProtoUtils.marshaller(ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListClustersResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateCluster") + .setRequestMarshaller(ProtoUtils.marshaller(Cluster.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + partialUpdateClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/PartialUpdateCluster") + .setRequestMarshaller( + ProtoUtils.marshaller(PartialUpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteClusterMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteCluster") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/CreateAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AppProfile.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + getAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(GetAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(AppProfile.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listAppProfilesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListAppProfiles") + .setRequestMarshaller( + ProtoUtils.marshaller(ListAppProfilesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListAppProfilesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + updateAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/UpdateAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(UpdateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteAppProfileMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/DeleteAppProfile") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableInstanceAdmin/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listHotTabletsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableInstanceAdmin/ListHotTablets") + .setRequestMarshaller( + ProtoUtils.marshaller(ListHotTabletsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListHotTabletsResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable createInstanceCallable; + private final OperationCallable + createInstanceOperationCallable; + private final UnaryCallable getInstanceCallable; + private final UnaryCallable listInstancesCallable; + private final UnaryCallable updateInstanceCallable; + private final UnaryCallable + partialUpdateInstanceCallable; + private final OperationCallable + partialUpdateInstanceOperationCallable; + private final UnaryCallable deleteInstanceCallable; + private final UnaryCallable createClusterCallable; + private final OperationCallable + createClusterOperationCallable; + private final UnaryCallable getClusterCallable; + private final UnaryCallable listClustersCallable; + private final UnaryCallable updateClusterCallable; + private final OperationCallable + updateClusterOperationCallable; + private final UnaryCallable partialUpdateClusterCallable; + private final OperationCallable< + PartialUpdateClusterRequest, Cluster, PartialUpdateClusterMetadata> + partialUpdateClusterOperationCallable; + private final UnaryCallable deleteClusterCallable; + private final UnaryCallable createAppProfileCallable; + private final UnaryCallable getAppProfileCallable; + private final UnaryCallable + listAppProfilesCallable; + private final UnaryCallable + listAppProfilesPagedCallable; + private final UnaryCallable updateAppProfileCallable; + private final OperationCallable + updateAppProfileOperationCallable; + private final UnaryCallable deleteAppProfileCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable listHotTabletsCallable; + private final UnaryCallable + listHotTabletsPagedCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcBigtableInstanceAdminStub create( + BigtableInstanceAdminStubSettings settings) throws IOException { + return new GrpcBigtableInstanceAdminStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableInstanceAdminStub create(ClientContext clientContext) + throws IOException { + return new GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableInstanceAdminStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableInstanceAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcBigtableInstanceAdminCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableInstanceAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableInstanceAdminStub( + BigtableInstanceAdminStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings createInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listInstancesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listInstancesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + partialUpdateInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("instance.name", String.valueOf(request.getInstance().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteInstanceTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteInstanceMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listClustersTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listClustersMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings partialUpdateClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(partialUpdateClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("cluster.name", String.valueOf(request.getCluster().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteClusterTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteClusterMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listAppProfilesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listAppProfilesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + "app_profile.name", String.valueOf(request.getAppProfile().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteAppProfileTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteAppProfileMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + listHotTabletsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listHotTabletsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + + this.createInstanceCallable = + callableFactory.createUnaryCallable( + createInstanceTransportSettings, settings.createInstanceSettings(), clientContext); + this.createInstanceOperationCallable = + callableFactory.createOperationCallable( + createInstanceTransportSettings, + settings.createInstanceOperationSettings(), + clientContext, + operationsStub); + this.getInstanceCallable = + callableFactory.createUnaryCallable( + getInstanceTransportSettings, settings.getInstanceSettings(), clientContext); + this.listInstancesCallable = + callableFactory.createUnaryCallable( + listInstancesTransportSettings, settings.listInstancesSettings(), clientContext); + this.updateInstanceCallable = + callableFactory.createUnaryCallable( + updateInstanceTransportSettings, settings.updateInstanceSettings(), clientContext); + this.partialUpdateInstanceCallable = + callableFactory.createUnaryCallable( + partialUpdateInstanceTransportSettings, + settings.partialUpdateInstanceSettings(), + clientContext); + this.partialUpdateInstanceOperationCallable = + callableFactory.createOperationCallable( + partialUpdateInstanceTransportSettings, + settings.partialUpdateInstanceOperationSettings(), + clientContext, + operationsStub); + this.deleteInstanceCallable = + callableFactory.createUnaryCallable( + deleteInstanceTransportSettings, settings.deleteInstanceSettings(), clientContext); + this.createClusterCallable = + callableFactory.createUnaryCallable( + createClusterTransportSettings, settings.createClusterSettings(), clientContext); + this.createClusterOperationCallable = + callableFactory.createOperationCallable( + createClusterTransportSettings, + settings.createClusterOperationSettings(), + clientContext, + operationsStub); + this.getClusterCallable = + callableFactory.createUnaryCallable( + getClusterTransportSettings, settings.getClusterSettings(), clientContext); + this.listClustersCallable = + callableFactory.createUnaryCallable( + listClustersTransportSettings, settings.listClustersSettings(), clientContext); + this.updateClusterCallable = + callableFactory.createUnaryCallable( + updateClusterTransportSettings, settings.updateClusterSettings(), clientContext); + this.updateClusterOperationCallable = + callableFactory.createOperationCallable( + updateClusterTransportSettings, + settings.updateClusterOperationSettings(), + clientContext, + operationsStub); + this.partialUpdateClusterCallable = + callableFactory.createUnaryCallable( + partialUpdateClusterTransportSettings, + settings.partialUpdateClusterSettings(), + clientContext); + this.partialUpdateClusterOperationCallable = + callableFactory.createOperationCallable( + partialUpdateClusterTransportSettings, + settings.partialUpdateClusterOperationSettings(), + clientContext, + operationsStub); + this.deleteClusterCallable = + callableFactory.createUnaryCallable( + deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext); + this.createAppProfileCallable = + callableFactory.createUnaryCallable( + createAppProfileTransportSettings, settings.createAppProfileSettings(), clientContext); + this.getAppProfileCallable = + callableFactory.createUnaryCallable( + getAppProfileTransportSettings, settings.getAppProfileSettings(), clientContext); + this.listAppProfilesCallable = + callableFactory.createUnaryCallable( + listAppProfilesTransportSettings, settings.listAppProfilesSettings(), clientContext); + this.listAppProfilesPagedCallable = + callableFactory.createPagedCallable( + listAppProfilesTransportSettings, settings.listAppProfilesSettings(), clientContext); + this.updateAppProfileCallable = + callableFactory.createUnaryCallable( + updateAppProfileTransportSettings, settings.updateAppProfileSettings(), clientContext); + this.updateAppProfileOperationCallable = + callableFactory.createOperationCallable( + updateAppProfileTransportSettings, + settings.updateAppProfileOperationSettings(), + clientContext, + operationsStub); + this.deleteAppProfileCallable = + callableFactory.createUnaryCallable( + deleteAppProfileTransportSettings, settings.deleteAppProfileSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.listHotTabletsCallable = + callableFactory.createUnaryCallable( + listHotTabletsTransportSettings, settings.listHotTabletsSettings(), clientContext); + this.listHotTabletsPagedCallable = + callableFactory.createPagedCallable( + listHotTabletsTransportSettings, settings.listHotTabletsSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable createInstanceCallable() { + return createInstanceCallable; + } + + @Override + public OperationCallable + createInstanceOperationCallable() { + return createInstanceOperationCallable; + } + + @Override + public UnaryCallable getInstanceCallable() { + return getInstanceCallable; + } + + @Override + public UnaryCallable listInstancesCallable() { + return listInstancesCallable; + } + + @Override + public UnaryCallable updateInstanceCallable() { + return updateInstanceCallable; + } + + @Override + public UnaryCallable partialUpdateInstanceCallable() { + return partialUpdateInstanceCallable; + } + + @Override + public OperationCallable + partialUpdateInstanceOperationCallable() { + return partialUpdateInstanceOperationCallable; + } + + @Override + public UnaryCallable deleteInstanceCallable() { + return deleteInstanceCallable; + } + + @Override + public UnaryCallable createClusterCallable() { + return createClusterCallable; + } + + @Override + public OperationCallable + createClusterOperationCallable() { + return createClusterOperationCallable; + } + + @Override + public UnaryCallable getClusterCallable() { + return getClusterCallable; + } + + @Override + public UnaryCallable listClustersCallable() { + return listClustersCallable; + } + + @Override + public UnaryCallable updateClusterCallable() { + return updateClusterCallable; + } + + @Override + public OperationCallable + updateClusterOperationCallable() { + return updateClusterOperationCallable; + } + + @Override + public UnaryCallable partialUpdateClusterCallable() { + return partialUpdateClusterCallable; + } + + @Override + public OperationCallable + partialUpdateClusterOperationCallable() { + return partialUpdateClusterOperationCallable; + } + + @Override + public UnaryCallable deleteClusterCallable() { + return deleteClusterCallable; + } + + @Override + public UnaryCallable createAppProfileCallable() { + return createAppProfileCallable; + } + + @Override + public UnaryCallable getAppProfileCallable() { + return getAppProfileCallable; + } + + @Override + public UnaryCallable listAppProfilesCallable() { + return listAppProfilesCallable; + } + + @Override + public UnaryCallable + listAppProfilesPagedCallable() { + return listAppProfilesPagedCallable; + } + + @Override + public UnaryCallable updateAppProfileCallable() { + return updateAppProfileCallable; + } + + @Override + public OperationCallable + updateAppProfileOperationCallable() { + return updateAppProfileOperationCallable; + } + + @Override + public UnaryCallable deleteAppProfileCallable() { + return deleteAppProfileCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable listHotTabletsCallable() { + return listHotTabletsCallable; + } + + @Override + public UnaryCallable + listHotTabletsPagedCallable() { + return listHotTabletsPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java new file mode 100644 index 0000000000..05b6fc6edf --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the BigtableTableAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java new file mode 100644 index 0000000000..4d3a8d187e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java @@ -0,0 +1,1037 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2.stub; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +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; +import com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest; +import com.google.bigtable.admin.v2.CreateTableRequest; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableMetadata; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableMetadata; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableMetadata; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableMetadata; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// 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. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableTableAdminStub extends BigtableTableAdminStub { + private static final MethodDescriptor createTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateTable") + .setRequestMarshaller(ProtoUtils.marshaller(CreateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createTableFromSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/CreateTableFromSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(CreateTableFromSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listTablesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListTables") + .setRequestMarshaller(ProtoUtils.marshaller(ListTablesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ListTablesResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetTable") + .setRequestMarshaller(ProtoUtils.marshaller(GetTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateTable") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteTable") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + undeleteTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UndeleteTable") + .setRequestMarshaller( + ProtoUtils.marshaller(UndeleteTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + modifyColumnFamiliesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ModifyColumnFamilies") + .setRequestMarshaller( + ProtoUtils.marshaller(ModifyColumnFamiliesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Table.getDefaultInstance())) + .build(); + + private static final MethodDescriptor dropRowRangeMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DropRowRange") + .setRequestMarshaller(ProtoUtils.marshaller(DropRowRangeRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse> + generateConsistencyTokenMethodDescriptor = + MethodDescriptor + .newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + "google.bigtable.admin.v2.BigtableTableAdmin/GenerateConsistencyToken") + .setRequestMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(GenerateConsistencyTokenResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkConsistencyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CheckConsistency") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckConsistencyRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckConsistencyResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + snapshotTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SnapshotTable") + .setRequestMarshaller( + ProtoUtils.marshaller(SnapshotTableRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetSnapshot") + .setRequestMarshaller(ProtoUtils.marshaller(GetSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Snapshot.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listSnapshotsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListSnapshots") + .setRequestMarshaller( + ProtoUtils.marshaller(ListSnapshotsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListSnapshotsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + deleteSnapshotMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteSnapshot") + .setRequestMarshaller( + ProtoUtils.marshaller(DeleteSnapshotRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + createBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/CreateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(CreateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetBackup") + .setRequestMarshaller(ProtoUtils.marshaller(GetBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor updateBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/UpdateBackup") + .setRequestMarshaller(ProtoUtils.marshaller(UpdateBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Backup.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteBackupMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/DeleteBackup") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteBackupRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Empty.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listBackupsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/ListBackups") + .setRequestMarshaller(ProtoUtils.marshaller(ListBackupsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListBackupsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + restoreTableMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/RestoreTable") + .setRequestMarshaller(ProtoUtils.marshaller(RestoreTableRequest.getDefaultInstance())) + .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) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/GetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor setIamPolicyMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/SetIamPolicy") + .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + testIamPermissionsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.admin.v2.BigtableTableAdmin/TestIamPermissions") + .setRequestMarshaller( + ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable createTableCallable; + private final UnaryCallable + createTableFromSnapshotCallable; + private final OperationCallable< + CreateTableFromSnapshotRequest, Table, CreateTableFromSnapshotMetadata> + createTableFromSnapshotOperationCallable; + private final UnaryCallable listTablesCallable; + private final UnaryCallable listTablesPagedCallable; + private final UnaryCallable getTableCallable; + private final UnaryCallable updateTableCallable; + private final OperationCallable + updateTableOperationCallable; + private final UnaryCallable deleteTableCallable; + private final UnaryCallable undeleteTableCallable; + private final OperationCallable + undeleteTableOperationCallable; + private final UnaryCallable modifyColumnFamiliesCallable; + private final UnaryCallable dropRowRangeCallable; + private final UnaryCallable + generateConsistencyTokenCallable; + private final UnaryCallable + checkConsistencyCallable; + private final UnaryCallable snapshotTableCallable; + private final OperationCallable + snapshotTableOperationCallable; + private final UnaryCallable getSnapshotCallable; + private final UnaryCallable listSnapshotsCallable; + private final UnaryCallable + listSnapshotsPagedCallable; + private final UnaryCallable deleteSnapshotCallable; + private final UnaryCallable createBackupCallable; + private final OperationCallable + createBackupOperationCallable; + private final UnaryCallable getBackupCallable; + private final UnaryCallable updateBackupCallable; + private final UnaryCallable deleteBackupCallable; + private final UnaryCallable listBackupsCallable; + private final UnaryCallable + listBackupsPagedCallable; + 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 + testIamPermissionsCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcBigtableTableAdminStub create(BigtableTableAdminStubSettings settings) + throws IOException { + return new GrpcBigtableTableAdminStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableTableAdminStub create(ClientContext clientContext) + throws IOException { + return new GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableTableAdminStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableTableAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new GrpcBigtableTableAdminCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableTableAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected GrpcBigtableTableAdminStub( + BigtableTableAdminStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings createTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings + createTableFromSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createTableFromSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings listTablesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listTablesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table.name", String.valueOf(request.getTable().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings undeleteTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(undeleteTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings modifyColumnFamiliesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(modifyColumnFamiliesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings dropRowRangeTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(dropRowRangeMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + generateConsistencyTokenTransportSettings = + GrpcCallSettings + .newBuilder() + .setMethodDescriptor(generateConsistencyTokenMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkConsistencyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkConsistencyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings snapshotTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(snapshotTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings getSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listSnapshotsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listSnapshotsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteSnapshotTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteSnapshotMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings createBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings updateBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(updateBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("backup.name", String.valueOf(request.getBackup().getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("name", String.valueOf(request.getName())); + return builder.build(); + }) + .build(); + GrpcCallSettings listBackupsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listBackupsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings restoreTableTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(restoreTableMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings copyBackupTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(copyBackupMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("parent", String.valueOf(request.getParent())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings setIamPolicyTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + GrpcCallSettings + testIamPermissionsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("resource", String.valueOf(request.getResource())); + return builder.build(); + }) + .build(); + + this.createTableCallable = + callableFactory.createUnaryCallable( + createTableTransportSettings, settings.createTableSettings(), clientContext); + this.createTableFromSnapshotCallable = + callableFactory.createUnaryCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotSettings(), + clientContext); + this.createTableFromSnapshotOperationCallable = + callableFactory.createOperationCallable( + createTableFromSnapshotTransportSettings, + settings.createTableFromSnapshotOperationSettings(), + clientContext, + operationsStub); + this.listTablesCallable = + callableFactory.createUnaryCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.listTablesPagedCallable = + callableFactory.createPagedCallable( + listTablesTransportSettings, settings.listTablesSettings(), clientContext); + this.getTableCallable = + callableFactory.createUnaryCallable( + getTableTransportSettings, settings.getTableSettings(), clientContext); + this.updateTableCallable = + callableFactory.createUnaryCallable( + updateTableTransportSettings, settings.updateTableSettings(), clientContext); + this.updateTableOperationCallable = + callableFactory.createOperationCallable( + updateTableTransportSettings, + settings.updateTableOperationSettings(), + clientContext, + operationsStub); + this.deleteTableCallable = + callableFactory.createUnaryCallable( + deleteTableTransportSettings, settings.deleteTableSettings(), clientContext); + this.undeleteTableCallable = + callableFactory.createUnaryCallable( + undeleteTableTransportSettings, settings.undeleteTableSettings(), clientContext); + this.undeleteTableOperationCallable = + callableFactory.createOperationCallable( + undeleteTableTransportSettings, + settings.undeleteTableOperationSettings(), + clientContext, + operationsStub); + this.modifyColumnFamiliesCallable = + callableFactory.createUnaryCallable( + modifyColumnFamiliesTransportSettings, + settings.modifyColumnFamiliesSettings(), + clientContext); + this.dropRowRangeCallable = + callableFactory.createUnaryCallable( + dropRowRangeTransportSettings, settings.dropRowRangeSettings(), clientContext); + this.generateConsistencyTokenCallable = + callableFactory.createUnaryCallable( + generateConsistencyTokenTransportSettings, + settings.generateConsistencyTokenSettings(), + clientContext); + this.checkConsistencyCallable = + callableFactory.createUnaryCallable( + checkConsistencyTransportSettings, settings.checkConsistencySettings(), clientContext); + this.snapshotTableCallable = + callableFactory.createUnaryCallable( + snapshotTableTransportSettings, settings.snapshotTableSettings(), clientContext); + this.snapshotTableOperationCallable = + callableFactory.createOperationCallable( + snapshotTableTransportSettings, + settings.snapshotTableOperationSettings(), + clientContext, + operationsStub); + this.getSnapshotCallable = + callableFactory.createUnaryCallable( + getSnapshotTransportSettings, settings.getSnapshotSettings(), clientContext); + this.listSnapshotsCallable = + callableFactory.createUnaryCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.listSnapshotsPagedCallable = + callableFactory.createPagedCallable( + listSnapshotsTransportSettings, settings.listSnapshotsSettings(), clientContext); + this.deleteSnapshotCallable = + callableFactory.createUnaryCallable( + deleteSnapshotTransportSettings, settings.deleteSnapshotSettings(), clientContext); + this.createBackupCallable = + callableFactory.createUnaryCallable( + createBackupTransportSettings, settings.createBackupSettings(), clientContext); + this.createBackupOperationCallable = + callableFactory.createOperationCallable( + createBackupTransportSettings, + settings.createBackupOperationSettings(), + clientContext, + operationsStub); + this.getBackupCallable = + callableFactory.createUnaryCallable( + getBackupTransportSettings, settings.getBackupSettings(), clientContext); + this.updateBackupCallable = + callableFactory.createUnaryCallable( + updateBackupTransportSettings, settings.updateBackupSettings(), clientContext); + this.deleteBackupCallable = + callableFactory.createUnaryCallable( + deleteBackupTransportSettings, settings.deleteBackupSettings(), clientContext); + this.listBackupsCallable = + callableFactory.createUnaryCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.listBackupsPagedCallable = + callableFactory.createPagedCallable( + listBackupsTransportSettings, settings.listBackupsSettings(), clientContext); + this.restoreTableCallable = + callableFactory.createUnaryCallable( + restoreTableTransportSettings, settings.restoreTableSettings(), clientContext); + this.restoreTableOperationCallable = + callableFactory.createOperationCallable( + restoreTableTransportSettings, + 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); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable createTableCallable() { + return createTableCallable; + } + + @Override + public UnaryCallable + createTableFromSnapshotCallable() { + return createTableFromSnapshotCallable; + } + + @Override + public OperationCallable + createTableFromSnapshotOperationCallable() { + return createTableFromSnapshotOperationCallable; + } + + @Override + public UnaryCallable listTablesCallable() { + return listTablesCallable; + } + + @Override + public UnaryCallable listTablesPagedCallable() { + return listTablesPagedCallable; + } + + @Override + public UnaryCallable getTableCallable() { + return getTableCallable; + } + + @Override + public UnaryCallable updateTableCallable() { + return updateTableCallable; + } + + @Override + public OperationCallable + updateTableOperationCallable() { + return updateTableOperationCallable; + } + + @Override + public UnaryCallable deleteTableCallable() { + return deleteTableCallable; + } + + @Override + public UnaryCallable undeleteTableCallable() { + return undeleteTableCallable; + } + + @Override + public OperationCallable + undeleteTableOperationCallable() { + return undeleteTableOperationCallable; + } + + @Override + public UnaryCallable modifyColumnFamiliesCallable() { + return modifyColumnFamiliesCallable; + } + + @Override + public UnaryCallable dropRowRangeCallable() { + return dropRowRangeCallable; + } + + @Override + public UnaryCallable + generateConsistencyTokenCallable() { + return generateConsistencyTokenCallable; + } + + @Override + public UnaryCallable + checkConsistencyCallable() { + return checkConsistencyCallable; + } + + @Override + public UnaryCallable snapshotTableCallable() { + return snapshotTableCallable; + } + + @Override + public OperationCallable + snapshotTableOperationCallable() { + return snapshotTableOperationCallable; + } + + @Override + public UnaryCallable getSnapshotCallable() { + return getSnapshotCallable; + } + + @Override + public UnaryCallable listSnapshotsCallable() { + return listSnapshotsCallable; + } + + @Override + public UnaryCallable + listSnapshotsPagedCallable() { + return listSnapshotsPagedCallable; + } + + @Override + public UnaryCallable deleteSnapshotCallable() { + return deleteSnapshotCallable; + } + + @Override + public UnaryCallable createBackupCallable() { + return createBackupCallable; + } + + @Override + public OperationCallable + createBackupOperationCallable() { + return createBackupOperationCallable; + } + + @Override + public UnaryCallable getBackupCallable() { + return getBackupCallable; + } + + @Override + public UnaryCallable updateBackupCallable() { + return updateBackupCallable; + } + + @Override + public UnaryCallable deleteBackupCallable() { + return deleteBackupCallable; + } + + @Override + public UnaryCallable listBackupsCallable() { + return listBackupsCallable; + } + + @Override + public UnaryCallable listBackupsPagedCallable() { + return listBackupsPagedCallable; + } + + @Override + public UnaryCallable restoreTableCallable() { + return restoreTableCallable; + } + + @Override + public OperationCallable + restoreTableOperationCallable() { + return restoreTableOperationCallable; + } + + @Override + public UnaryCallable copyBackupCallable() { + return copyBackupCallable; + } + + @Override + public OperationCallable + copyBackupOperationCallable() { + return copyBackupOperationCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java new file mode 100644 index 0000000000..ce3cfa664d --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClient.java @@ -0,0 +1,1376 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.TableName; +import com.google.cloud.bigtable.data.v2.stub.BigtableStub; +import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; +import com.google.protobuf.ByteString; +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 reading from and writing to existing Bigtable 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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+ *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+ *   ByteString rowKey = ByteString.EMPTY;
+ *   List mutations = new ArrayList<>();
+ *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the BaseBigtableDataClient 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 BaseBigtableDataSettings 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
+ * BaseBigtableDataSettings baseBigtableDataSettings =
+ *     BaseBigtableDataSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * BaseBigtableDataClient baseBigtableDataClient =
+ *     BaseBigtableDataClient.create(baseBigtableDataSettings);
+ * }
+ * + *

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
+ * BaseBigtableDataSettings baseBigtableDataSettings =
+ *     BaseBigtableDataSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * BaseBigtableDataClient baseBigtableDataClient =
+ *     BaseBigtableDataClient.create(baseBigtableDataSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class BaseBigtableDataClient implements BackgroundResource { + private final BaseBigtableDataSettings settings; + private final BigtableStub stub; + + /** Constructs an instance of BaseBigtableDataClient with default settings. */ + public static final BaseBigtableDataClient create() throws IOException { + return create(BaseBigtableDataSettings.newBuilder().build()); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final BaseBigtableDataClient create(BaseBigtableDataSettings settings) + throws IOException { + return new BaseBigtableDataClient(settings); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given stub for making calls. This + * is for advanced usage - prefer using create(BaseBigtableDataSettings). + */ + public static final BaseBigtableDataClient create(BigtableStub stub) { + return new BaseBigtableDataClient(stub); + } + + /** + * Constructs an instance of BaseBigtableDataClient, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected BaseBigtableDataClient(BaseBigtableDataSettings settings) throws IOException { + this.settings = settings; + this.stub = ((BigtableStubSettings) settings.getStubSettings()).createStub(); + } + + protected BaseBigtableDataClient(BigtableStub stub) { + this.settings = null; + this.stub = stub; + } + + public final BaseBigtableDataSettings getSettings() { + return settings; + } + + public BigtableStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Streams back the contents of all requested rows in key order, optionally applying the same + * Reader filter to each. Depending on their size, rows and cells may be broken up across multiple + * responses, but atomicity of each row will still be preserved. See the ReadRowsResponse + * documentation for details. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadRowsRequest request =
+   *       ReadRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRows(RowSet.newBuilder().build())
+   *           .setFilter(RowFilter.newBuilder().build())
+   *           .setRowsLimit(-944199211)
+   *           .setReversed(true)
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.readRowsCallable().call(request);
+   *   for (ReadRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable readRowsCallable() { + return stub.readRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns a sample of row keys in the table. The returned row keys will delimit contiguous + * sections of the table of approximately equal size, which can be used to break up the data for + * distributed tasks like mapreduces. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   SampleRowKeysRequest request =
+   *       SampleRowKeysRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.sampleRowKeysCallable().call(request);
+   *   for (SampleRowKeysResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable + sampleRowKeysCallable() { + return stub.sampleRowKeysCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + TableName tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List mutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   MutateRowResponse response =
+   *       baseBigtableDataClient.mutateRow(tableName, rowKey, mutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the mutation should be + * applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the mutation should be applied. + * @param mutations Required. Changes to be atomically applied to the specified row. Entries are + * applied in order, meaning that earlier mutations can be masked by later ones. Must contain + * at least one entry and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final MutateRowResponse mutateRow( + String tableName, ByteString rowKey, List mutations, String appProfileId) { + MutateRowRequest request = + MutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllMutations(mutations) + .setAppProfileId(appProfileId) + .build(); + return mutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   MutateRowResponse response = baseBigtableDataClient.mutateRow(request);
+   * }
+   * }
+ * + * @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 MutateRowResponse mutateRow(MutateRowRequest request) { + return mutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically. Cells already present in the row are left unchanged unless explicitly + * changed by `mutation`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowRequest request =
+   *       MutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.mutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   MutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable mutateRowCallable() { + return stub.mutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates multiple rows in a batch. Each individual row is mutated atomically as in MutateRow, + * but the entire batch is not executed atomically. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   MutateRowsRequest request =
+   *       MutateRowsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .addAllEntries(new ArrayList())
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.mutateRowsCallable().call(request);
+   *   for (MutateRowsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable mutateRowsCallable() { + return stub.mutateRowsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + TableName tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + String tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + TableName tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations, + String appProfileId) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .setAppProfileId(appProfileId) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   RowFilter predicateFilter = RowFilter.newBuilder().build();
+   *   List trueMutations = new ArrayList<>();
+   *   List falseMutations = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   CheckAndMutateRowResponse response =
+   *       baseBigtableDataClient.checkAndMutateRow(
+   *           tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the conditional mutation + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the conditional mutation should be applied. + * @param predicateFilter The filter to be applied to the contents of the specified row. Depending + * on whether or not any results are yielded, either `true_mutations` or `false_mutations` + * will be executed. If unset, checks that the row contains any values at all. + * @param trueMutations Changes to be atomically applied to the specified row if + * `predicate_filter` yields at least one cell when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `false_mutations` is empty, and at most 100000. + * @param falseMutations Changes to be atomically applied to the specified row if + * `predicate_filter` does not yield any cells when applied to `row_key`. Entries are applied + * in order, meaning that earlier mutations can be masked by later ones. Must contain at least + * one entry if `true_mutations` is empty, and at most 100000. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final CheckAndMutateRowResponse checkAndMutateRow( + String tableName, + ByteString rowKey, + RowFilter predicateFilter, + List trueMutations, + List falseMutations, + String appProfileId) { + CheckAndMutateRowRequest request = + CheckAndMutateRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .setPredicateFilter(predicateFilter) + .addAllTrueMutations(trueMutations) + .addAllFalseMutations(falseMutations) + .setAppProfileId(appProfileId) + .build(); + return checkAndMutateRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   CheckAndMutateRowResponse response = baseBigtableDataClient.checkAndMutateRow(request);
+   * }
+   * }
+ * + * @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 CheckAndMutateRowResponse checkAndMutateRow(CheckAndMutateRowRequest request) { + return checkAndMutateRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Mutates a row atomically based on the output of a predicate Reader filter. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   CheckAndMutateRowRequest request =
+   *       CheckAndMutateRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .setPredicateFilter(RowFilter.newBuilder().build())
+   *           .addAllTrueMutations(new ArrayList())
+   *           .addAllFalseMutations(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.checkAndMutateRowCallable().futureCall(request);
+   *   // Do something.
+   *   CheckAndMutateRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + checkAndMutateRowCallable() { + return stub.checkAndMutateRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name == null ? null : name.toString()).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name) { + PingAndWarmRequest request = PingAndWarmRequest.newBuilder().setName(name).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]");
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(InstanceName name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .setAppProfileId(appProfileId) + .build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String name = InstanceName.of("[PROJECT]", "[INSTANCE]").toString();
+   *   String appProfileId = "appProfileId704923523";
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(name, appProfileId);
+   * }
+   * }
+ * + * @param name Required. The unique name of the instance to check permissions for as well as + * respond. Values are of the form `projects/<project>/instances/<instance>`. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final PingAndWarmResponse pingAndWarm(String name, String appProfileId) { + PingAndWarmRequest request = + PingAndWarmRequest.newBuilder().setName(name).setAppProfileId(appProfileId).build(); + return pingAndWarm(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   PingAndWarmResponse response = baseBigtableDataClient.pingAndWarm(request);
+   * }
+   * }
+ * + * @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 PingAndWarmResponse pingAndWarm(PingAndWarmRequest request) { + return pingAndWarmCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Warm up associated instance metadata for this connection. This call is not required but may be + * useful for connection keep-alive. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   PingAndWarmRequest request =
+   *       PingAndWarmRequest.newBuilder()
+   *           .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.pingAndWarmCallable().futureCall(request);
+   *   // Do something.
+   *   PingAndWarmResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable pingAndWarmCallable() { + return stub.pingAndWarmCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + TableName tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + TableName tableName, + ByteString rowKey, + List rules, + String appProfileId) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName == null ? null : tableName.toString()) + .setRowKey(rowKey) + .addAllRules(rules) + .setAppProfileId(appProfileId) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   String tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString();
+   *   ByteString rowKey = ByteString.EMPTY;
+   *   List rules = new ArrayList<>();
+   *   String appProfileId = "appProfileId704923523";
+   *   ReadModifyWriteRowResponse response =
+   *       baseBigtableDataClient.readModifyWriteRow(tableName, rowKey, rules, appProfileId);
+   * }
+   * }
+ * + * @param tableName Required. The unique name of the table to which the read/modify/write rules + * should be applied. Values are of the form + * `projects/<project>/instances/<instance>/tables/<table>`. + * @param rowKey Required. The key of the row to which the read/modify/write rules should be + * applied. + * @param rules Required. Rules specifying how the specified row's contents are to be transformed + * into writes. Entries are applied in order, meaning that earlier rules will affect the + * results of later ones. + * @param appProfileId This value specifies routing for replication. If not specified, the + * "default" application profile will be used. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ReadModifyWriteRowResponse readModifyWriteRow( + String tableName, ByteString rowKey, List rules, String appProfileId) { + ReadModifyWriteRowRequest request = + ReadModifyWriteRowRequest.newBuilder() + .setTableName(tableName) + .setRowKey(rowKey) + .addAllRules(rules) + .setAppProfileId(appProfileId) + .build(); + return readModifyWriteRow(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ReadModifyWriteRowResponse response = baseBigtableDataClient.readModifyWriteRow(request);
+   * }
+   * }
+ * + * @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 ReadModifyWriteRowResponse readModifyWriteRow(ReadModifyWriteRowRequest request) { + return readModifyWriteRowCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Modifies a row atomically on the server. The method reads the latest existing timestamp and + * value from the specified columns and writes a new entry based on pre-defined read/modify/write + * rules. The new value for the timestamp is the greater of the existing timestamp or the current + * server time. The method returns the new contents of all modified cells. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadModifyWriteRowRequest request =
+   *       ReadModifyWriteRowRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setRowKey(ByteString.EMPTY)
+   *           .addAllRules(new ArrayList())
+   *           .build();
+   *   ApiFuture future =
+   *       baseBigtableDataClient.readModifyWriteRowCallable().futureCall(request);
+   *   // Do something.
+   *   ReadModifyWriteRowResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + readModifyWriteRowCallable() { + return stub.readModifyWriteRowCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Returns the current list of + * partitions that make up the table's change stream. The union of partitions will cover the + * entire keyspace. Partitions can be read with `ReadChangeStream`. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   GenerateInitialChangeStreamPartitionsRequest request =
+   *       GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.generateInitialChangeStreamPartitionsCallable().call(request);
+   *   for (GenerateInitialChangeStreamPartitionsResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return stub.generateInitialChangeStreamPartitionsCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * NOTE: This API is intended to be used by Apache Beam BigtableIO. Reads changes from a table's + * change stream. Changes will reflect both user-initiated mutations and mutations that are caused + * by garbage collection. + * + *

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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+   *   ReadChangeStreamRequest request =
+   *       ReadChangeStreamRequest.newBuilder()
+   *           .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString())
+   *           .setAppProfileId("appProfileId704923523")
+   *           .setPartition(StreamPartition.newBuilder().build())
+   *           .setEndTime(Timestamp.newBuilder().build())
+   *           .setHeartbeatDuration(Duration.newBuilder().build())
+   *           .build();
+   *   ServerStream stream =
+   *       baseBigtableDataClient.readChangeStreamCallable().call(request);
+   *   for (ReadChangeStreamResponse response : stream) {
+   *     // Do something when a response is received.
+   *   }
+   * }
+   * }
+ */ + public final ServerStreamingCallable + readChangeStreamCallable() { + return stub.readChangeStreamCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java new file mode 100644 index 0000000000..61110141c0 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataSettings.java @@ -0,0 +1,308 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.cloud.bigtable.data.v2.stub.BigtableStubSettings; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BaseBigtableDataClient}. + * + *

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

    + *
  • The default service address (bigtable.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 mutateRow 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
+ * BaseBigtableDataSettings.Builder baseBigtableDataSettingsBuilder =
+ *     BaseBigtableDataSettings.newBuilder();
+ * baseBigtableDataSettingsBuilder
+ *     .mutateRowSettings()
+ *     .setRetrySettings(
+ *         baseBigtableDataSettingsBuilder
+ *             .mutateRowSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BaseBigtableDataSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BaseBigtableDataSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).readRowsSettings(); + } + + /** Returns the object with the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings + sampleRowKeysSettings() { + return ((BigtableStubSettings) getStubSettings()).sampleRowKeysSettings(); + } + + /** Returns the object with the settings used for calls to mutateRow. */ + public UnaryCallSettings mutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowSettings(); + } + + /** Returns the object with the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings mutateRowsSettings() { + return ((BigtableStubSettings) getStubSettings()).mutateRowsSettings(); + } + + /** Returns the object with the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings + checkAndMutateRowSettings() { + return ((BigtableStubSettings) getStubSettings()).checkAndMutateRowSettings(); + } + + /** Returns the object with the settings used for calls to pingAndWarm. */ + public UnaryCallSettings pingAndWarmSettings() { + return ((BigtableStubSettings) getStubSettings()).pingAndWarmSettings(); + } + + /** Returns the object with the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings + readModifyWriteRowSettings() { + return ((BigtableStubSettings) getStubSettings()).readModifyWriteRowSettings(); + } + + /** + * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return ((BigtableStubSettings) getStubSettings()) + .generateInitialChangeStreamPartitionsSettings(); + } + + /** Returns the object with the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings + readChangeStreamSettings() { + return ((BigtableStubSettings) getStubSettings()).readChangeStreamSettings(); + } + + public static final BaseBigtableDataSettings create(BigtableStubSettings stub) + throws IOException { + return new BaseBigtableDataSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return BigtableStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return BigtableStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return BigtableStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return BigtableStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return BigtableStubSettings.defaultGrpcTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return BigtableStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return BigtableStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BaseBigtableDataSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for BaseBigtableDataSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(BigtableStubSettings.newBuilder(clientContext)); + } + + protected Builder(BaseBigtableDataSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(BigtableStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(BigtableStubSettings.newBuilder()); + } + + public BigtableStubSettings.Builder getStubSettingsBuilder() { + return ((BigtableStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to readRows. */ + public ServerStreamingCallSettings.Builder + readRowsSettings() { + return getStubSettingsBuilder().readRowsSettings(); + } + + /** Returns the builder for the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings.Builder + sampleRowKeysSettings() { + return getStubSettingsBuilder().sampleRowKeysSettings(); + } + + /** Returns the builder for the settings used for calls to mutateRow. */ + public UnaryCallSettings.Builder mutateRowSettings() { + return getStubSettingsBuilder().mutateRowSettings(); + } + + /** Returns the builder for the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings.Builder + mutateRowsSettings() { + return getStubSettingsBuilder().mutateRowsSettings(); + } + + /** Returns the builder for the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings.Builder + checkAndMutateRowSettings() { + return getStubSettingsBuilder().checkAndMutateRowSettings(); + } + + /** Returns the builder for the settings used for calls to pingAndWarm. */ + public UnaryCallSettings.Builder + pingAndWarmSettings() { + return getStubSettingsBuilder().pingAndWarmSettings(); + } + + /** Returns the builder for the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings.Builder + readModifyWriteRowSettings() { + return getStubSettingsBuilder().readModifyWriteRowSettings(); + } + + /** + * Returns the builder for the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return getStubSettingsBuilder().generateInitialChangeStreamPartitionsSettings(); + } + + /** Returns the builder for the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings.Builder + readChangeStreamSettings() { + return getStubSettingsBuilder().readChangeStreamSettings(); + } + + @Override + public BaseBigtableDataSettings build() throws IOException { + return new BaseBigtableDataSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json new file mode 100644 index 0000000000..495762d219 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/gapic_metadata.json @@ -0,0 +1,45 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.bigtable.v2", + "libraryPackage": "com.google.cloud.bigtable.data.v2", + "services": { + "Bigtable": { + "clients": { + "grpc": { + "libraryClient": "BaseBigtableDataClient", + "rpcs": { + "CheckAndMutateRow": { + "methods": ["checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRow", "checkAndMutateRowCallable"] + }, + "GenerateInitialChangeStreamPartitions": { + "methods": ["generateInitialChangeStreamPartitionsCallable"] + }, + "MutateRow": { + "methods": ["mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRow", "mutateRowCallable"] + }, + "MutateRows": { + "methods": ["mutateRowsCallable"] + }, + "PingAndWarm": { + "methods": ["pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarm", "pingAndWarmCallable"] + }, + "ReadChangeStream": { + "methods": ["readChangeStreamCallable"] + }, + "ReadModifyWriteRow": { + "methods": ["readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRow", "readModifyWriteRowCallable"] + }, + "ReadRows": { + "methods": ["readRowsCallable"] + }, + "SampleRowKeys": { + "methods": ["sampleRowKeysCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java new file mode 100644 index 0000000000..bb13768c4e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/package-info.java @@ -0,0 +1,45 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Bigtable API + * + *

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

======================= BaseBigtableDataClient ======================= + * + *

Service Description: Service for reading from and writing to existing Bigtable tables. + * + *

Sample for BaseBigtableDataClient: + * + *

{@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 (BaseBigtableDataClient baseBigtableDataClient = BaseBigtableDataClient.create()) {
+ *   TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]");
+ *   ByteString rowKey = ByteString.EMPTY;
+ *   List mutations = new ArrayList<>();
+ *   MutateRowResponse response = baseBigtableDataClient.mutateRow(tableName, rowKey, mutations);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.bigtable.data.v2; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java new file mode 100644 index 0000000000..853d76d913 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStub.java @@ -0,0 +1,97 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the Bigtable service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class BigtableStub implements BackgroundResource { + + public ServerStreamingCallable readRowsCallable() { + throw new UnsupportedOperationException("Not implemented: readRowsCallable()"); + } + + public ServerStreamingCallable + sampleRowKeysCallable() { + throw new UnsupportedOperationException("Not implemented: sampleRowKeysCallable()"); + } + + public UnaryCallable mutateRowCallable() { + throw new UnsupportedOperationException("Not implemented: mutateRowCallable()"); + } + + public ServerStreamingCallable mutateRowsCallable() { + throw new UnsupportedOperationException("Not implemented: mutateRowsCallable()"); + } + + public UnaryCallable + checkAndMutateRowCallable() { + throw new UnsupportedOperationException("Not implemented: checkAndMutateRowCallable()"); + } + + public UnaryCallable pingAndWarmCallable() { + throw new UnsupportedOperationException("Not implemented: pingAndWarmCallable()"); + } + + public UnaryCallable + readModifyWriteRowCallable() { + throw new UnsupportedOperationException("Not implemented: readModifyWriteRowCallable()"); + } + + public ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + throw new UnsupportedOperationException( + "Not implemented: generateInitialChangeStreamPartitionsCallable()"); + } + + public ServerStreamingCallable + readChangeStreamCallable() { + throw new UnsupportedOperationException("Not implemented: readChangeStreamCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java new file mode 100644 index 0000000000..a1405bd6f3 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/BigtableStubSettings.java @@ -0,0 +1,576 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link BigtableStub}. + * + *

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

    + *
  • The default service address (bigtable.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 mutateRow 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
+ * BigtableStubSettings.Builder baseBigtableDataSettingsBuilder =
+ *     BigtableStubSettings.newBuilder();
+ * baseBigtableDataSettingsBuilder
+ *     .mutateRowSettings()
+ *     .setRetrySettings(
+ *         baseBigtableDataSettingsBuilder
+ *             .mutateRowSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * BigtableStubSettings baseBigtableDataSettings = baseBigtableDataSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class BigtableStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/bigtable.data") + .add("https://www.googleapis.com/auth/bigtable.data.readonly") + .add("https://www.googleapis.com/auth/cloud-bigtable.data") + .add("https://www.googleapis.com/auth/cloud-bigtable.data.readonly") + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/cloud-platform.read-only") + .build(); + + private final ServerStreamingCallSettings readRowsSettings; + private final ServerStreamingCallSettings + sampleRowKeysSettings; + private final UnaryCallSettings mutateRowSettings; + private final ServerStreamingCallSettings + mutateRowsSettings; + private final UnaryCallSettings + checkAndMutateRowSettings; + private final UnaryCallSettings pingAndWarmSettings; + private final UnaryCallSettings + readModifyWriteRowSettings; + private final ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings; + private final ServerStreamingCallSettings + readChangeStreamSettings; + + /** Returns the object with the settings used for calls to readRows. */ + public ServerStreamingCallSettings readRowsSettings() { + return readRowsSettings; + } + + /** Returns the object with the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings + sampleRowKeysSettings() { + return sampleRowKeysSettings; + } + + /** Returns the object with the settings used for calls to mutateRow. */ + public UnaryCallSettings mutateRowSettings() { + return mutateRowSettings; + } + + /** Returns the object with the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings mutateRowsSettings() { + return mutateRowsSettings; + } + + /** Returns the object with the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings + checkAndMutateRowSettings() { + return checkAndMutateRowSettings; + } + + /** Returns the object with the settings used for calls to pingAndWarm. */ + public UnaryCallSettings pingAndWarmSettings() { + return pingAndWarmSettings; + } + + /** Returns the object with the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings + readModifyWriteRowSettings() { + return readModifyWriteRowSettings; + } + + /** + * Returns the object with the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return generateInitialChangeStreamPartitionsSettings; + } + + /** Returns the object with the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings + readChangeStreamSettings() { + return readChangeStreamSettings; + } + + public BigtableStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcBigtableStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "bigtable.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "bigtable.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken("gapic", GaxProperties.getLibraryVersion(BigtableStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected BigtableStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + readRowsSettings = settingsBuilder.readRowsSettings().build(); + sampleRowKeysSettings = settingsBuilder.sampleRowKeysSettings().build(); + mutateRowSettings = settingsBuilder.mutateRowSettings().build(); + mutateRowsSettings = settingsBuilder.mutateRowsSettings().build(); + checkAndMutateRowSettings = settingsBuilder.checkAndMutateRowSettings().build(); + pingAndWarmSettings = settingsBuilder.pingAndWarmSettings().build(); + readModifyWriteRowSettings = settingsBuilder.readModifyWriteRowSettings().build(); + generateInitialChangeStreamPartitionsSettings = + settingsBuilder.generateInitialChangeStreamPartitionsSettings().build(); + readChangeStreamSettings = settingsBuilder.readChangeStreamSettings().build(); + } + + /** Builder for BigtableStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final ServerStreamingCallSettings.Builder + readRowsSettings; + private final ServerStreamingCallSettings.Builder + sampleRowKeysSettings; + private final UnaryCallSettings.Builder mutateRowSettings; + private final ServerStreamingCallSettings.Builder + mutateRowsSettings; + private final UnaryCallSettings.Builder + checkAndMutateRowSettings; + private final UnaryCallSettings.Builder + pingAndWarmSettings; + private final UnaryCallSettings.Builder + readModifyWriteRowSettings; + private final ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings; + private final ServerStreamingCallSettings.Builder< + ReadChangeStreamRequest, ReadChangeStreamResponse> + readChangeStreamSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_3_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_4_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + definitions.put( + "no_retry_2_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_5_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "no_retry_6_codes", ImmutableSet.copyOf(Lists.newArrayList())); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(43200000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(43200000L)) + .setTotalTimeout(Duration.ofMillis(43200000L)) + .build(); + definitions.put("no_retry_3_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_1_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(10L)) + .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_4_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(600000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(600000L)) + .setTotalTimeout(Duration.ofMillis(600000L)) + .build(); + definitions.put("no_retry_2_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(20000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(20000L)) + .setTotalTimeout(Duration.ofMillis(20000L)) + .build(); + definitions.put("no_retry_0_params", settings); + settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); + definitions.put("no_retry_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_5_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(43200000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(43200000L)) + .setTotalTimeout(Duration.ofMillis(43200000L)) + .build(); + definitions.put("no_retry_6_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + readRowsSettings = ServerStreamingCallSettings.newBuilder(); + sampleRowKeysSettings = ServerStreamingCallSettings.newBuilder(); + mutateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + mutateRowsSettings = ServerStreamingCallSettings.newBuilder(); + checkAndMutateRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + pingAndWarmSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + readModifyWriteRowSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + generateInitialChangeStreamPartitionsSettings = ServerStreamingCallSettings.newBuilder(); + readChangeStreamSettings = ServerStreamingCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + mutateRowSettings, + checkAndMutateRowSettings, + pingAndWarmSettings, + readModifyWriteRowSettings); + initDefaults(this); + } + + protected Builder(BigtableStubSettings settings) { + super(settings); + + readRowsSettings = settings.readRowsSettings.toBuilder(); + sampleRowKeysSettings = settings.sampleRowKeysSettings.toBuilder(); + mutateRowSettings = settings.mutateRowSettings.toBuilder(); + mutateRowsSettings = settings.mutateRowsSettings.toBuilder(); + checkAndMutateRowSettings = settings.checkAndMutateRowSettings.toBuilder(); + pingAndWarmSettings = settings.pingAndWarmSettings.toBuilder(); + readModifyWriteRowSettings = settings.readModifyWriteRowSettings.toBuilder(); + generateInitialChangeStreamPartitionsSettings = + settings.generateInitialChangeStreamPartitionsSettings.toBuilder(); + readChangeStreamSettings = settings.readChangeStreamSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + mutateRowSettings, + checkAndMutateRowSettings, + pingAndWarmSettings, + readModifyWriteRowSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .readRowsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_3_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_3_params")); + + builder + .sampleRowKeysSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .mutateRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_4_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_4_params")); + + builder + .mutateRowsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_2_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_2_params")); + + builder + .checkAndMutateRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .pingAndWarmSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params")); + + builder + .readModifyWriteRowSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .generateInitialChangeStreamPartitionsSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_5_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_5_params")); + + builder + .readChangeStreamSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_6_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_6_params")); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to readRows. */ + public ServerStreamingCallSettings.Builder + readRowsSettings() { + return readRowsSettings; + } + + /** Returns the builder for the settings used for calls to sampleRowKeys. */ + public ServerStreamingCallSettings.Builder + sampleRowKeysSettings() { + return sampleRowKeysSettings; + } + + /** Returns the builder for the settings used for calls to mutateRow. */ + public UnaryCallSettings.Builder mutateRowSettings() { + return mutateRowSettings; + } + + /** Returns the builder for the settings used for calls to mutateRows. */ + public ServerStreamingCallSettings.Builder + mutateRowsSettings() { + return mutateRowsSettings; + } + + /** Returns the builder for the settings used for calls to checkAndMutateRow. */ + public UnaryCallSettings.Builder + checkAndMutateRowSettings() { + return checkAndMutateRowSettings; + } + + /** Returns the builder for the settings used for calls to pingAndWarm. */ + public UnaryCallSettings.Builder + pingAndWarmSettings() { + return pingAndWarmSettings; + } + + /** Returns the builder for the settings used for calls to readModifyWriteRow. */ + public UnaryCallSettings.Builder + readModifyWriteRowSettings() { + return readModifyWriteRowSettings; + } + + /** + * Returns the builder for the settings used for calls to generateInitialChangeStreamPartitions. + */ + public ServerStreamingCallSettings.Builder< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsSettings() { + return generateInitialChangeStreamPartitionsSettings; + } + + /** Returns the builder for the settings used for calls to readChangeStream. */ + public ServerStreamingCallSettings.Builder + readChangeStreamSettings() { + return readChangeStreamSettings; + } + + @Override + public BigtableStubSettings build() throws IOException { + return new BigtableStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java new file mode 100644 index 0000000000..202a5cac25 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the Bigtable service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java new file mode 100644 index 0000000000..af3de2216f --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/stub/GrpcBigtableStub.java @@ -0,0 +1,501 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2.stub; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.api.pathtemplate.PathTemplate; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.longrunning.stub.GrpcOperationsStub; +import io.grpc.MethodDescriptor; +import io.grpc.protobuf.ProtoUtils; +import java.io.IOException; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the Bigtable service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcBigtableStub extends BigtableStub { + private static final MethodDescriptor + readRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadRows") + .setRequestMarshaller(ProtoUtils.marshaller(ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(ReadRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + sampleRowKeysMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/SampleRowKeys") + .setRequestMarshaller( + ProtoUtils.marshaller(SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(SampleRowKeysResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRow") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + mutateRowsMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/MutateRows") + .setRequestMarshaller(ProtoUtils.marshaller(MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(MutateRowsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + checkAndMutateRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/CheckAndMutateRow") + .setRequestMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(CheckAndMutateRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + pingAndWarmMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/PingAndWarm") + .setRequestMarshaller(ProtoUtils.marshaller(PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(PingAndWarmResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readModifyWriteRowMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadModifyWriteRow") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadModifyWriteRowResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsMethodDescriptor = + MethodDescriptor + . + newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName( + "google.bigtable.v2.Bigtable/GenerateInitialChangeStreamPartitions") + .setRequestMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller( + GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + readChangeStreamMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName("google.bigtable.v2.Bigtable/ReadChangeStream") + .setRequestMarshaller( + ProtoUtils.marshaller(ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ReadChangeStreamResponse.getDefaultInstance())) + .build(); + + private final ServerStreamingCallable readRowsCallable; + private final ServerStreamingCallable + sampleRowKeysCallable; + private final UnaryCallable mutateRowCallable; + private final ServerStreamingCallable mutateRowsCallable; + private final UnaryCallable + checkAndMutateRowCallable; + private final UnaryCallable pingAndWarmCallable; + private final UnaryCallable + readModifyWriteRowCallable; + private final ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable; + private final ServerStreamingCallable + readChangeStreamCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + private static final PathTemplate READ_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate SAMPLE_ROW_KEYS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate SAMPLE_ROW_KEYS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate MUTATE_ROWS_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate MUTATE_ROWS_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate PING_AND_WARM_0_PATH_TEMPLATE = + PathTemplate.create("{name=projects/*/instances/*}"); + private static final PathTemplate PING_AND_WARM_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE = + PathTemplate.create("{table_name=projects/*/instances/*/tables/*}"); + private static final PathTemplate READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE = + PathTemplate.create("{app_profile_id=**}"); + + public static final GrpcBigtableStub create(BigtableStubSettings settings) throws IOException { + return new GrpcBigtableStub(settings, ClientContext.create(settings)); + } + + public static final GrpcBigtableStub create(ClientContext clientContext) throws IOException { + return new GrpcBigtableStub(BigtableStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcBigtableStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcBigtableStub( + BigtableStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub(BigtableStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcBigtableCallableFactory()); + } + + /** + * Constructs an instance of GrpcBigtableStub, using the given settings. This is protected so that + * it is easy to make a subclass, but otherwise, the static factory methods should be preferred. + */ + protected GrpcBigtableStub( + BigtableStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings readRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", READ_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", READ_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings sampleRowKeysTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(sampleRowKeysMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), "table_name", SAMPLE_ROW_KEYS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", SAMPLE_ROW_KEYS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings mutateRowsTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(mutateRowsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getTableName(), "table_name", MUTATE_ROWS_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", MUTATE_ROWS_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + checkAndMutateRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(checkAndMutateRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings pingAndWarmTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(pingAndWarmMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add(request.getName(), "name", PING_AND_WARM_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), "app_profile_id", PING_AND_WARM_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings + readModifyWriteRowTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readModifyWriteRowMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add( + request.getTableName(), + "table_name", + READ_MODIFY_WRITE_ROW_0_PATH_TEMPLATE); + builder.add( + request.getAppProfileId(), + "app_profile_id", + READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE); + return builder.build(); + }) + .build(); + GrpcCallSettings< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsTransportSettings = + GrpcCallSettings + . + newBuilder() + .setMethodDescriptor(generateInitialChangeStreamPartitionsMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + GrpcCallSettings + readChangeStreamTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(readChangeStreamMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("table_name", String.valueOf(request.getTableName())); + return builder.build(); + }) + .build(); + + this.readRowsCallable = + callableFactory.createServerStreamingCallable( + readRowsTransportSettings, settings.readRowsSettings(), clientContext); + this.sampleRowKeysCallable = + callableFactory.createServerStreamingCallable( + sampleRowKeysTransportSettings, settings.sampleRowKeysSettings(), clientContext); + this.mutateRowCallable = + callableFactory.createUnaryCallable( + mutateRowTransportSettings, settings.mutateRowSettings(), clientContext); + this.mutateRowsCallable = + callableFactory.createServerStreamingCallable( + mutateRowsTransportSettings, settings.mutateRowsSettings(), clientContext); + this.checkAndMutateRowCallable = + callableFactory.createUnaryCallable( + checkAndMutateRowTransportSettings, + settings.checkAndMutateRowSettings(), + clientContext); + this.pingAndWarmCallable = + callableFactory.createUnaryCallable( + pingAndWarmTransportSettings, settings.pingAndWarmSettings(), clientContext); + this.readModifyWriteRowCallable = + callableFactory.createUnaryCallable( + readModifyWriteRowTransportSettings, + settings.readModifyWriteRowSettings(), + clientContext); + this.generateInitialChangeStreamPartitionsCallable = + callableFactory.createServerStreamingCallable( + generateInitialChangeStreamPartitionsTransportSettings, + settings.generateInitialChangeStreamPartitionsSettings(), + clientContext); + this.readChangeStreamCallable = + callableFactory.createServerStreamingCallable( + readChangeStreamTransportSettings, settings.readChangeStreamSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public ServerStreamingCallable readRowsCallable() { + return readRowsCallable; + } + + @Override + public ServerStreamingCallable + sampleRowKeysCallable() { + return sampleRowKeysCallable; + } + + @Override + public UnaryCallable mutateRowCallable() { + return mutateRowCallable; + } + + @Override + public ServerStreamingCallable mutateRowsCallable() { + return mutateRowsCallable; + } + + @Override + public UnaryCallable + checkAndMutateRowCallable() { + return checkAndMutateRowCallable; + } + + @Override + public UnaryCallable pingAndWarmCallable() { + return pingAndWarmCallable; + } + + @Override + public UnaryCallable + readModifyWriteRowCallable() { + return readModifyWriteRowCallable; + } + + @Override + public ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + generateInitialChangeStreamPartitionsCallable() { + return generateInitialChangeStreamPartitionsCallable; + } + + @Override + public ServerStreamingCallable + readChangeStreamCallable() { + return readChangeStreamCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json new file mode 100644 index 0000000000..c4e7d8a86e --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.admin.v2/reflect-config.json @@ -0,0 +1,3179 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$MultiClusterRoutingUseAny", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$MultiClusterRoutingUseAny$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$SingleClusterRouting", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AppProfile$SingleClusterRouting$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingLimits", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingLimits$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingTargets", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.AutoscalingTargets$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Backup$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.BackupInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.BackupInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ChangeStreamConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ChangeStreamConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CheckConsistencyResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterAutoscalingConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterAutoscalingConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$ClusterConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$EncryptionConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$EncryptionConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Cluster$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ColumnFamily", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ColumnFamily$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CopyBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterMetadata$TableProgress$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Split", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.CreateTableRequest$Split$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DeleteTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DropRowRangeRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.DropRowRangeRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.EncryptionInfo$EncryptionType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Intersection", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Intersection$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Union", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GcRule$Union$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetSnapshotRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetSnapshotRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.GetTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.HotTablet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.HotTablet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Instance$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListAppProfilesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListBackupsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListClustersResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListHotTabletsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListInstancesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListSnapshotsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ListTablesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Modification", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest$Modification$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OperationProgress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OperationProgress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateClusterRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateInstanceRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.PartialUpdateInstanceRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreSourceType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.RestoreTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Snapshot$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.SnapshotTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.StorageType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$ClusterState$ReplicationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$TimestampGranularity", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.Table$View", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UndeleteTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateAppProfileRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateBackupRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateBackupRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateClusterMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateClusterMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateInstanceMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateInstanceMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.admin.v2.UpdateTableRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditConfigDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.AuditLogConfig$LogType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Binding$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Action", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.BindingDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.GetPolicyOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.Policy$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.PolicyDelta$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.SetIamPolicyRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.iam.v1.TestIamPermissionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FieldMask$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.type.Expr$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json new file mode 100644 index 0000000000..c512a0664d --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/main/resources/META-INF/native-image/com.google.cloud.bigtable.data.v2/reflect-config.json @@ -0,0 +1,2252 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingParameter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingParameter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RoutingRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Cell", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Cell$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.CheckAndMutateRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Column", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Column$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ColumnRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ColumnRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Family", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Family$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FeatureFlags", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FeatureFlags$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FullReadStatsView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.FullReadStatsView$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Entry", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsRequest$Entry$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Entry", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.MutateRowsResponse$Entry$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromColumn", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromColumn$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromFamily", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromFamily$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromRow", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$DeleteFromRow$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$SetCell", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Mutation$SetCell$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.PingAndWarmResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RateLimitInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RateLimitInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$CloseStream", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$CloseStream$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$DataChange$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Heartbeat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$Heartbeat$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$ChunkInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadChangeStreamResponse$MutationChunk$ChunkInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadIterationStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadIterationStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRowResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadModifyWriteRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsRequest$RequestStatsView", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$CellChunk", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ReadRowsResponse$CellChunk$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestLatencyStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestLatencyStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestStats", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RequestStats$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ResponseParams", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ResponseParams$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Row", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.Row$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Chain", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Chain$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Condition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Condition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Interleave", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowFilter$Interleave$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.RowSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.SampleRowKeysResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationToken", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationToken$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationTokens", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamContinuationTokens$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamPartition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.StreamPartition$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.TimestampRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.TimestampRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ValueRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.bigtable.v2.ValueRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BoolValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.BytesValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DoubleValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.FloatValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Int64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.StringValue$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt32Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.UInt64Value$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java new file mode 100644 index 0000000000..8cf0894d4b --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableInstanceAdminClientTest.java @@ -0,0 +1,1782 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.AppProfileName; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.ClusterName; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.HotTablet; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.LocationName; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.ProjectName; +import com.google.bigtable.admin.v2.StorageType; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.common.collect.Lists; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableInstanceAdminClientTest { + private static MockBigtableInstanceAdmin mockBigtableInstanceAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableInstanceAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableInstanceAdmin = new MockBigtableInstanceAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), + Arrays.asList(mockBigtableInstanceAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableInstanceAdminSettings settings = + BaseBigtableInstanceAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableInstanceAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + + Instance actualResponse = + client.createInstanceAsync(parent, instanceId, instance, clusters).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateInstanceRequest actualRequest = ((CreateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(instanceId, actualRequest.getInstanceId()); + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(clusters, actualRequest.getClustersMap()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String instanceId = "instanceId902024336"; + Instance instance = Instance.newBuilder().build(); + Map clusters = new HashMap<>(); + client.createInstanceAsync(parent, instanceId, instance, clusters).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 getInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getInstanceTest2() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Instance actualResponse = client.getInstance(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetInstanceRequest actualRequest = ((GetInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ProjectName parent = ProjectName.of("[PROJECT]"); + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ProjectName parent = ProjectName.of("[PROJECT]"); + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listInstancesTest2() throws Exception { + ListInstancesResponse expectedResponse = + ListInstancesResponse.newBuilder() + .addAllInstances(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListInstancesResponse actualResponse = client.listInstances(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListInstancesRequest actualRequest = ((ListInstancesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listInstancesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listInstances(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + + Instance actualResponse = client.updateInstance(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Instance actualRequest = ((Instance) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getDisplayName(), actualRequest.getDisplayName()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getType(), actualRequest.getType()); + Assert.assertEquals(request.getLabelsMap(), actualRequest.getLabelsMap()); + Assert.assertEquals(request.getCreateTime(), actualRequest.getCreateTime()); + Assert.assertEquals(request.getSatisfiesPzs(), actualRequest.getSatisfiesPzs()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance request = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + client.updateInstance(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void partialUpdateInstanceTest() throws Exception { + Instance expectedResponse = + Instance.newBuilder() + .setName(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setDisplayName("displayName1714148973") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setSatisfiesPzs(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateInstanceTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Instance actualResponse = client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateInstanceRequest actualRequest = + ((PartialUpdateInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(instance, actualRequest.getInstance()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Instance instance = Instance.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateInstanceAsync(instance, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteInstanceTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteInstanceTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteInstance(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteInstanceRequest actualRequest = ((DeleteInstanceRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteInstanceExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteInstance(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).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 createClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + + Cluster actualResponse = client.createClusterAsync(parent, clusterId, cluster).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateClusterRequest actualRequest = ((CreateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(clusterId, actualRequest.getClusterId()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String clusterId = "clusterId561939637"; + Cluster cluster = Cluster.newBuilder().build(); + client.createClusterAsync(parent, clusterId, cluster).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 getClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getClusterTest2() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Cluster actualResponse = client.getCluster(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetClusterRequest actualRequest = ((GetClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listClustersTest2() throws Exception { + ListClustersResponse expectedResponse = + ListClustersResponse.newBuilder() + .addAllClusters(new ArrayList()) + .addAllFailedLocations(new ArrayList()) + .setNextPageToken("nextPageToken-1386094857") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListClustersResponse actualResponse = client.listClusters(parent); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListClustersRequest actualRequest = ((ListClustersRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listClustersExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listClusters(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + + Cluster actualResponse = client.updateClusterAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + Cluster actualRequest = ((Cluster) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getLocation(), actualRequest.getLocation()); + Assert.assertEquals(request.getState(), actualRequest.getState()); + Assert.assertEquals(request.getServeNodes(), actualRequest.getServeNodes()); + Assert.assertEquals(request.getClusterConfig(), actualRequest.getClusterConfig()); + Assert.assertEquals(request.getDefaultStorageType(), actualRequest.getDefaultStorageType()); + Assert.assertEquals(request.getEncryptionConfig(), actualRequest.getEncryptionConfig()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster request = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + client.updateClusterAsync(request).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 partialUpdateClusterTest() throws Exception { + Cluster expectedResponse = + Cluster.newBuilder() + .setName(ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]").toString()) + .setLocation(LocationName.of("[PROJECT]", "[LOCATION]").toString()) + .setServeNodes(-1288838783) + .setDefaultStorageType(StorageType.forNumber(0)) + .setEncryptionConfig(Cluster.EncryptionConfig.newBuilder().build()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("partialUpdateClusterTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Cluster actualResponse = client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PartialUpdateClusterRequest actualRequest = + ((PartialUpdateClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void partialUpdateClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + Cluster cluster = Cluster.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.partialUpdateClusterAsync(cluster, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteClusterTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName name = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteClusterTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteCluster(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteClusterRequest actualRequest = ((DeleteClusterRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteClusterExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteCluster(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + + AppProfile actualResponse = client.createAppProfile(parent, appProfileId, appProfile); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateAppProfileRequest actualRequest = ((CreateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String appProfileId = "appProfileId704923523"; + AppProfile appProfile = AppProfile.newBuilder().build(); + client.createAppProfile(parent, appProfileId, appProfile); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAppProfileTest2() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + AppProfile actualResponse = client.getAppProfile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetAppProfileRequest actualRequest = ((GetAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listAppProfilesTest2() throws Exception { + AppProfile responsesElement = AppProfile.newBuilder().build(); + ListAppProfilesResponse expectedResponse = + ListAppProfilesResponse.newBuilder() + .setNextPageToken("") + .addAllAppProfiles(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListAppProfilesPagedResponse pagedListResponse = client.listAppProfiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getAppProfilesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListAppProfilesRequest actualRequest = ((ListAppProfilesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listAppProfilesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listAppProfiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateAppProfileTest() throws Exception { + AppProfile expectedResponse = + AppProfile.newBuilder() + .setName(AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]").toString()) + .setEtag("etag3123477") + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateAppProfileTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableInstanceAdmin.addResponse(resultOperation); + + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + AppProfile actualResponse = client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateAppProfileRequest actualRequest = ((UpdateAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(appProfile, actualRequest.getAppProfile()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfile appProfile = AppProfile.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateAppProfileAsync(appProfile, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteAppProfileTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + AppProfileName name = AppProfileName.of("[PROJECT]", "[INSTANCE]", "[APP_PROFILE]"); + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteAppProfileTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteAppProfile(name); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteAppProfileRequest actualRequest = ((DeleteAppProfileRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteAppProfileExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteAppProfile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ResourceName resource = InstanceName.of("[PROJECT]", "[INSTANCE]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listHotTabletsTest2() throws Exception { + HotTablet responsesElement = HotTablet.newBuilder().build(); + ListHotTabletsResponse expectedResponse = + ListHotTabletsResponse.newBuilder() + .setNextPageToken("") + .addAllHotTablets(Arrays.asList(responsesElement)) + .build(); + mockBigtableInstanceAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListHotTabletsPagedResponse pagedListResponse = client.listHotTablets(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getHotTabletsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableInstanceAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListHotTabletsRequest actualRequest = ((ListHotTabletsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listHotTabletsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableInstanceAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listHotTablets(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java new file mode 100644 index 0000000000..2b49b476da --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/BaseBigtableTableAdminClientTest.java @@ -0,0 +1,2633 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListBackupsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListSnapshotsPagedResponse; +import static com.google.cloud.bigtable.admin.v2.BaseBigtableTableAdminClient.ListTablesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.resourcenames.ResourceName; +import com.google.bigtable.admin.v2.Backup; +import com.google.bigtable.admin.v2.BackupName; +import com.google.bigtable.admin.v2.ChangeStreamConfig; +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.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; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.EncryptionInfo; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.InstanceName; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreInfo; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotName; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.TableName; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +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; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableTableAdminClientTest { + private static MockBigtableTableAdmin mockBigtableTableAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableTableAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtableTableAdmin = new MockBigtableTableAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtableTableAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableTableAdminSettings settings = + BaseBigtableTableAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableTableAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void createTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + + Table actualResponse = client.createTable(parent, tableId, table); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableRequest actualRequest = ((CreateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + Table table = Table.newBuilder().build(); + client.createTable(parent, tableId, table); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTableFromSnapshotTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).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 createTableFromSnapshotTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).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 createTableFromSnapshotTest3() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot.toString(), actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + SnapshotName sourceSnapshot = + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).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 createTableFromSnapshotTest4() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createTableFromSnapshotTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + + Table actualResponse = + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateTableFromSnapshotRequest actualRequest = + ((CreateTableFromSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(tableId, actualRequest.getTableId()); + Assert.assertEquals(sourceSnapshot, actualRequest.getSourceSnapshot()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createTableFromSnapshotExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String tableId = "tableId-1552905847"; + String sourceSnapshot = "sourceSnapshot-1078634753"; + client.createTableFromSnapshotAsync(parent, tableId, sourceSnapshot).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 listTablesTest() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List

resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + InstanceName parent = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTablesTest2() throws Exception { + Table responsesElement = Table.newBuilder().build(); + ListTablesResponse expectedResponse = + ListTablesResponse.newBuilder() + .setNextPageToken("") + .addAllTables(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListTablesPagedResponse pagedListResponse = client.listTables(parent); + + List
resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTablesList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListTablesRequest actualRequest = ((ListTablesRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listTablesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listTables(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Table actualResponse = client.getTable(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetTableRequest actualRequest = ((GetTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("updateTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Table actualResponse = client.updateTableAsync(table, updateMask).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateTableRequest actualRequest = ((UpdateTableRequest) actualRequests.get(0)); + + Assert.assertEquals(table, actualRequest.getTable()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + Table table = Table.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateTableAsync(table, updateMask).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteTableTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTableTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteTable(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteTableRequest actualRequest = ((DeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteTable(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void undeleteTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.undeleteTableAsync(name).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 undeleteTableTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("undeleteTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + + Table actualResponse = client.undeleteTableAsync(name).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UndeleteTableRequest actualRequest = ((UndeleteTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void undeleteTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.undeleteTableAsync(name).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 modifyColumnFamiliesTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void modifyColumnFamiliesTest2() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + List modifications = new ArrayList<>(); + + Table actualResponse = client.modifyColumnFamilies(name, modifications); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ModifyColumnFamiliesRequest actualRequest = + ((ModifyColumnFamiliesRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(modifications, actualRequest.getModificationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void modifyColumnFamiliesExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + List modifications = new ArrayList<>(); + client.modifyColumnFamilies(name, modifications); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void dropRowRangeTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + + client.dropRowRange(request); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DropRowRangeRequest actualRequest = ((DropRowRangeRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getName(), actualRequest.getName()); + Assert.assertEquals(request.getRowKeyPrefix(), actualRequest.getRowKeyPrefix()); + Assert.assertEquals( + request.getDeleteAllDataFromTable(), actualRequest.getDeleteAllDataFromTable()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void dropRowRangeExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + DropRowRangeRequest request = + DropRowRangeRequest.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .build(); + client.dropRowRange(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateConsistencyTokenTest2() throws Exception { + GenerateConsistencyTokenResponse expectedResponse = + GenerateConsistencyTokenResponse.newBuilder() + .setConsistencyToken("consistencyToken-1985152319") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + GenerateConsistencyTokenResponse actualResponse = client.generateConsistencyToken(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GenerateConsistencyTokenRequest actualRequest = + ((GenerateConsistencyTokenRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void generateConsistencyTokenExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.generateConsistencyToken(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkConsistencyTest2() throws Exception { + CheckConsistencyResponse expectedResponse = + CheckConsistencyResponse.newBuilder().setConsistent(true).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + + CheckConsistencyResponse actualResponse = client.checkConsistency(name, consistencyToken); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckConsistencyRequest actualRequest = ((CheckConsistencyRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(consistencyToken, actualRequest.getConsistencyToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkConsistencyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String consistencyToken = "consistencyToken-1985152319"; + client.checkConsistency(name, consistencyToken); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void snapshotTableTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).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 snapshotTableTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + TableName name = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).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 snapshotTableTest3() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster.toString(), actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + ClusterName cluster = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).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 snapshotTableTest4() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("snapshotTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + + Snapshot actualResponse = + client.snapshotTableAsync(name, cluster, snapshotId, description).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SnapshotTableRequest actualRequest = ((SnapshotTableRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(cluster, actualRequest.getCluster()); + Assert.assertEquals(snapshotId, actualRequest.getSnapshotId()); + Assert.assertEquals(description, actualRequest.getDescription()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void snapshotTableExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + String cluster = "cluster872092154"; + String snapshotId = "snapshotId-1113817601"; + String description = "description-1724546052"; + client.snapshotTableAsync(name, cluster, snapshotId, description).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 getSnapshotTest() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getSnapshotTest2() throws Exception { + Snapshot expectedResponse = + Snapshot.newBuilder() + .setName( + SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]").toString()) + .setSourceTable(Table.newBuilder().build()) + .setDataSizeBytes(-2110122398) + .setCreateTime(Timestamp.newBuilder().build()) + .setDeleteTime(Timestamp.newBuilder().build()) + .setDescription("description-1724546052") + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Snapshot actualResponse = client.getSnapshot(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetSnapshotRequest actualRequest = ((GetSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listSnapshotsTest2() throws Exception { + Snapshot responsesElement = Snapshot.newBuilder().build(); + ListSnapshotsResponse expectedResponse = + ListSnapshotsResponse.newBuilder() + .setNextPageToken("") + .addAllSnapshots(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListSnapshotsPagedResponse pagedListResponse = client.listSnapshots(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getSnapshotsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListSnapshotsRequest actualRequest = ((ListSnapshotsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listSnapshotsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listSnapshots(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + SnapshotName name = SnapshotName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[SNAPSHOT]"); + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteSnapshotTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteSnapshot(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteSnapshotRequest actualRequest = ((DeleteSnapshotRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteSnapshotExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteSnapshot(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createBackupTest() 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("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + + Backup actualResponse = client.createBackupAsync(parent, backupId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest() 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"; + Backup backup = Backup.newBuilder().build(); + client.createBackupAsync(parent, backupId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createBackupTest2() 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("createBackupTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + + Backup actualResponse = client.createBackupAsync(parent, backupId, backup).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateBackupRequest actualRequest = ((CreateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertEquals(backupId, actualRequest.getBackupId()); + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + String backupId = "backupId2121930365"; + Backup backup = Backup.newBuilder().build(); + client.createBackupAsync(parent, backupId, backup).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getBackupTest() 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(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getBackupTest2() 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(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + Backup actualResponse = client.getBackup(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetBackupRequest actualRequest = ((GetBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.getBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .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(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Backup actualResponse = client.updateBackup(backup, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + UpdateBackupRequest actualRequest = ((UpdateBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(backup, actualRequest.getBackup()); + Assert.assertEquals(updateMask, actualRequest.getUpdateMask()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void updateBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + Backup backup = Backup.newBuilder().build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateBackup(backup, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + client.deleteBackup(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + BackupName name = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteBackupTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String name = "name3373707"; + + client.deleteBackup(name); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteBackupRequest actualRequest = ((DeleteBackupRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteBackupExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String name = "name3373707"; + client.deleteBackup(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent.toString(), actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ClusterName parent = ClusterName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]"); + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listBackupsTest2() throws Exception { + Backup responsesElement = Backup.newBuilder().build(); + ListBackupsResponse expectedResponse = + ListBackupsResponse.newBuilder() + .setNextPageToken("") + .addAllBackups(Arrays.asList(responsesElement)) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String parent = "parent-995424086"; + + ListBackupsPagedResponse pagedListResponse = client.listBackups(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getBackupsList().get(0), resources.get(0)); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListBackupsRequest actualRequest = ((ListBackupsRequest) actualRequests.get(0)); + + Assert.assertEquals(parent, actualRequest.getParent()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listBackupsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String parent = "parent-995424086"; + client.listBackups(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void restoreTableTest() throws Exception { + Table expectedResponse = + Table.newBuilder() + .setName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .putAllClusterStates(new HashMap()) + .putAllColumnFamilies(new HashMap()) + .setRestoreInfo(RestoreInfo.newBuilder().build()) + .setChangeStreamConfig(ChangeStreamConfig.newBuilder().build()) + .setDeletionProtection(true) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("restoreTableTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockBigtableTableAdmin.addResponse(resultOperation); + + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + + Table actualResponse = client.restoreTableAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + RestoreTableRequest actualRequest = ((RestoreTableRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getParent(), actualRequest.getParent()); + Assert.assertEquals(request.getTableId(), actualRequest.getTableId()); + Assert.assertEquals(request.getBackup(), actualRequest.getBackup()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void restoreTableExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + RestoreTableRequest request = + RestoreTableRequest.newBuilder() + .setParent(InstanceName.of("[PROJECT]", "[INSTANCE]").toString()) + .setTableId("tableId-1552905847") + .build(); + client.restoreTableAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void copyBackupTest() throws Exception { + Backup expectedResponse = + Backup.newBuilder() + .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); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + + Policy actualResponse = client.getIamPolicy(resource); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIamPolicyRequest actualRequest = ((GetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + client.getIamPolicy(resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest2() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(resource, policy); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + SetIamPolicyRequest actualRequest = ((SetIamPolicyRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(policy, actualRequest.getPolicy()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void setIamPolicyExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + Policy policy = Policy.newBuilder().build(); + client.setIamPolicy(resource, policy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource.toString(), actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + ResourceName resource = BackupName.of("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"); + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest2() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockBigtableTableAdmin.addResponse(expectedResponse); + + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtableTableAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + TestIamPermissionsRequest actualRequest = ((TestIamPermissionsRequest) actualRequests.get(0)); + + Assert.assertEquals(resource, actualRequest.getResource()); + Assert.assertEquals(permissions, actualRequest.getPermissionsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void testIamPermissionsExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtableTableAdmin.addException(exception); + + try { + String resource = "resource-341064690"; + List permissions = new ArrayList<>(); + client.testIamPermissions(resource, permissions); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java new file mode 100644 index 0000000000..938277bdd8 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdmin implements MockGrpcService { + private final MockBigtableInstanceAdminImpl serviceImpl; + + public MockBigtableInstanceAdmin() { + serviceImpl = new MockBigtableInstanceAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java new file mode 100644 index 0000000000..16df574865 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableInstanceAdminImpl.java @@ -0,0 +1,525 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.admin.v2.AppProfile; +import com.google.bigtable.admin.v2.BigtableInstanceAdminGrpc.BigtableInstanceAdminImplBase; +import com.google.bigtable.admin.v2.Cluster; +import com.google.bigtable.admin.v2.CreateAppProfileRequest; +import com.google.bigtable.admin.v2.CreateClusterRequest; +import com.google.bigtable.admin.v2.CreateInstanceRequest; +import com.google.bigtable.admin.v2.DeleteAppProfileRequest; +import com.google.bigtable.admin.v2.DeleteClusterRequest; +import com.google.bigtable.admin.v2.DeleteInstanceRequest; +import com.google.bigtable.admin.v2.GetAppProfileRequest; +import com.google.bigtable.admin.v2.GetClusterRequest; +import com.google.bigtable.admin.v2.GetInstanceRequest; +import com.google.bigtable.admin.v2.Instance; +import com.google.bigtable.admin.v2.ListAppProfilesRequest; +import com.google.bigtable.admin.v2.ListAppProfilesResponse; +import com.google.bigtable.admin.v2.ListClustersRequest; +import com.google.bigtable.admin.v2.ListClustersResponse; +import com.google.bigtable.admin.v2.ListHotTabletsRequest; +import com.google.bigtable.admin.v2.ListHotTabletsResponse; +import com.google.bigtable.admin.v2.ListInstancesRequest; +import com.google.bigtable.admin.v2.ListInstancesResponse; +import com.google.bigtable.admin.v2.PartialUpdateClusterRequest; +import com.google.bigtable.admin.v2.PartialUpdateInstanceRequest; +import com.google.bigtable.admin.v2.UpdateAppProfileRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableInstanceAdminImpl extends BigtableInstanceAdminImplBase { + private List requests; + private Queue responses; + + public MockBigtableInstanceAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createInstance( + CreateInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getInstance(GetInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listInstances( + ListInstancesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListInstancesResponse) { + requests.add(request); + responseObserver.onNext(((ListInstancesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListInstances, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListInstancesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateInstance(Instance request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Instance) { + requests.add(request); + responseObserver.onNext(((Instance) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Instance.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateInstance( + PartialUpdateInstanceRequest 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 PartialUpdateInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteInstance( + DeleteInstanceRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteInstance, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createCluster( + CreateClusterRequest 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 CreateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getCluster(GetClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Cluster) { + requests.add(request); + responseObserver.onNext(((Cluster) 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 GetCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Cluster.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listClusters( + ListClustersRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListClustersResponse) { + requests.add(request); + responseObserver.onNext(((ListClustersResponse) 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 ListClusters, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListClustersResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateCluster(Cluster 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 UpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void partialUpdateCluster( + PartialUpdateClusterRequest 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 PartialUpdateCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteCluster(DeleteClusterRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteCluster, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createAppProfile( + CreateAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) 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 CreateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getAppProfile( + GetAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof AppProfile) { + requests.add(request); + responseObserver.onNext(((AppProfile) 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 GetAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + AppProfile.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listAppProfiles( + ListAppProfilesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListAppProfilesResponse) { + requests.add(request); + responseObserver.onNext(((ListAppProfilesResponse) 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 ListAppProfiles, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListAppProfilesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateAppProfile( + UpdateAppProfileRequest 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 UpdateAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteAppProfile( + DeleteAppProfileRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteAppProfile, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listHotTablets( + ListHotTabletsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListHotTabletsResponse) { + requests.add(request); + responseObserver.onNext(((ListHotTabletsResponse) 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 ListHotTablets, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListHotTabletsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java new file mode 100644 index 0000000000..3fe7174e72 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableTableAdmin implements MockGrpcService { + private final MockBigtableTableAdminImpl serviceImpl; + + public MockBigtableTableAdmin() { + serviceImpl = new MockBigtableTableAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java new file mode 100644 index 0000000000..8b87bc19f6 --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/admin/v2/MockBigtableTableAdminImpl.java @@ -0,0 +1,612 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.admin.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.admin.v2.Backup; +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; +import com.google.bigtable.admin.v2.DeleteBackupRequest; +import com.google.bigtable.admin.v2.DeleteSnapshotRequest; +import com.google.bigtable.admin.v2.DeleteTableRequest; +import com.google.bigtable.admin.v2.DropRowRangeRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest; +import com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse; +import com.google.bigtable.admin.v2.GetBackupRequest; +import com.google.bigtable.admin.v2.GetSnapshotRequest; +import com.google.bigtable.admin.v2.GetTableRequest; +import com.google.bigtable.admin.v2.ListBackupsRequest; +import com.google.bigtable.admin.v2.ListBackupsResponse; +import com.google.bigtable.admin.v2.ListSnapshotsRequest; +import com.google.bigtable.admin.v2.ListSnapshotsResponse; +import com.google.bigtable.admin.v2.ListTablesRequest; +import com.google.bigtable.admin.v2.ListTablesResponse; +import com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest; +import com.google.bigtable.admin.v2.RestoreTableRequest; +import com.google.bigtable.admin.v2.Snapshot; +import com.google.bigtable.admin.v2.SnapshotTableRequest; +import com.google.bigtable.admin.v2.Table; +import com.google.bigtable.admin.v2.UndeleteTableRequest; +import com.google.bigtable.admin.v2.UpdateBackupRequest; +import com.google.bigtable.admin.v2.UpdateTableRequest; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Empty; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableTableAdminImpl extends BigtableTableAdminImplBase { + private List requests; + private Queue responses; + + public MockBigtableTableAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void createTable(CreateTableRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) 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 CreateTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createTableFromSnapshot( + CreateTableFromSnapshotRequest 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 CreateTableFromSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listTables( + ListTablesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListTablesResponse) { + requests.add(request); + responseObserver.onNext(((ListTablesResponse) 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 ListTables, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListTablesResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getTable(GetTableRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) 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 GetTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateTable(UpdateTableRequest 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 UpdateTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteTable(DeleteTableRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void undeleteTable( + UndeleteTableRequest 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 UndeleteTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void modifyColumnFamilies( + ModifyColumnFamiliesRequest request, StreamObserver
responseObserver) { + Object response = responses.poll(); + if (response instanceof Table) { + requests.add(request); + responseObserver.onNext(((Table) 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 ModifyColumnFamilies, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Table.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void dropRowRange(DropRowRangeRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DropRowRange, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateConsistencyToken( + GenerateConsistencyTokenRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateConsistencyTokenResponse) { + requests.add(request); + responseObserver.onNext(((GenerateConsistencyTokenResponse) 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 GenerateConsistencyToken, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateConsistencyTokenResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void checkConsistency( + CheckConsistencyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckConsistencyResponse) { + requests.add(request); + responseObserver.onNext(((CheckConsistencyResponse) 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 CheckConsistency, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckConsistencyResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void snapshotTable( + SnapshotTableRequest 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 SnapshotTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getSnapshot(GetSnapshotRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Snapshot) { + requests.add(request); + responseObserver.onNext(((Snapshot) 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 GetSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Snapshot.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listSnapshots( + ListSnapshotsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListSnapshotsResponse) { + requests.add(request); + responseObserver.onNext(((ListSnapshotsResponse) 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 ListSnapshots, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListSnapshotsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteSnapshot( + DeleteSnapshotRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteSnapshot, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createBackup( + CreateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getBackup(GetBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void updateBackup(UpdateBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Backup) { + requests.add(request); + responseObserver.onNext(((Backup) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method UpdateBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Backup.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteBackup(DeleteBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Empty) { + requests.add(request); + responseObserver.onNext(((Empty) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Empty.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listBackups( + ListBackupsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListBackupsResponse) { + requests.add(request); + responseObserver.onNext(((ListBackupsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListBackups, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListBackupsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void restoreTable( + RestoreTableRequest 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 RestoreTable, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void copyBackup(CopyBackupRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CopyBackup, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIamPolicy(GetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void setIamPolicy(SetIamPolicyRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Policy) { + requests.add(request); + responseObserver.onNext(((Policy) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method SetIamPolicy, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Policy.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void testIamPermissions( + TestIamPermissionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof TestIamPermissionsResponse) { + requests.add(request); + responseObserver.onNext(((TestIamPermissionsResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method TestIamPermissions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + TestIamPermissionsResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java new file mode 100644 index 0000000000..8e82819deb --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/BaseBigtableDataClientTest.java @@ -0,0 +1,1084 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.grpc.testing.MockStreamObserver; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StatusCode; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.InstanceName; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.Mutation; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.RateLimitInfo; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadModifyWriteRule; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.RequestStats; +import com.google.bigtable.v2.Row; +import com.google.bigtable.v2.RowFilter; +import com.google.bigtable.v2.RowSet; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.bigtable.v2.StreamPartition; +import com.google.bigtable.v2.TableName; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.ByteString; +import com.google.protobuf.Duration; +import com.google.protobuf.Timestamp; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class BaseBigtableDataClientTest { + private static MockBigtable mockBigtable; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private BaseBigtableDataClient client; + + @BeforeClass + public static void startStaticServer() { + mockBigtable = new MockBigtable(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockBigtable)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + BaseBigtableDataSettings settings = + BaseBigtableDataSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = BaseBigtableDataClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void readRowsTest() throws Exception { + ReadRowsResponse expectedResponse = + ReadRowsResponse.newBuilder() + .addAllChunks(new ArrayList()) + .setLastScannedRowKey(ByteString.EMPTY) + .setRequestStats(RequestStats.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadRowsRequest request = + ReadRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setRows(RowSet.newBuilder().build()) + .setFilter(RowFilter.newBuilder().build()) + .setRowsLimit(-944199211) + .setReversed(true) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = client.readRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void sampleRowKeysTest() throws Exception { + SampleRowKeysResponse expectedResponse = + SampleRowKeysResponse.newBuilder() + .setRowKey(ByteString.EMPTY) + .setOffsetBytes(889884095) + .build(); + mockBigtable.addResponse(expectedResponse); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void sampleRowKeysExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + SampleRowKeysRequest request = + SampleRowKeysRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.sampleRowKeysCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void mutateRowTest() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest2() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + client.mutateRow(tableName, rowKey, mutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest3() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowTest4() throws Exception { + MutateRowResponse expectedResponse = MutateRowResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + MutateRowResponse actualResponse = client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + MutateRowRequest actualRequest = ((MutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(mutations, actualRequest.getMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void mutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List mutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.mutateRow(tableName, rowKey, mutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void mutateRowsTest() throws Exception { + MutateRowsResponse expectedResponse = + MutateRowsResponse.newBuilder() + .addAllEntries(new ArrayList()) + .setRateLimitInfo(RateLimitInfo.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void mutateRowsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + MutateRowsRequest request = + MutateRowsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .addAllEntries(new ArrayList()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.mutateRowsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void checkAndMutateRowTest() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest2() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + client.checkAndMutateRow(tableName, rowKey, predicateFilter, trueMutations, falseMutations); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest3() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void checkAndMutateRowTest4() throws Exception { + CheckAndMutateRowResponse expectedResponse = + CheckAndMutateRowResponse.newBuilder().setPredicateMatched(true).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + CheckAndMutateRowResponse actualResponse = + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CheckAndMutateRowRequest actualRequest = ((CheckAndMutateRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(predicateFilter, actualRequest.getPredicateFilter()); + Assert.assertEquals(trueMutations, actualRequest.getTrueMutationsList()); + Assert.assertEquals(falseMutations, actualRequest.getFalseMutationsList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void checkAndMutateRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + RowFilter predicateFilter = RowFilter.newBuilder().build(); + List trueMutations = new ArrayList<>(); + List falseMutations = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.checkAndMutateRow( + tableName, rowKey, predicateFilter, trueMutations, falseMutations, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest2() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + client.pingAndWarm(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest3() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name.toString(), actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + InstanceName name = InstanceName.of("[PROJECT]", "[INSTANCE]"); + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void pingAndWarmTest4() throws Exception { + PingAndWarmResponse expectedResponse = PingAndWarmResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + + PingAndWarmResponse actualResponse = client.pingAndWarm(name, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + PingAndWarmRequest actualRequest = ((PingAndWarmRequest) actualRequests.get(0)); + + Assert.assertEquals(name, actualRequest.getName()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void pingAndWarmExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String name = "name3373707"; + String appProfileId = "appProfileId704923523"; + client.pingAndWarm(name, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest2() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + + ReadModifyWriteRowResponse actualResponse = client.readModifyWriteRow(tableName, rowKey, rules); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest2() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + client.readModifyWriteRow(tableName, rowKey, rules); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest3() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName.toString(), actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest3() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + TableName tableName = TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]"); + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void readModifyWriteRowTest4() throws Exception { + ReadModifyWriteRowResponse expectedResponse = + ReadModifyWriteRowResponse.newBuilder().setRow(Row.newBuilder().build()).build(); + mockBigtable.addResponse(expectedResponse); + + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + + ReadModifyWriteRowResponse actualResponse = + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockBigtable.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ReadModifyWriteRowRequest actualRequest = ((ReadModifyWriteRowRequest) actualRequests.get(0)); + + Assert.assertEquals(tableName, actualRequest.getTableName()); + Assert.assertEquals(rowKey, actualRequest.getRowKey()); + Assert.assertEquals(rules, actualRequest.getRulesList()); + Assert.assertEquals(appProfileId, actualRequest.getAppProfileId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void readModifyWriteRowExceptionTest4() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + + try { + String tableName = "tableName-1988717703"; + ByteString rowKey = ByteString.EMPTY; + List rules = new ArrayList<>(); + String appProfileId = "appProfileId704923523"; + client.readModifyWriteRow(tableName, rowKey, rules, appProfileId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void generateInitialChangeStreamPartitionsTest() throws Exception { + GenerateInitialChangeStreamPartitionsResponse expectedResponse = + GenerateInitialChangeStreamPartitionsResponse.newBuilder() + .setPartition(StreamPartition.newBuilder().build()) + .build(); + mockBigtable.addResponse(expectedResponse); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = + responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void generateInitialChangeStreamPartitionsExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + GenerateInitialChangeStreamPartitionsRequest request = + GenerateInitialChangeStreamPartitionsRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .build(); + + MockStreamObserver responseObserver = + new MockStreamObserver<>(); + + ServerStreamingCallable< + GenerateInitialChangeStreamPartitionsRequest, + GenerateInitialChangeStreamPartitionsResponse> + callable = client.generateInitialChangeStreamPartitionsCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = + responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void readChangeStreamTest() throws Exception { + ReadChangeStreamResponse expectedResponse = ReadChangeStreamResponse.newBuilder().build(); + mockBigtable.addResponse(expectedResponse); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + List actualResponses = responseObserver.future().get(); + Assert.assertEquals(1, actualResponses.size()); + Assert.assertEquals(expectedResponse, actualResponses.get(0)); + } + + @Test + public void readChangeStreamExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockBigtable.addException(exception); + ReadChangeStreamRequest request = + ReadChangeStreamRequest.newBuilder() + .setTableName(TableName.of("[PROJECT]", "[INSTANCE]", "[TABLE]").toString()) + .setAppProfileId("appProfileId704923523") + .setPartition(StreamPartition.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setHeartbeatDuration(Duration.newBuilder().build()) + .build(); + + MockStreamObserver responseObserver = new MockStreamObserver<>(); + + ServerStreamingCallable callable = + client.readChangeStreamCallable(); + callable.serverStreamingCall(request, responseObserver); + + try { + List actualResponses = responseObserver.future().get(); + Assert.fail("No exception thrown"); + } catch (ExecutionException e) { + Assert.assertTrue(e.getCause() instanceof InvalidArgumentException); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java new file mode 100644 index 0000000000..24940b75bd --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtable.java @@ -0,0 +1,59 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtable implements MockGrpcService { + private final MockBigtableImpl serviceImpl; + + public MockBigtable() { + serviceImpl = new MockBigtableImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java new file mode 100644 index 0000000000..96b734953f --- /dev/null +++ b/owl-bot-staging/v2/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/MockBigtableImpl.java @@ -0,0 +1,269 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.bigtable.data.v2; + +import com.google.api.core.BetaApi; +import com.google.bigtable.v2.BigtableGrpc.BigtableImplBase; +import com.google.bigtable.v2.CheckAndMutateRowRequest; +import com.google.bigtable.v2.CheckAndMutateRowResponse; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest; +import com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse; +import com.google.bigtable.v2.MutateRowRequest; +import com.google.bigtable.v2.MutateRowResponse; +import com.google.bigtable.v2.MutateRowsRequest; +import com.google.bigtable.v2.MutateRowsResponse; +import com.google.bigtable.v2.PingAndWarmRequest; +import com.google.bigtable.v2.PingAndWarmResponse; +import com.google.bigtable.v2.ReadChangeStreamRequest; +import com.google.bigtable.v2.ReadChangeStreamResponse; +import com.google.bigtable.v2.ReadModifyWriteRowRequest; +import com.google.bigtable.v2.ReadModifyWriteRowResponse; +import com.google.bigtable.v2.ReadRowsRequest; +import com.google.bigtable.v2.ReadRowsResponse; +import com.google.bigtable.v2.SampleRowKeysRequest; +import com.google.bigtable.v2.SampleRowKeysResponse; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockBigtableImpl extends BigtableImplBase { + private List requests; + private Queue responses; + + public MockBigtableImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void readRows(ReadRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadRowsResponse) { + requests.add(request); + responseObserver.onNext(((ReadRowsResponse) 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 ReadRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void sampleRowKeys( + SampleRowKeysRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof SampleRowKeysResponse) { + requests.add(request); + responseObserver.onNext(((SampleRowKeysResponse) 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 SampleRowKeys, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + SampleRowKeysResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRow( + MutateRowRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowResponse) 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 MutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void mutateRows( + MutateRowsRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof MutateRowsResponse) { + requests.add(request); + responseObserver.onNext(((MutateRowsResponse) 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 MutateRows, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + MutateRowsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void checkAndMutateRow( + CheckAndMutateRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof CheckAndMutateRowResponse) { + requests.add(request); + responseObserver.onNext(((CheckAndMutateRowResponse) 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 CheckAndMutateRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + CheckAndMutateRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void pingAndWarm( + PingAndWarmRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof PingAndWarmResponse) { + requests.add(request); + responseObserver.onNext(((PingAndWarmResponse) 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 PingAndWarm, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + PingAndWarmResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readModifyWriteRow( + ReadModifyWriteRowRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadModifyWriteRowResponse) { + requests.add(request); + responseObserver.onNext(((ReadModifyWriteRowResponse) 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 ReadModifyWriteRow, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadModifyWriteRowResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void generateInitialChangeStreamPartitions( + GenerateInitialChangeStreamPartitionsRequest request, + StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof GenerateInitialChangeStreamPartitionsResponse) { + requests.add(request); + responseObserver.onNext(((GenerateInitialChangeStreamPartitionsResponse) 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 GenerateInitialChangeStreamPartitions, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + GenerateInitialChangeStreamPartitionsResponse.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void readChangeStream( + ReadChangeStreamRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ReadChangeStreamResponse) { + requests.add(request); + responseObserver.onNext(((ReadChangeStreamResponse) 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 ReadChangeStream, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ReadChangeStreamResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java new file mode 100644 index 0000000000..c7232c4daf --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminGrpc.java @@ -0,0 +1,2167 @@ +package com.google.bigtable.admin.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+ * Clusters. Provides access to the Instance and Cluster schemas only, not the
+ * tables' metadata or data stored in those tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/admin/v2/bigtable_instance_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableInstanceAdminGrpc { + + private BigtableInstanceAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.bigtable.admin.v2.BigtableInstanceAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getCreateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateInstance", + requestType = com.google.bigtable.admin.v2.CreateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateInstanceMethod() { + io.grpc.MethodDescriptor getCreateInstanceMethod; + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateInstanceMethod = BigtableInstanceAdminGrpc.getCreateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getCreateInstanceMethod = getCreateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateInstance")) + .build(); + } + } + } + return getCreateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetInstance", + requestType = com.google.bigtable.admin.v2.GetInstanceRequest.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetInstanceMethod() { + io.grpc.MethodDescriptor getGetInstanceMethod; + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetInstanceMethod = BigtableInstanceAdminGrpc.getGetInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getGetInstanceMethod = getGetInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetInstance")) + .build(); + } + } + } + return getGetInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getListInstancesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListInstances", + requestType = com.google.bigtable.admin.v2.ListInstancesRequest.class, + responseType = com.google.bigtable.admin.v2.ListInstancesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListInstancesMethod() { + io.grpc.MethodDescriptor getListInstancesMethod; + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListInstancesMethod = BigtableInstanceAdminGrpc.getListInstancesMethod) == null) { + BigtableInstanceAdminGrpc.getListInstancesMethod = getListInstancesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInstances")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListInstances")) + .build(); + } + } + } + return getListInstancesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateInstance", + requestType = com.google.bigtable.admin.v2.Instance.class, + responseType = com.google.bigtable.admin.v2.Instance.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateInstanceMethod() { + io.grpc.MethodDescriptor getUpdateInstanceMethod; + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateInstanceMethod = BigtableInstanceAdminGrpc.getUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateInstanceMethod = getUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Instance.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateInstance")) + .build(); + } + } + } + return getUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateInstance", + requestType = com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateInstanceMethod() { + io.grpc.MethodDescriptor getPartialUpdateInstanceMethod; + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateInstanceMethod = BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateInstanceMethod = getPartialUpdateInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateInstance")) + .build(); + } + } + } + return getPartialUpdateInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteInstanceMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteInstance", + requestType = com.google.bigtable.admin.v2.DeleteInstanceRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteInstanceMethod() { + io.grpc.MethodDescriptor getDeleteInstanceMethod; + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteInstanceMethod = BigtableInstanceAdminGrpc.getDeleteInstanceMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteInstanceMethod = getDeleteInstanceMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInstance")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteInstance")) + .build(); + } + } + } + return getDeleteInstanceMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCluster", + requestType = com.google.bigtable.admin.v2.CreateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateClusterMethod() { + io.grpc.MethodDescriptor getCreateClusterMethod; + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateClusterMethod = BigtableInstanceAdminGrpc.getCreateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getCreateClusterMethod = getCreateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateCluster")) + .build(); + } + } + } + return getCreateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCluster", + requestType = com.google.bigtable.admin.v2.GetClusterRequest.class, + responseType = com.google.bigtable.admin.v2.Cluster.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetClusterMethod() { + io.grpc.MethodDescriptor getGetClusterMethod; + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetClusterMethod = BigtableInstanceAdminGrpc.getGetClusterMethod) == null) { + BigtableInstanceAdminGrpc.getGetClusterMethod = getGetClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetCluster")) + .build(); + } + } + } + return getGetClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getListClustersMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListClusters", + requestType = com.google.bigtable.admin.v2.ListClustersRequest.class, + responseType = com.google.bigtable.admin.v2.ListClustersResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListClustersMethod() { + io.grpc.MethodDescriptor getListClustersMethod; + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListClustersMethod = BigtableInstanceAdminGrpc.getListClustersMethod) == null) { + BigtableInstanceAdminGrpc.getListClustersMethod = getListClustersMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListClusters")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListClusters")) + .build(); + } + } + } + return getListClustersMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCluster", + requestType = com.google.bigtable.admin.v2.Cluster.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateClusterMethod() { + io.grpc.MethodDescriptor getUpdateClusterMethod; + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateClusterMethod = BigtableInstanceAdminGrpc.getUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateClusterMethod = getUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateCluster")) + .build(); + } + } + } + return getUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PartialUpdateCluster", + requestType = com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPartialUpdateClusterMethod() { + io.grpc.MethodDescriptor getPartialUpdateClusterMethod; + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getPartialUpdateClusterMethod = BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod) == null) { + BigtableInstanceAdminGrpc.getPartialUpdateClusterMethod = getPartialUpdateClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PartialUpdateCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("PartialUpdateCluster")) + .build(); + } + } + } + return getPartialUpdateClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteClusterMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCluster", + requestType = com.google.bigtable.admin.v2.DeleteClusterRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteClusterMethod() { + io.grpc.MethodDescriptor getDeleteClusterMethod; + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteClusterMethod = BigtableInstanceAdminGrpc.getDeleteClusterMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteClusterMethod = getDeleteClusterMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCluster")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteCluster")) + .build(); + } + } + } + return getDeleteClusterMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateAppProfile", + requestType = com.google.bigtable.admin.v2.CreateAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateAppProfileMethod() { + io.grpc.MethodDescriptor getCreateAppProfileMethod; + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getCreateAppProfileMethod = BigtableInstanceAdminGrpc.getCreateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getCreateAppProfileMethod = getCreateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("CreateAppProfile")) + .build(); + } + } + } + return getCreateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetAppProfile", + requestType = com.google.bigtable.admin.v2.GetAppProfileRequest.class, + responseType = com.google.bigtable.admin.v2.AppProfile.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetAppProfileMethod() { + io.grpc.MethodDescriptor getGetAppProfileMethod; + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetAppProfileMethod = BigtableInstanceAdminGrpc.getGetAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getGetAppProfileMethod = getGetAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("GetAppProfile")) + .build(); + } + } + } + return getGetAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListAppProfilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListAppProfiles", + requestType = com.google.bigtable.admin.v2.ListAppProfilesRequest.class, + responseType = com.google.bigtable.admin.v2.ListAppProfilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListAppProfilesMethod() { + io.grpc.MethodDescriptor getListAppProfilesMethod; + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListAppProfilesMethod = BigtableInstanceAdminGrpc.getListAppProfilesMethod) == null) { + BigtableInstanceAdminGrpc.getListAppProfilesMethod = getListAppProfilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAppProfiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListAppProfiles")) + .build(); + } + } + } + return getListAppProfilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateAppProfile", + requestType = com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateAppProfileMethod() { + io.grpc.MethodDescriptor getUpdateAppProfileMethod; + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getUpdateAppProfileMethod = BigtableInstanceAdminGrpc.getUpdateAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getUpdateAppProfileMethod = getUpdateAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("UpdateAppProfile")) + .build(); + } + } + } + return getUpdateAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteAppProfileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteAppProfile", + requestType = com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteAppProfileMethod() { + io.grpc.MethodDescriptor getDeleteAppProfileMethod; + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getDeleteAppProfileMethod = BigtableInstanceAdminGrpc.getDeleteAppProfileMethod) == null) { + BigtableInstanceAdminGrpc.getDeleteAppProfileMethod = getDeleteAppProfileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAppProfile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("DeleteAppProfile")) + .build(); + } + } + } + return getDeleteAppProfileMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getGetIamPolicyMethod = BigtableInstanceAdminGrpc.getGetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getSetIamPolicyMethod = BigtableInstanceAdminGrpc.getSetIamPolicyMethod) == null) { + BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getTestIamPermissionsMethod = BigtableInstanceAdminGrpc.getTestIamPermissionsMethod) == null) { + BigtableInstanceAdminGrpc.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 BigtableInstanceAdminMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListHotTabletsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListHotTablets", + requestType = com.google.bigtable.admin.v2.ListHotTabletsRequest.class, + responseType = com.google.bigtable.admin.v2.ListHotTabletsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListHotTabletsMethod() { + io.grpc.MethodDescriptor getListHotTabletsMethod; + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + if ((getListHotTabletsMethod = BigtableInstanceAdminGrpc.getListHotTabletsMethod) == null) { + BigtableInstanceAdminGrpc.getListHotTabletsMethod = getListHotTabletsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListHotTablets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableInstanceAdminMethodDescriptorSupplier("ListHotTablets")) + .build(); + } + } + } + return getListHotTabletsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableInstanceAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + }; + return BigtableInstanceAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableInstanceAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + }; + return BigtableInstanceAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableInstanceAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableInstanceAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + }; + return BigtableInstanceAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateInstanceMethod(), responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + default void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetInstanceMethod(), responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + default void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListInstancesMethod(), responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + default void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + default void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateInstanceMethod(), responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + default void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteInstanceMethod(), responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + default void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateClusterMethod(), responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + default void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetClusterMethod(), responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + default void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListClustersMethod(), responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + default void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + default void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPartialUpdateClusterMethod(), responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + default void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteClusterMethod(), responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + default void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + default void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetAppProfileMethod(), responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + default void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAppProfilesMethod(), responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + default void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAppProfileMethod(), responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + default void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAppProfileMethod(), responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + default 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 an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + default 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 instance resource.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + default void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListHotTabletsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static abstract class BigtableInstanceAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableInstanceAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableInstanceAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public void getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public void listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public void updateInstance(com.google.bigtable.admin.v2.Instance request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public void partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public void deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public void createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public void getCluster(com.google.bigtable.admin.v2.GetClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public void listClusters(com.google.bigtable.admin.v2.ListClustersRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public void updateCluster(com.google.bigtable.admin.v2.Cluster request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public void partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public void deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public void createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public void getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public void listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public void updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public void deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + 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); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + 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); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + 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); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public void listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableInstanceAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createInstance(com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance getInstance(com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListInstancesResponse listInstances(com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListInstancesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.bigtable.admin.v2.Instance updateInstance(com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateInstance(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.protobuf.Empty deleteInstance(com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteInstanceMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.longrunning.Operation createCluster(com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.bigtable.admin.v2.Cluster getCluster(com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListClustersResponse listClusters(com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListClustersMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.longrunning.Operation updateCluster(com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.longrunning.Operation partialUpdateCluster(com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPartialUpdateClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteCluster(com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteClusterMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile createAppProfile(com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.bigtable.admin.v2.AppProfile getAppProfile(com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListAppProfilesResponse listAppProfiles(com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListAppProfilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.longrunning.Operation updateAppProfile(com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.protobuf.Empty deleteAppProfile(com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteAppProfileMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy on an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns permissions that the caller has on the specified instance resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.bigtable.admin.v2.ListHotTabletsResponse listHotTablets(com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListHotTabletsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableInstanceAdmin. + *
+   * Service for creating, configuring, and deleting Cloud Bigtable Instances and
+   * Clusters. Provides access to the Instance and Cluster schemas only, not the
+   * tables' metadata or data stored in those tables.
+   * 
+ */ + public static final class BigtableInstanceAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableInstanceAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableInstanceAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableInstanceAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Create an instance within a project.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createInstance( + com.google.bigtable.admin.v2.CreateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getInstance( + com.google.bigtable.admin.v2.GetInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about instances in a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listInstances( + com.google.bigtable.admin.v2.ListInstancesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListInstancesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an instance within a project. This method updates only the display
+     * name and type for an Instance. To update other Instance properties, such as
+     * labels, use PartialUpdateInstance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateInstance( + com.google.bigtable.admin.v2.Instance request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates an instance within a project. This method can modify all
+     * fields of an Instance and is the preferred way to update an Instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateInstance( + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Delete an instance from a project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteInstance( + com.google.bigtable.admin.v2.DeleteInstanceRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteInstanceMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a cluster within an instance.
+     * Note that exactly one of Cluster.serve_nodes and
+     * Cluster.cluster_config.cluster_autoscaling_config can be set. If
+     * serve_nodes is set to non-zero, then the cluster is manually scaled. If
+     * cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is
+     * enabled.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createCluster( + com.google.bigtable.admin.v2.CreateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about a cluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getCluster( + com.google.bigtable.admin.v2.GetClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about clusters in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listClusters( + com.google.bigtable.admin.v2.ListClustersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListClustersMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a cluster within an instance.
+     * Note that UpdateCluster does not support updating
+     * cluster_config.cluster_autoscaling_config. In order to update it, you
+     * must use PartialUpdateCluster.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateCluster( + com.google.bigtable.admin.v2.Cluster request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Partially updates a cluster within a project. This method is the preferred
+     * way to update a Cluster.
+     * To enable and update autoscaling, set
+     * cluster_config.cluster_autoscaling_config. When autoscaling is enabled,
+     * serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it
+     * are ignored. Note that an update cannot simultaneously set serve_nodes to
+     * non-zero and cluster_config.cluster_autoscaling_config to non-empty, and
+     * also specify both in the update_mask.
+     * To disable autoscaling, clear cluster_config.cluster_autoscaling_config,
+     * and explicitly set a serve_node count via the update_mask.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture partialUpdateCluster( + com.google.bigtable.admin.v2.PartialUpdateClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPartialUpdateClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a cluster from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteCluster( + com.google.bigtable.admin.v2.DeleteClusterRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteClusterMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createAppProfile( + com.google.bigtable.admin.v2.CreateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets information about an app profile.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getAppProfile( + com.google.bigtable.admin.v2.GetAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists information about app profiles in an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listAppProfiles( + com.google.bigtable.admin.v2.ListAppProfilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListAppProfilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates an app profile within an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateAppProfile( + com.google.bigtable.admin.v2.UpdateAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an app profile from an instance.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteAppProfile( + com.google.bigtable.admin.v2.DeleteAppProfileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteAppProfileMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the access control policy for an instance resource. Returns an empty
+     * policy if an instance exists but does not have a policy set.
+     * 
+ */ + 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 an instance resource. Replaces any
+     * existing policy.
+     * 
+ */ + 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 instance resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists hot tablets in a cluster, within the time range provided. Hot
+     * tablets are ordered based on CPU usage.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listHotTablets( + com.google.bigtable.admin.v2.ListHotTabletsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListHotTabletsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_INSTANCE = 0; + private static final int METHODID_GET_INSTANCE = 1; + private static final int METHODID_LIST_INSTANCES = 2; + private static final int METHODID_UPDATE_INSTANCE = 3; + private static final int METHODID_PARTIAL_UPDATE_INSTANCE = 4; + private static final int METHODID_DELETE_INSTANCE = 5; + private static final int METHODID_CREATE_CLUSTER = 6; + private static final int METHODID_GET_CLUSTER = 7; + private static final int METHODID_LIST_CLUSTERS = 8; + private static final int METHODID_UPDATE_CLUSTER = 9; + private static final int METHODID_PARTIAL_UPDATE_CLUSTER = 10; + private static final int METHODID_DELETE_CLUSTER = 11; + private static final int METHODID_CREATE_APP_PROFILE = 12; + private static final int METHODID_GET_APP_PROFILE = 13; + private static final int METHODID_LIST_APP_PROFILES = 14; + private static final int METHODID_UPDATE_APP_PROFILE = 15; + private static final int METHODID_DELETE_APP_PROFILE = 16; + private static final int METHODID_GET_IAM_POLICY = 17; + private static final int METHODID_SET_IAM_POLICY = 18; + private static final int METHODID_TEST_IAM_PERMISSIONS = 19; + private static final int METHODID_LIST_HOT_TABLETS = 20; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_INSTANCE: + serviceImpl.createInstance((com.google.bigtable.admin.v2.CreateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INSTANCE: + serviceImpl.getInstance((com.google.bigtable.admin.v2.GetInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INSTANCES: + serviceImpl.listInstances((com.google.bigtable.admin.v2.ListInstancesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_INSTANCE: + serviceImpl.updateInstance((com.google.bigtable.admin.v2.Instance) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_INSTANCE: + serviceImpl.partialUpdateInstance((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INSTANCE: + serviceImpl.deleteInstance((com.google.bigtable.admin.v2.DeleteInstanceRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_CLUSTER: + serviceImpl.createCluster((com.google.bigtable.admin.v2.CreateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_CLUSTER: + serviceImpl.getCluster((com.google.bigtable.admin.v2.GetClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CLUSTERS: + serviceImpl.listClusters((com.google.bigtable.admin.v2.ListClustersRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CLUSTER: + serviceImpl.updateCluster((com.google.bigtable.admin.v2.Cluster) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PARTIAL_UPDATE_CLUSTER: + serviceImpl.partialUpdateCluster((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CLUSTER: + serviceImpl.deleteCluster((com.google.bigtable.admin.v2.DeleteClusterRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_APP_PROFILE: + serviceImpl.createAppProfile((com.google.bigtable.admin.v2.CreateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_APP_PROFILE: + serviceImpl.getAppProfile((com.google.bigtable.admin.v2.GetAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_APP_PROFILES: + serviceImpl.listAppProfiles((com.google.bigtable.admin.v2.ListAppProfilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_APP_PROFILE: + serviceImpl.updateAppProfile((com.google.bigtable.admin.v2.UpdateAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_APP_PROFILE: + serviceImpl.deleteAppProfile((com.google.bigtable.admin.v2.DeleteAppProfileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_HOT_TABLETS: + serviceImpl.listHotTablets((com.google.bigtable.admin.v2.ListHotTabletsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INSTANCE))) + .addMethod( + getGetInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetInstanceRequest, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_GET_INSTANCE))) + .addMethod( + getListInstancesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListInstancesRequest, + com.google.bigtable.admin.v2.ListInstancesResponse>( + service, METHODID_LIST_INSTANCES))) + .addMethod( + getUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Instance, + com.google.bigtable.admin.v2.Instance>( + service, METHODID_UPDATE_INSTANCE))) + .addMethod( + getPartialUpdateInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_INSTANCE))) + .addMethod( + getDeleteInstanceMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteInstanceRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_INSTANCE))) + .addMethod( + getCreateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_CLUSTER))) + .addMethod( + getGetClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetClusterRequest, + com.google.bigtable.admin.v2.Cluster>( + service, METHODID_GET_CLUSTER))) + .addMethod( + getListClustersMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListClustersRequest, + com.google.bigtable.admin.v2.ListClustersResponse>( + service, METHODID_LIST_CLUSTERS))) + .addMethod( + getUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.Cluster, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_CLUSTER))) + .addMethod( + getPartialUpdateClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, + com.google.longrunning.Operation>( + service, METHODID_PARTIAL_UPDATE_CLUSTER))) + .addMethod( + getDeleteClusterMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteClusterRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_CLUSTER))) + .addMethod( + getCreateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_CREATE_APP_PROFILE))) + .addMethod( + getGetAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetAppProfileRequest, + com.google.bigtable.admin.v2.AppProfile>( + service, METHODID_GET_APP_PROFILE))) + .addMethod( + getListAppProfilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListAppProfilesRequest, + com.google.bigtable.admin.v2.ListAppProfilesResponse>( + service, METHODID_LIST_APP_PROFILES))) + .addMethod( + getUpdateAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateAppProfileRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_APP_PROFILE))) + .addMethod( + getDeleteAppProfileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteAppProfileRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_APP_PROFILE))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getListHotTabletsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListHotTabletsRequest, + com.google.bigtable.admin.v2.ListHotTabletsResponse>( + service, METHODID_LIST_HOT_TABLETS))) + .build(); + } + + private static abstract class BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableInstanceAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigtableInstanceAdmin"); + } + } + + private static final class BigtableInstanceAdminFileDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier { + BigtableInstanceAdminFileDescriptorSupplier() {} + } + + private static final class BigtableInstanceAdminMethodDescriptorSupplier + extends BigtableInstanceAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigtableInstanceAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableInstanceAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableInstanceAdminFileDescriptorSupplier()) + .addMethod(getCreateInstanceMethod()) + .addMethod(getGetInstanceMethod()) + .addMethod(getListInstancesMethod()) + .addMethod(getUpdateInstanceMethod()) + .addMethod(getPartialUpdateInstanceMethod()) + .addMethod(getDeleteInstanceMethod()) + .addMethod(getCreateClusterMethod()) + .addMethod(getGetClusterMethod()) + .addMethod(getListClustersMethod()) + .addMethod(getUpdateClusterMethod()) + .addMethod(getPartialUpdateClusterMethod()) + .addMethod(getDeleteClusterMethod()) + .addMethod(getCreateAppProfileMethod()) + .addMethod(getGetAppProfileMethod()) + .addMethod(getListAppProfilesMethod()) + .addMethod(getUpdateAppProfileMethod()) + .addMethod(getDeleteAppProfileMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getListHotTabletsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java new file mode 100644 index 0000000000..80c64bd680 --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminGrpc.java @@ -0,0 +1,2631 @@ +package com.google.bigtable.admin.v2; + +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
+ * the tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/admin/v2/bigtable_table_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableTableAdminGrpc { + + private BigtableTableAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.bigtable.admin.v2.BigtableTableAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getCreateTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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) { + 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(); + } + } + } + return getCreateTableFromSnapshotMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getListTablesMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getGetTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getUpdateTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getDeleteTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getUndeleteTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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) { + 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(); + } + } + } + return getModifyColumnFamiliesMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getDropRowRangeMethod; + } + + private static volatile io.grpc.MethodDescriptor 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) { + 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(); + } + } + } + return getGenerateConsistencyTokenMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getCheckConsistencyMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getSnapshotTableMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getGetSnapshotMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getListSnapshotsMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getDeleteSnapshotMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getCreateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getGetBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getUpdateBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getDeleteBackupMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + return getListBackupsMethod; + } + + private static volatile io.grpc.MethodDescriptor 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; + 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(); + } + } + } + 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; + + @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; + 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(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor 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(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor 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(); + } + } + } + return getTestIamPermissionsMethod; + } + + /** + * 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) { + return new BigtableTableAdminStub(channel, callOptions); + } + }; + return BigtableTableAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + 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) { + 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) { + 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) { + return new BigtableTableAdminFutureStub(channel, callOptions); + } + }; + return BigtableTableAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for creating, configuring, and deleting Cloud Bigtable tables.
+   * Provides access to the table schemas only, not the data stored within
+   * the tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * 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.
+     * 
+ */ + default 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * returns, but data requests received prior to that point may see a table
+     * where only some modifications have taken effect.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * before this call started have been replicated. The tokens will be available
+     * for 90 days.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + default 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + default 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + default 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + default 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
+     * track creation of the backup. The
+     * [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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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.
+     * 
+ */ + default 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
+     * returned table [long-running operation][google.longrunning.Operation] can
+     * be used to track the progress of the operation, and to cancel it.  The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
+     * [response][google.longrunning.Operation.response] type is
+     * [Table][google.bigtable.admin.v2.Table], if successful.
+     * 
+ */ + default 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.
+     * 
+ */ + default void copyBackup(com.google.bigtable.admin.v2.CopyBackupRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyBackupMethod(), responseObserver); + } + + /** + *
+     * 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.
+     * 
+ */ + default 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 or Backup resource.
+     * Replaces any existing policy.
+     * 
+ */ + default 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 or Backup
+     * resource.
+     * 
+ */ + default void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service BigtableTableAdmin. + *
+   * 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, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableTableAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service BigtableTableAdmin. + *
+   * 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) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableTableAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableTableAdminStub(channel, callOptions); + } + + /** + *
+     * 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.ClientCalls.asyncUnaryCall( + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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); + } + + /** + *
+     * Lists all tables served from a specified instance.
+     * 
+ */ + 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) { + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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
+     * returns, but data requests received prior to that point may see a table
+     * 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.ClientCalls.asyncUnaryCall( + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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
+     * before this call started have been replicated. The tokens will be available
+     * for 90 days.
+     * 
+ */ + 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); + } + + /** + *
+     * 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.ClientCalls.asyncUnaryCall( + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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); + } + + /** + *
+     * Gets metadata information about the specified snapshot.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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); + } + + /** + *
+     * Lists all snapshots associated with the specified cluster.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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); + } + + /** + *
+     * Permanently deletes the specified snapshot.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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); + } + + /** + *
+     * Starts creating a new Cloud Bigtable Backup.  The returned backup
+     * [long-running operation][google.longrunning.Operation] can be used to
+     * track creation of the backup. The
+     * [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.
+     * 
+ */ + 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); + } + + /** + *
+     * 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) { + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + 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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Create a new table by restoring from a completed backup.  The
+     * returned table [long-running operation][google.longrunning.Operation] can
+     * be used to track the progress of the operation, and to cancel it.  The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
+     * [response][google.longrunning.Operation.response] type is
+     * [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) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCopyBackupMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * 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.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service BigtableTableAdmin. + *
+   * 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 { + private BigtableTableAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableTableAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableTableAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * 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) { + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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) { + 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) { + 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) { + 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) { + 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) { + 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
+     * returns, but data requests received prior to that point may see a table
+     * where only some modifications have taken effect.
+     * 
+ */ + 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) { + 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
+     * before this call started have been replicated. The tokens will be available
+     * for 90 days.
+     * 
+ */ + 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) { + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * track creation of the backup. The
+     * [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.
+     * 
+ */ + 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) { + 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) { + 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) { + 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) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListBackupsMethod(), getCallOptions(), request); + } + + /** + *
+     * Create a new table by restoring from a completed backup.  The
+     * returned table [long-running operation][google.longrunning.Operation] can
+     * be used to track the progress of the operation, and to cancel it.  The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
+     * [response][google.longrunning.Operation.response] type is
+     * [Table][google.bigtable.admin.v2.Table], if successful.
+     * 
+ */ + 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 or Backup resource.
+     * Returns an empty policy if the resource exists but does not have a policy
+     * set.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Sets the access control policy on a Table or Backup resource.
+     * Replaces any existing policy.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * 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) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service BigtableTableAdmin. + *
+   * 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) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableTableAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableTableAdminFutureStub(channel, callOptions); + } + + /** + *
+     * 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) { + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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) { + 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) { + 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) { + 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) { + 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) { + 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
+     * returns, but data requests received prior to that point may see a table
+     * where only some modifications have taken effect.
+     * 
+ */ + 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) { + 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
+     * before this call started have been replicated. The tokens will be available
+     * for 90 days.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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) { + 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.
+     * Note: This is a private alpha release of Cloud Bigtable snapshots. This
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture 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
+     * feature is not currently available to most Cloud Bigtable customers. This
+     * 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.
+     * 
+ */ + 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
+     * track creation of the backup. The
+     * [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.
+     * 
+ */ + 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) { + 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) { + 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) { + 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) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListBackupsMethod(), getCallOptions()), request); + } + + /** + *
+     * Create a new table by restoring from a completed backup.  The
+     * returned table [long-running operation][google.longrunning.Operation] can
+     * be used to track the progress of the operation, and to cancel it.  The
+     * [metadata][google.longrunning.Operation.metadata] field type is
+     * [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata].  The
+     * [response][google.longrunning.Operation.response] type is
+     * [Table][google.bigtable.admin.v2.Table], if successful.
+     * 
+ */ + 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 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) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * 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) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * 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) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_CREATE_TABLE = 0; + private static final int METHODID_CREATE_TABLE_FROM_SNAPSHOT = 1; + private static final int METHODID_LIST_TABLES = 2; + private static final int METHODID_GET_TABLE = 3; + private static final int METHODID_UPDATE_TABLE = 4; + private static final int METHODID_DELETE_TABLE = 5; + private static final int METHODID_UNDELETE_TABLE = 6; + private static final int METHODID_MODIFY_COLUMN_FAMILIES = 7; + private static final int METHODID_DROP_ROW_RANGE = 8; + private static final int METHODID_GENERATE_CONSISTENCY_TOKEN = 9; + private static final int METHODID_CHECK_CONSISTENCY = 10; + private static final int METHODID_SNAPSHOT_TABLE = 11; + private static final int METHODID_GET_SNAPSHOT = 12; + private static final int METHODID_LIST_SNAPSHOTS = 13; + private static final int METHODID_DELETE_SNAPSHOT = 14; + private static final int METHODID_CREATE_BACKUP = 15; + private static final int METHODID_GET_BACKUP = 16; + private static final int METHODID_UPDATE_BACKUP = 17; + private static final int METHODID_DELETE_BACKUP = 18; + private static final int METHODID_LIST_BACKUPS = 19; + private static final int METHODID_RESTORE_TABLE = 20; + private static final int METHODID_COPY_BACKUP = 21; + private static final int METHODID_GET_IAM_POLICY = 22; + private static final int METHODID_SET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_CREATE_TABLE: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TABLES: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TABLE: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UNDELETE_TABLE: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DROP_ROW_RANGE: + 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); + break; + case METHODID_CHECK_CONSISTENCY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_SNAPSHOT: + 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); + break; + case METHODID_DELETE_SNAPSHOT: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_BACKUP: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_BACKUP: + 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); + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + 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, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getCreateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_CREATE_TABLE))) + .addMethod( + getCreateTableFromSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, + com.google.longrunning.Operation>( + service, 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>( + service, METHODID_LIST_TABLES))) + .addMethod( + getGetTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetTableRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_GET_TABLE))) + .addMethod( + getUpdateTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UPDATE_TABLE))) + .addMethod( + getDeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteTableRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_TABLE))) + .addMethod( + getUndeleteTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UndeleteTableRequest, + com.google.longrunning.Operation>( + service, METHODID_UNDELETE_TABLE))) + .addMethod( + getModifyColumnFamiliesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest, + com.google.bigtable.admin.v2.Table>( + service, METHODID_MODIFY_COLUMN_FAMILIES))) + .addMethod( + getDropRowRangeMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DropRowRangeRequest, + com.google.protobuf.Empty>( + service, METHODID_DROP_ROW_RANGE))) + .addMethod( + getGenerateConsistencyTokenMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest, + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse>( + service, METHODID_GENERATE_CONSISTENCY_TOKEN))) + .addMethod( + getCheckConsistencyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CheckConsistencyRequest, + com.google.bigtable.admin.v2.CheckConsistencyResponse>( + service, METHODID_CHECK_CONSISTENCY))) + .addMethod( + getSnapshotTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.SnapshotTableRequest, + com.google.longrunning.Operation>( + service, METHODID_SNAPSHOT_TABLE))) + .addMethod( + getGetSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetSnapshotRequest, + com.google.bigtable.admin.v2.Snapshot>( + service, METHODID_GET_SNAPSHOT))) + .addMethod( + getListSnapshotsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListSnapshotsRequest, + com.google.bigtable.admin.v2.ListSnapshotsResponse>( + service, METHODID_LIST_SNAPSHOTS))) + .addMethod( + getDeleteSnapshotMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteSnapshotRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_SNAPSHOT))) + .addMethod( + getCreateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CreateBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_BACKUP))) + .addMethod( + getGetBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.GetBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_GET_BACKUP))) + .addMethod( + getUpdateBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.UpdateBackupRequest, + com.google.bigtable.admin.v2.Backup>( + service, METHODID_UPDATE_BACKUP))) + .addMethod( + getDeleteBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.DeleteBackupRequest, + com.google.protobuf.Empty>( + service, METHODID_DELETE_BACKUP))) + .addMethod( + getListBackupsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.ListBackupsRequest, + com.google.bigtable.admin.v2.ListBackupsResponse>( + service, METHODID_LIST_BACKUPS))) + .addMethod( + getRestoreTableMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.RestoreTableRequest, + com.google.longrunning.Operation>( + service, METHODID_RESTORE_TABLE))) + .addMethod( + getCopyBackupMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.admin.v2.CopyBackupRequest, + com.google.longrunning.Operation>( + service, METHODID_COPY_BACKUP))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_GET_IAM_POLICY))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + service, METHODID_SET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + service, METHODID_TEST_IAM_PERMISSIONS))) + .build(); + } + + private static abstract class BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableTableAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("BigtableTableAdmin"); + } + } + + private static final class BigtableTableAdminFileDescriptorSupplier + extends BigtableTableAdminBaseDescriptorSupplier { + BigtableTableAdminFileDescriptorSupplier() {} + } + + private static final class BigtableTableAdminMethodDescriptorSupplier + extends BigtableTableAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigtableTableAdminMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (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(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java new file mode 100644 index 0000000000..32280135dd --- /dev/null +++ b/owl-bot-staging/v2/grpc-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableGrpc.java @@ -0,0 +1,1030 @@ +package com.google.bigtable.v2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Service for reading from and writing to existing Bigtable tables.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/bigtable/v2/bigtable.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class BigtableGrpc { + + private BigtableGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.bigtable.v2.Bigtable"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getReadRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadRows", + requestType = com.google.bigtable.v2.ReadRowsRequest.class, + responseType = com.google.bigtable.v2.ReadRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadRowsMethod() { + io.grpc.MethodDescriptor getReadRowsMethod; + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadRowsMethod = BigtableGrpc.getReadRowsMethod) == null) { + BigtableGrpc.getReadRowsMethod = getReadRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadRows")) + .build(); + } + } + } + return getReadRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getSampleRowKeysMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SampleRowKeys", + requestType = com.google.bigtable.v2.SampleRowKeysRequest.class, + responseType = com.google.bigtable.v2.SampleRowKeysResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getSampleRowKeysMethod() { + io.grpc.MethodDescriptor getSampleRowKeysMethod; + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getSampleRowKeysMethod = BigtableGrpc.getSampleRowKeysMethod) == null) { + BigtableGrpc.getSampleRowKeysMethod = getSampleRowKeysMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SampleRowKeys")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.SampleRowKeysResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("SampleRowKeys")) + .build(); + } + } + } + return getSampleRowKeysMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRow", + requestType = com.google.bigtable.v2.MutateRowRequest.class, + responseType = com.google.bigtable.v2.MutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getMutateRowMethod() { + io.grpc.MethodDescriptor getMutateRowMethod; + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowMethod = BigtableGrpc.getMutateRowMethod) == null) { + BigtableGrpc.getMutateRowMethod = getMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRow")) + .build(); + } + } + } + return getMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getMutateRowsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "MutateRows", + requestType = com.google.bigtable.v2.MutateRowsRequest.class, + responseType = com.google.bigtable.v2.MutateRowsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getMutateRowsMethod() { + io.grpc.MethodDescriptor getMutateRowsMethod; + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getMutateRowsMethod = BigtableGrpc.getMutateRowsMethod) == null) { + BigtableGrpc.getMutateRowsMethod = getMutateRowsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "MutateRows")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.MutateRowsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("MutateRows")) + .build(); + } + } + } + return getMutateRowsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CheckAndMutateRow", + requestType = com.google.bigtable.v2.CheckAndMutateRowRequest.class, + responseType = com.google.bigtable.v2.CheckAndMutateRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCheckAndMutateRowMethod() { + io.grpc.MethodDescriptor getCheckAndMutateRowMethod; + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getCheckAndMutateRowMethod = BigtableGrpc.getCheckAndMutateRowMethod) == null) { + BigtableGrpc.getCheckAndMutateRowMethod = getCheckAndMutateRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckAndMutateRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("CheckAndMutateRow")) + .build(); + } + } + } + return getCheckAndMutateRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getPingAndWarmMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "PingAndWarm", + requestType = com.google.bigtable.v2.PingAndWarmRequest.class, + responseType = com.google.bigtable.v2.PingAndWarmResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getPingAndWarmMethod() { + io.grpc.MethodDescriptor getPingAndWarmMethod; + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getPingAndWarmMethod = BigtableGrpc.getPingAndWarmMethod) == null) { + BigtableGrpc.getPingAndWarmMethod = getPingAndWarmMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PingAndWarm")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.PingAndWarmResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("PingAndWarm")) + .build(); + } + } + } + return getPingAndWarmMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadModifyWriteRow", + requestType = com.google.bigtable.v2.ReadModifyWriteRowRequest.class, + responseType = com.google.bigtable.v2.ReadModifyWriteRowResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getReadModifyWriteRowMethod() { + io.grpc.MethodDescriptor getReadModifyWriteRowMethod; + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadModifyWriteRowMethod = BigtableGrpc.getReadModifyWriteRowMethod) == null) { + BigtableGrpc.getReadModifyWriteRowMethod = getReadModifyWriteRowMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadModifyWriteRow")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadModifyWriteRow")) + .build(); + } + } + } + return getReadModifyWriteRowMethod; + } + + private static volatile io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GenerateInitialChangeStreamPartitions", + requestType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, + responseType = com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod() { + io.grpc.MethodDescriptor getGenerateInitialChangeStreamPartitionsMethod; + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getGenerateInitialChangeStreamPartitionsMethod = BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod) == null) { + BigtableGrpc.getGenerateInitialChangeStreamPartitionsMethod = getGenerateInitialChangeStreamPartitionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateInitialChangeStreamPartitions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("GenerateInitialChangeStreamPartitions")) + .build(); + } + } + } + return getGenerateInitialChangeStreamPartitionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getReadChangeStreamMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ReadChangeStream", + requestType = com.google.bigtable.v2.ReadChangeStreamRequest.class, + responseType = com.google.bigtable.v2.ReadChangeStreamResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + public static io.grpc.MethodDescriptor getReadChangeStreamMethod() { + io.grpc.MethodDescriptor getReadChangeStreamMethod; + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + synchronized (BigtableGrpc.class) { + if ((getReadChangeStreamMethod = BigtableGrpc.getReadChangeStreamMethod) == null) { + BigtableGrpc.getReadChangeStreamMethod = getReadChangeStreamMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadChangeStream")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())) + .setSchemaDescriptor(new BigtableMethodDescriptorSupplier("ReadChangeStream")) + .build(); + } + } + } + return getReadChangeStreamMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static BigtableStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + }; + return BigtableStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static BigtableBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + }; + return BigtableBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static BigtableFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public BigtableFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + }; + return BigtableFutureStub.newStub(factory, channel); + } + + /** + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + default void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + default void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSampleRowKeysMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + default void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowMethod(), responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + default void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getMutateRowsMethod(), responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + default void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckAndMutateRowMethod(), responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + default void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPingAndWarmMethod(), responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + default void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadModifyWriteRowMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + default void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGenerateInitialChangeStreamPartitionsMethod(), responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + default void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadChangeStreamMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static abstract class BigtableImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return BigtableGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableStub + extends io.grpc.stub.AbstractAsyncStub { + private BigtableStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableStub(channel, callOptions); + } + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public void readRows(com.google.bigtable.v2.ReadRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public void sampleRowKeys(com.google.bigtable.v2.SampleRowKeysRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getSampleRowKeysMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public void mutateRow(com.google.bigtable.v2.MutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public void mutateRows(com.google.bigtable.v2.MutateRowsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getMutateRowsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public void checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public void pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public void readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public void generateInitialChangeStreamPartitions(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public void readChangeStream(com.google.bigtable.v2.ReadChangeStreamRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncServerStreamingCall( + getChannel().newCall(getReadChangeStreamMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private BigtableBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableBlockingStub(channel, callOptions); + } + + /** + *
+     * Streams back the contents of all requested rows in key order, optionally
+     * applying the same Reader filter to each. Depending on their size,
+     * rows and cells may be broken up across multiple responses, but
+     * atomicity of each row will still be preserved. See the
+     * ReadRowsResponse documentation for details.
+     * 
+ */ + public java.util.Iterator readRows( + com.google.bigtable.v2.ReadRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns a sample of row keys in the table. The returned row keys will
+     * delimit contiguous sections of the table of approximately equal size,
+     * which can be used to break up the data for distributed tasks like
+     * mapreduces.
+     * 
+ */ + public java.util.Iterator sampleRowKeys( + com.google.bigtable.v2.SampleRowKeysRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getSampleRowKeysMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.bigtable.v2.MutateRowResponse mutateRow(com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates multiple rows in a batch. Each individual row is mutated
+     * atomically as in MutateRow, but the entire batch is not executed
+     * atomically.
+     * 
+ */ + public java.util.Iterator mutateRows( + com.google.bigtable.v2.MutateRowsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getMutateRowsMethod(), getCallOptions(), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.bigtable.v2.CheckAndMutateRowResponse checkAndMutateRow(com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCheckAndMutateRowMethod(), getCallOptions(), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.bigtable.v2.PingAndWarmResponse pingAndWarm(com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPingAndWarmMethod(), getCallOptions(), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.bigtable.v2.ReadModifyWriteRowResponse readModifyWriteRow(com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getReadModifyWriteRowMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Returns the current list of partitions that make up the table's
+     * change stream. The union of partitions will cover the entire keyspace.
+     * Partitions can be read with `ReadChangeStream`.
+     * 
+ */ + public java.util.Iterator generateInitialChangeStreamPartitions( + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getGenerateInitialChangeStreamPartitionsMethod(), getCallOptions(), request); + } + + /** + *
+     * NOTE: This API is intended to be used by Apache Beam BigtableIO.
+     * Reads changes from a table's change stream. Changes will
+     * reflect both user-initiated mutations and mutations that are caused by
+     * garbage collection.
+     * 
+ */ + public java.util.Iterator readChangeStream( + com.google.bigtable.v2.ReadChangeStreamRequest request) { + return io.grpc.stub.ClientCalls.blockingServerStreamingCall( + getChannel(), getReadChangeStreamMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Bigtable. + *
+   * Service for reading from and writing to existing Bigtable tables.
+   * 
+ */ + public static final class BigtableFutureStub + extends io.grpc.stub.AbstractFutureStub { + private BigtableFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected BigtableFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new BigtableFutureStub(channel, callOptions); + } + + /** + *
+     * Mutates a row atomically. Cells already present in the row are left
+     * unchanged unless explicitly changed by `mutation`.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture mutateRow( + com.google.bigtable.v2.MutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Mutates a row atomically based on the output of a predicate Reader filter.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture checkAndMutateRow( + com.google.bigtable.v2.CheckAndMutateRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCheckAndMutateRowMethod(), getCallOptions()), request); + } + + /** + *
+     * Warm up associated instance metadata for this connection.
+     * This call is not required but may be useful for connection keep-alive.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture pingAndWarm( + com.google.bigtable.v2.PingAndWarmRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPingAndWarmMethod(), getCallOptions()), request); + } + + /** + *
+     * Modifies a row atomically on the server. The method reads the latest
+     * existing timestamp and value from the specified columns and writes a new
+     * entry based on pre-defined read/modify/write rules. The new value for the
+     * timestamp is the greater of the existing timestamp or the current server
+     * time. The method returns the new contents of all modified cells.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture readModifyWriteRow( + com.google.bigtable.v2.ReadModifyWriteRowRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getReadModifyWriteRowMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_READ_ROWS = 0; + private static final int METHODID_SAMPLE_ROW_KEYS = 1; + private static final int METHODID_MUTATE_ROW = 2; + private static final int METHODID_MUTATE_ROWS = 3; + private static final int METHODID_CHECK_AND_MUTATE_ROW = 4; + private static final int METHODID_PING_AND_WARM = 5; + private static final int METHODID_READ_MODIFY_WRITE_ROW = 6; + private static final int METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS = 7; + private static final int METHODID_READ_CHANGE_STREAM = 8; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_READ_ROWS: + serviceImpl.readRows((com.google.bigtable.v2.ReadRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SAMPLE_ROW_KEYS: + serviceImpl.sampleRowKeys((com.google.bigtable.v2.SampleRowKeysRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROW: + serviceImpl.mutateRow((com.google.bigtable.v2.MutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_MUTATE_ROWS: + serviceImpl.mutateRows((com.google.bigtable.v2.MutateRowsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CHECK_AND_MUTATE_ROW: + serviceImpl.checkAndMutateRow((com.google.bigtable.v2.CheckAndMutateRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_PING_AND_WARM: + serviceImpl.pingAndWarm((com.google.bigtable.v2.PingAndWarmRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_MODIFY_WRITE_ROW: + serviceImpl.readModifyWriteRow((com.google.bigtable.v2.ReadModifyWriteRowRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS: + serviceImpl.generateInitialChangeStreamPartitions((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_READ_CHANGE_STREAM: + serviceImpl.readChangeStream((com.google.bigtable.v2.ReadChangeStreamRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getReadRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadRowsRequest, + com.google.bigtable.v2.ReadRowsResponse>( + service, METHODID_READ_ROWS))) + .addMethod( + getSampleRowKeysMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.SampleRowKeysRequest, + com.google.bigtable.v2.SampleRowKeysResponse>( + service, METHODID_SAMPLE_ROW_KEYS))) + .addMethod( + getMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowRequest, + com.google.bigtable.v2.MutateRowResponse>( + service, METHODID_MUTATE_ROW))) + .addMethod( + getMutateRowsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.MutateRowsRequest, + com.google.bigtable.v2.MutateRowsResponse>( + service, METHODID_MUTATE_ROWS))) + .addMethod( + getCheckAndMutateRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.CheckAndMutateRowRequest, + com.google.bigtable.v2.CheckAndMutateRowResponse>( + service, METHODID_CHECK_AND_MUTATE_ROW))) + .addMethod( + getPingAndWarmMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.PingAndWarmRequest, + com.google.bigtable.v2.PingAndWarmResponse>( + service, METHODID_PING_AND_WARM))) + .addMethod( + getReadModifyWriteRowMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.bigtable.v2.ReadModifyWriteRowRequest, + com.google.bigtable.v2.ReadModifyWriteRowResponse>( + service, METHODID_READ_MODIFY_WRITE_ROW))) + .addMethod( + getGenerateInitialChangeStreamPartitionsMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest, + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse>( + service, METHODID_GENERATE_INITIAL_CHANGE_STREAM_PARTITIONS))) + .addMethod( + getReadChangeStreamMethod(), + io.grpc.stub.ServerCalls.asyncServerStreamingCall( + new MethodHandlers< + com.google.bigtable.v2.ReadChangeStreamRequest, + com.google.bigtable.v2.ReadChangeStreamResponse>( + service, METHODID_READ_CHANGE_STREAM))) + .build(); + } + + private static abstract class BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + BigtableBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.bigtable.v2.BigtableProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Bigtable"); + } + } + + private static final class BigtableFileDescriptorSupplier + extends BigtableBaseDescriptorSupplier { + BigtableFileDescriptorSupplier() {} + } + + private static final class BigtableMethodDescriptorSupplier + extends BigtableBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + BigtableMethodDescriptorSupplier(java.lang.String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (BigtableGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new BigtableFileDescriptorSupplier()) + .addMethod(getReadRowsMethod()) + .addMethod(getSampleRowKeysMethod()) + .addMethod(getMutateRowMethod()) + .addMethod(getMutateRowsMethod()) + .addMethod(getCheckAndMutateRowMethod()) + .addMethod(getPingAndWarmMethod()) + .addMethod(getReadModifyWriteRowMethod()) + .addMethod(getGenerateInitialChangeStreamPartitionsMethod()) + .addMethod(getReadChangeStreamMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java index 10e44f3f9e..fc0c2b9ef7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfile.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A configuration object describing how Cloud Bigtable should treat traffic
  * from a particular end user application.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
  */
-public final class AppProfile extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AppProfile extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile)
     AppProfileOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AppProfile.newBuilder() to construct.
   private AppProfile(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AppProfile() {
     name_ = "";
     etag_ = "";
@@ -46,88 +28,74 @@ private AppProfile() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AppProfile();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.AppProfile.class,
-            com.google.bigtable.admin.v2.AppProfile.Builder.class);
+            com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
   }
 
-  public interface MultiClusterRoutingUseAnyOrBuilder
-      extends
+  public interface MultiClusterRoutingUseAnyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - java.util.List getClusterIdsList(); + java.util.List + getClusterIdsList(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ int getClusterIdsCount(); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ java.lang.String getClusterIds(int index); /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - com.google.protobuf.ByteString getClusterIdsBytes(int index); + com.google.protobuf.ByteString + getClusterIdsBytes(int index); } /** - * - * *
    * Read/write requests are routed to the nearest cluster in the instance, and
    * will fail over to the nearest cluster that is available in the event of
@@ -138,86 +106,76 @@ public interface MultiClusterRoutingUseAnyOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
    */
-  public static final class MultiClusterRoutingUseAny extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MultiClusterRoutingUseAny extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
       MultiClusterRoutingUseAnyOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MultiClusterRoutingUseAny.newBuilder() to construct.
     private MultiClusterRoutingUseAny(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MultiClusterRoutingUseAny() {
-      clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      clusterIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MultiClusterRoutingUseAny();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
     }
 
     public static final int CLUSTER_IDS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private com.google.protobuf.LazyStringArrayList clusterIds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
     /**
-     *
-     *
      * 
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { return clusterIds_; } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -225,24 +183,21 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
      * The set of clusters to route to. The order is ignored; clusters will be
      * tried in order of distance. If left empty, all clusters are eligible.
      * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,7 +209,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusterIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterIds_.getRaw(i)); } @@ -283,15 +239,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other = (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) obj; - if (!getClusterIdsList().equals(other.getClusterIdsList())) return false; + if (!getClusterIdsList() + .equals(other.getClusterIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,95 +269,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny 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.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - 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.AppProfile.MultiClusterRoutingUseAny 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.AppProfile.MultiClusterRoutingUseAny parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -411,8 +361,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Read/write requests are routed to the nearest cluster in the instance, and
      * will fail over to the nearest cluster that is available in the event of
@@ -423,53 +371,51 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)
         com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class,
-                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.class, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder.class);
       }
 
-      // Construct using
-      // com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
-      private Builder() {}
+      // Construct using com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder()
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
         bitField0_ = 0;
-        clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        clusterIds_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-          getDefaultInstanceForType() {
-        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-            .getDefaultInstance();
+      public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() {
+        return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance();
       }
 
       @java.lang.Override
@@ -483,17 +429,13 @@ public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny build()
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result =
-            new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           clusterIds_.makeImmutable();
@@ -505,53 +447,46 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) {
-          return mergeFrom(
-              (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny other) {
+        if (other == com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) return this;
         if (!other.clusterIds_.isEmpty()) {
           if (clusterIds_.isEmpty()) {
             clusterIds_ = other.clusterIds_;
@@ -588,20 +523,18 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureClusterIdsIsMutable();
-                  clusterIds_.add(s);
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureClusterIdsIsMutable();
+                clusterIds_.add(s);
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -611,12 +544,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.protobuf.LazyStringArrayList clusterIds_ =
           com.google.protobuf.LazyStringArrayList.emptyList();
-
       private void ensureClusterIdsIsMutable() {
         if (!clusterIds_.isModifiable()) {
           clusterIds_ = new com.google.protobuf.LazyStringArrayList(clusterIds_);
@@ -624,46 +555,38 @@ private void ensureClusterIdsIsMutable() {
         bitField0_ |= 0x00000001;
       }
       /**
-       *
-       *
        * 
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return A list containing the clusterIds. */ - public com.google.protobuf.ProtocolStringList getClusterIdsList() { + public com.google.protobuf.ProtocolStringList + getClusterIdsList() { clusterIds_.makeImmutable(); return clusterIds_; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return The count of clusterIds. */ public int getClusterIdsCount() { return clusterIds_.size(); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the element to return. * @return The clusterIds at the given index. */ @@ -671,39 +594,33 @@ public java.lang.String getClusterIds(int index) { return clusterIds_.get(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index of the value to return. * @return The bytes of the clusterIds at the given index. */ - public com.google.protobuf.ByteString getClusterIdsBytes(int index) { + public com.google.protobuf.ByteString + getClusterIdsBytes(int index) { return clusterIds_.getByteString(index); } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param index The index to set the value at. * @param value The clusterIds to set. * @return This builder for chaining. */ - public Builder setClusterIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.set(index, value); bitField0_ |= 0x00000001; @@ -711,22 +628,18 @@ public Builder setClusterIds(int index, java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureClusterIdsIsMutable(); clusterIds_.add(value); bitField0_ |= 0x00000001; @@ -734,61 +647,53 @@ public Builder addClusterIds(java.lang.String value) { return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param values The clusterIds to add. * @return This builder for chaining. */ - public Builder addAllClusterIds(java.lang.Iterable values) { + public Builder addAllClusterIds( + java.lang.Iterable values) { ensureClusterIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusterIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterIds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @return This builder for chaining. */ public Builder clearClusterIds() { - clusterIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + clusterIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
        * The set of clusters to route to. The order is ignored; clusters will be
        * tried in order of distance. If left empty, all clusters are eligible.
        * 
* * repeated string cluster_ids = 1; - * * @param value The bytes of the clusterIds to add. * @return This builder for chaining. */ - public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addClusterIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureClusterIdsIsMutable(); clusterIds_.add(value); @@ -796,7 +701,6 @@ public Builder addClusterIdsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -809,44 +713,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny(); } - public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MultiClusterRoutingUseAny parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MultiClusterRoutingUseAny parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -858,45 +759,37 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SingleClusterRoutingOrBuilder - extends + public interface SingleClusterRoutingOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -904,14 +797,11 @@ public interface SingleClusterRoutingOrBuilder
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ boolean getAllowTransactionalWrites(); } /** - * - * *
    * Unconditionally routes all read/write requests to a specific cluster.
    * This option preserves read-your-writes consistency but does not improve
@@ -920,54 +810,48 @@ public interface SingleClusterRoutingOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
    */
-  public static final class SingleClusterRouting extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class SingleClusterRouting extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
       SingleClusterRoutingOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use SingleClusterRouting.newBuilder() to construct.
     private SingleClusterRouting(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private SingleClusterRouting() {
       clusterId_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new SingleClusterRouting();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
     }
 
     public static final int CLUSTER_ID_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object clusterId_ = "";
     /**
-     *
-     *
      * 
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The clusterId. */ @java.lang.Override @@ -976,29 +860,29 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
      * The cluster to which read/write requests should be routed.
      * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1009,8 +893,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER = 2; private boolean allowTransactionalWrites_ = false; /** - * - * *
      * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
      * allowed by this app profile. It is unsafe to send these requests to
@@ -1018,7 +900,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1027,7 +908,6 @@ public boolean getAllowTransactionalWrites() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1039,7 +919,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clusterId_); } @@ -1059,7 +940,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clusterId_); } if (allowTransactionalWrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowTransactionalWrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, allowTransactionalWrites_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1069,16 +951,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other = (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) obj; - if (!getClusterId().equals(other.getClusterId())) return false; - if (getAllowTransactionalWrites() != other.getAllowTransactionalWrites()) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; + if (getAllowTransactionalWrites() + != other.getAllowTransactionalWrites()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1093,101 +976,97 @@ public int hashCode() { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; hash = (53 * hash) + getClusterId().hashCode(); hash = (37 * hash) + ALLOW_TRANSACTIONAL_WRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowTransactionalWrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowTransactionalWrites()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting 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.AppProfile.SingleClusterRouting parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1197,8 +1076,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Unconditionally routes all read/write requests to a specific cluster.
      * This option preserves read-your-writes consistency but does not improve
@@ -1207,33 +1084,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.AppProfile.SingleClusterRouting}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile.SingleClusterRouting)
         com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class,
-                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
+                com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.class, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1244,14 +1121,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting
-          getDefaultInstanceForType() {
+      public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() {
         return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance();
       }
 
@@ -1266,17 +1142,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting buildPartial() {
-        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result =
-            new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartial0(
-          com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
+      private void buildPartial0(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.clusterId_ = clusterId_;
@@ -1290,41 +1162,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) {
-          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) other);
+          return mergeFrom((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1332,9 +1201,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting other) {
-        if (other
-            == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) return this;
         if (!other.getClusterId().isEmpty()) {
           clusterId_ = other.clusterId_;
           bitField0_ |= 0x00000001;
@@ -1369,25 +1236,22 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  clusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  allowTransactionalWrites_ = input.readBool();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 16
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                clusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                allowTransactionalWrites_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1397,25 +1261,22 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object clusterId_ = "";
       /**
-       *
-       *
        * 
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -1424,21 +1285,20 @@ public java.lang.String getClusterId() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -1446,35 +1306,28 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -1484,21 +1337,17 @@ public Builder clearClusterId() { return this; } /** - * - * *
        * The cluster to which read/write requests should be routed.
        * 
* * string cluster_id = 1; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000001; @@ -1506,10 +1355,8 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowTransactionalWrites_; + private boolean allowTransactionalWrites_ ; /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1517,7 +1364,6 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return The allowTransactionalWrites. */ @java.lang.Override @@ -1525,8 +1371,6 @@ public boolean getAllowTransactionalWrites() { return allowTransactionalWrites_; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1534,7 +1378,6 @@ public boolean getAllowTransactionalWrites() {
        * 
* * bool allow_transactional_writes = 2; - * * @param value The allowTransactionalWrites to set. * @return This builder for chaining. */ @@ -1546,8 +1389,6 @@ public Builder setAllowTransactionalWrites(boolean value) { return this; } /** - * - * *
        * Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
        * allowed by this app profile. It is unsafe to send these requests to
@@ -1555,7 +1396,6 @@ public Builder setAllowTransactionalWrites(boolean value) {
        * 
* * bool allow_transactional_writes = 2; - * * @return This builder for chaining. */ public Builder clearAllowTransactionalWrites() { @@ -1564,7 +1404,6 @@ public Builder clearAllowTransactionalWrites() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1577,44 +1416,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile.SingleClusterRouting) - private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting(); } - public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstance() { + public static com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SingleClusterRouting parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SingleClusterRouting parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1626,26 +1462,22 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int routingPolicyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object routingPolicy_; - public enum RoutingPolicyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MULTI_CLUSTER_ROUTING_USE_ANY(5), SINGLE_CLUSTER_ROUTING(6), ROUTINGPOLICY_NOT_SET(0); private final int value; - private RoutingPolicyCase(int value) { this.value = value; } @@ -1661,40 +1493,33 @@ public static RoutingPolicyCase valueOf(int value) { public static RoutingPolicyCase forNumber(int value) { switch (value) { - case 5: - return MULTI_CLUSTER_ROUTING_USE_ANY; - case 6: - return SINGLE_CLUSTER_ROUTING; - case 0: - return ROUTINGPOLICY_NOT_SET; - default: - return null; + case 5: return MULTI_CLUSTER_ROUTING_USE_ANY; + case 6: return SINGLE_CLUSTER_ROUTING; + case 0: return ROUTINGPOLICY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RoutingPolicyCase getRoutingPolicyCase() { - return RoutingPolicyCase.forNumber(routingPolicyCase_); + public RoutingPolicyCase + getRoutingPolicyCase() { + return RoutingPolicyCase.forNumber( + routingPolicyCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1703,30 +1528,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1735,12 +1560,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int ETAG_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object etag_ = ""; /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1753,7 +1575,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string etag = 2; - * * @return The etag. */ @java.lang.Override @@ -1762,15 +1583,14 @@ public java.lang.String getEtag() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; } } /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -1783,15 +1603,16 @@ public java.lang.String getEtag() {
    * 
* * string etag = 2; - * * @return The bytes for etag. */ @java.lang.Override - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -1800,18 +1621,14 @@ public com.google.protobuf.ByteString getEtagBytes() { } public static final int DESCRIPTION_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1820,29 +1637,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1852,16 +1669,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER = 5; /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -1869,57 +1681,42 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if (routingPolicyCase_ == 5) { - return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER = 6; /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -1927,45 +1724,36 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if (routingPolicyCase_ == 6) { - return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; + return (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_; } return com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1977,7 +1765,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1988,12 +1777,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } if (routingPolicyCase_ == 5) { - output.writeMessage( - 5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); + output.writeMessage(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); } if (routingPolicyCase_ == 6) { - output.writeMessage( - 6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); + output.writeMessage(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); } getUnknownFields().writeTo(output); } @@ -2014,15 +1801,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } if (routingPolicyCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 5, - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_); } if (routingPolicyCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2032,24 +1816,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AppProfile)) { return super.equals(obj); } com.google.bigtable.admin.v2.AppProfile other = (com.google.bigtable.admin.v2.AppProfile) obj; - if (!getName().equals(other.getName())) return false; - if (!getEtag().equals(other.getEtag())) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getEtag() + .equals(other.getEtag())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getRoutingPolicyCase().equals(other.getRoutingPolicyCase())) return false; switch (routingPolicyCase_) { case 5: - if (!getMultiClusterRoutingUseAny().equals(other.getMultiClusterRoutingUseAny())) - return false; + if (!getMultiClusterRoutingUseAny() + .equals(other.getMultiClusterRoutingUseAny())) return false; break; case 6: - if (!getSingleClusterRouting().equals(other.getSingleClusterRouting())) return false; + if (!getSingleClusterRouting() + .equals(other.getSingleClusterRouting())) return false; break; case 0: default: @@ -2088,104 +1876,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AppProfile parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile 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.AppProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AppProfile parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AppProfile parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AppProfile prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A configuration object describing how Cloud Bigtable should treat traffic
    * from a particular end user application.
@@ -2193,32 +1976,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.AppProfile}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AppProfile)
       com.google.bigtable.admin.v2.AppProfileOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.AppProfile.class,
-              com.google.bigtable.admin.v2.AppProfile.Builder.class);
+              com.google.bigtable.admin.v2.AppProfile.class, com.google.bigtable.admin.v2.AppProfile.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.AppProfile.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2238,9 +2022,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AppProfile_descriptor;
     }
 
     @java.lang.Override
@@ -2259,11 +2043,8 @@ public com.google.bigtable.admin.v2.AppProfile build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.AppProfile buildPartial() {
-      com.google.bigtable.admin.v2.AppProfile result =
-          new com.google.bigtable.admin.v2.AppProfile(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.AppProfile result = new com.google.bigtable.admin.v2.AppProfile(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2285,10 +2066,12 @@ private void buildPartial0(com.google.bigtable.admin.v2.AppProfile result) {
     private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result) {
       result.routingPolicyCase_ = routingPolicyCase_;
       result.routingPolicy_ = this.routingPolicy_;
-      if (routingPolicyCase_ == 5 && multiClusterRoutingUseAnyBuilder_ != null) {
+      if (routingPolicyCase_ == 5 &&
+          multiClusterRoutingUseAnyBuilder_ != null) {
         result.routingPolicy_ = multiClusterRoutingUseAnyBuilder_.build();
       }
-      if (routingPolicyCase_ == 6 && singleClusterRoutingBuilder_ != null) {
+      if (routingPolicyCase_ == 6 &&
+          singleClusterRoutingBuilder_ != null) {
         result.routingPolicy_ = singleClusterRoutingBuilder_.build();
       }
     }
@@ -2297,39 +2080,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.AppProfile result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.AppProfile) {
-        return mergeFrom((com.google.bigtable.admin.v2.AppProfile) other);
+        return mergeFrom((com.google.bigtable.admin.v2.AppProfile)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2354,20 +2136,17 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.AppProfile other) {
         onChanged();
       }
       switch (other.getRoutingPolicyCase()) {
-        case MULTI_CLUSTER_ROUTING_USE_ANY:
-          {
-            mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
-            break;
-          }
-        case SINGLE_CLUSTER_ROUTING:
-          {
-            mergeSingleClusterRouting(other.getSingleClusterRouting());
-            break;
-          }
-        case ROUTINGPOLICY_NOT_SET:
-          {
-            break;
-          }
+        case MULTI_CLUSTER_ROUTING_USE_ANY: {
+          mergeMultiClusterRoutingUseAny(other.getMultiClusterRoutingUseAny());
+          break;
+        }
+        case SINGLE_CLUSTER_ROUTING: {
+          mergeSingleClusterRouting(other.getSingleClusterRouting());
+          break;
+        }
+        case ROUTINGPOLICY_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2395,45 +2174,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                etag_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 42:
-              {
-                input.readMessage(
-                    getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getSingleClusterRoutingFieldBuilder().getBuilder(), extensionRegistry);
-                routingPolicyCase_ = 6;
-                break;
-              } // case 50
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              etag_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 42: {
+              input.readMessage(
+                  getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getSingleClusterRoutingFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              routingPolicyCase_ = 6;
+              break;
+            } // case 50
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2443,12 +2218,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int routingPolicyCase_ = 0;
     private java.lang.Object routingPolicy_;
-
-    public RoutingPolicyCase getRoutingPolicyCase() {
-      return RoutingPolicyCase.forNumber(routingPolicyCase_);
+    public RoutingPolicyCase
+        getRoutingPolicyCase() {
+      return RoutingPolicyCase.forNumber(
+          routingPolicyCase_);
     }
 
     public Builder clearRoutingPolicy() {
@@ -2462,21 +2237,19 @@ public Builder clearRoutingPolicy() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2485,22 +2258,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2508,37 +2280,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2548,22 +2313,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2573,8 +2334,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object etag_ = ""; /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2587,13 +2346,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string etag = 2; - * * @return The etag. */ public java.lang.String getEtag() { java.lang.Object ref = etag_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); etag_ = s; return s; @@ -2602,8 +2361,6 @@ public java.lang.String getEtag() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2616,14 +2373,15 @@ public java.lang.String getEtag() {
      * 
* * string etag = 2; - * * @return The bytes for etag. */ - public com.google.protobuf.ByteString getEtagBytes() { + public com.google.protobuf.ByteString + getEtagBytes() { java.lang.Object ref = etag_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); etag_ = b; return b; } else { @@ -2631,8 +2389,6 @@ public com.google.protobuf.ByteString getEtagBytes() { } } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2645,22 +2401,18 @@ public com.google.protobuf.ByteString getEtagBytes() {
      * 
* * string etag = 2; - * * @param value The etag to set. * @return This builder for chaining. */ - public Builder setEtag(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtag( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } etag_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2673,7 +2425,6 @@ public Builder setEtag(java.lang.String value) {
      * 
* * string etag = 2; - * * @return This builder for chaining. */ public Builder clearEtag() { @@ -2683,8 +2434,6 @@ public Builder clearEtag() { return this; } /** - * - * *
      * Strongly validated etag for optimistic concurrency control. Preserve the
      * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -2697,14 +2446,12 @@ public Builder clearEtag() {
      * 
* * string etag = 2; - * * @param value The bytes for etag to set. * @return This builder for chaining. */ - public Builder setEtagBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEtagBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); etag_ = value; bitField0_ |= 0x00000002; @@ -2714,20 +2461,18 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2736,21 +2481,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2758,35 +2502,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2796,21 +2533,17 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Long form description of the use case for this AppProfile.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000004; @@ -2819,21 +2552,13 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> - multiClusterRoutingUseAnyBuilder_; + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> multiClusterRoutingUseAnyBuilder_; /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ @java.lang.Override @@ -2841,48 +2566,35 @@ public boolean hasMultiClusterRoutingUseAny() { return routingPolicyCase_ == 5; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - getMultiClusterRoutingUseAny() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } else { if (routingPolicyCase_ == 5) { return multiClusterRoutingUseAnyBuilder_.getMessage(); } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder setMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder setMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2896,15 +2608,11 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder setMultiClusterRoutingUseAny( com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder builderForValue) { @@ -2918,29 +2626,18 @@ public Builder setMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public Builder mergeMultiClusterRoutingUseAny( - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { + public Builder mergeMultiClusterRoutingUseAny(com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny value) { if (multiClusterRoutingUseAnyBuilder_ == null) { - if (routingPolicyCase_ == 5 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) - routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 5 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.newBuilder((com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -2956,15 +2653,11 @@ public Builder mergeMultiClusterRoutingUseAny( return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ public Builder clearMultiClusterRoutingUseAny() { if (multiClusterRoutingUseAnyBuilder_ == null) { @@ -2983,71 +2676,49 @@ public Builder clearMultiClusterRoutingUseAny() { return this; } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder - getMultiClusterRoutingUseAnyBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder getMultiClusterRoutingUseAnyBuilder() { return getMultiClusterRoutingUseAnyFieldBuilder().getBuilder(); } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder() { if ((routingPolicyCase_ == 5) && (multiClusterRoutingUseAnyBuilder_ != null)) { return multiClusterRoutingUseAnyBuilder_.getMessageOrBuilder(); } else { if (routingPolicyCase_ == 5) { return (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_; } - return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + return com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } } /** - * - * *
      * Use a multi-cluster routing policy.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder> getMultiClusterRoutingUseAnyFieldBuilder() { if (multiClusterRoutingUseAnyBuilder_ == null) { if (!(routingPolicyCase_ == 5)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny - .getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.getDefaultInstance(); } - multiClusterRoutingUseAnyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( + multiClusterRoutingUseAnyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.Builder, com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny) routingPolicy_, getParentForChildren(), isClean()); @@ -3059,20 +2730,13 @@ public Builder clearMultiClusterRoutingUseAny() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> - singleClusterRoutingBuilder_; + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> singleClusterRoutingBuilder_; /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ @java.lang.Override @@ -3080,15 +2744,11 @@ public boolean hasSingleClusterRouting() { return routingPolicyCase_ == 6; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ @java.lang.Override @@ -3106,17 +2766,13 @@ public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClu } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder setSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder setSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3130,14 +2786,11 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder setSingleClusterRouting( com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder builderForValue) { @@ -3151,27 +2804,18 @@ public Builder setSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public Builder mergeSingleClusterRouting( - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { + public Builder mergeSingleClusterRouting(com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting value) { if (singleClusterRoutingBuilder_ == null) { - if (routingPolicyCase_ == 6 - && routingPolicy_ - != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting - .getDefaultInstance()) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder( - (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) - .mergeFrom(value) - .buildPartial(); + if (routingPolicyCase_ == 6 && + routingPolicy_ != com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance()) { + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.newBuilder((com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_) + .mergeFrom(value).buildPartial(); } else { routingPolicy_ = value; } @@ -3187,14 +2831,11 @@ public Builder mergeSingleClusterRouting( return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ public Builder clearSingleClusterRouting() { if (singleClusterRoutingBuilder_ == null) { @@ -3213,32 +2854,24 @@ public Builder clearSingleClusterRouting() { return this; } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder - getSingleClusterRoutingBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder getSingleClusterRoutingBuilder() { return getSingleClusterRoutingFieldBuilder().getBuilder(); } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder() { + public com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder() { if ((routingPolicyCase_ == 6) && (singleClusterRoutingBuilder_ != null)) { return singleClusterRoutingBuilder_.getMessageOrBuilder(); } else { @@ -3249,30 +2882,21 @@ public Builder clearSingleClusterRouting() { } } /** - * - * *
      * Use a single-cluster routing policy.
      * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder> getSingleClusterRoutingFieldBuilder() { if (singleClusterRoutingBuilder_ == null) { if (!(routingPolicyCase_ == 6)) { - routingPolicy_ = - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); + routingPolicy_ = com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.getDefaultInstance(); } - singleClusterRoutingBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( + singleClusterRoutingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting, com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting.Builder, com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder>( (com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting) routingPolicy_, getParentForChildren(), isClean()); @@ -3282,9 +2906,9 @@ public Builder clearSingleClusterRouting() { onChanged(); return singleClusterRoutingBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3294,12 +2918,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AppProfile) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AppProfile) private static final com.google.bigtable.admin.v2.AppProfile DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AppProfile(); } @@ -3308,27 +2932,27 @@ public static com.google.bigtable.admin.v2.AppProfile getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AppProfile parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppProfile parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3343,4 +2967,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AppProfile getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java index cca7ffaed4..3b4819e668 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AppProfileOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface AppProfileOrBuilder - extends +public interface AppProfileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AppProfile) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -65,13 +42,10 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The etag. */ java.lang.String getEtag(); /** - * - * *
    * Strongly validated etag for optimistic concurrency control. Preserve the
    * value returned from `GetAppProfile` when calling `UpdateAppProfile` to
@@ -84,116 +58,84 @@ public interface AppProfileOrBuilder
    * 
* * string etag = 2; - * * @return The bytes for etag. */ - com.google.protobuf.ByteString getEtagBytes(); + com.google.protobuf.ByteString + getEtagBytes(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Long form description of the use case for this AppProfile.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return Whether the multiClusterRoutingUseAny field is set. */ boolean hasMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; * @return The multiClusterRoutingUseAny. */ com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny(); /** - * - * *
    * Use a multi-cluster routing policy.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; - * + * .google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5; */ - com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder - getMultiClusterRoutingUseAnyOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return Whether the singleClusterRouting field is set. */ boolean hasSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; * @return The singleClusterRouting. */ com.google.bigtable.admin.v2.AppProfile.SingleClusterRouting getSingleClusterRouting(); /** - * - * *
    * Use a single-cluster routing policy.
    * 
* - * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; - * + * .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6; */ - com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder - getSingleClusterRoutingOrBuilder(); + com.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder(); com.google.bigtable.admin.v2.AppProfile.RoutingPolicyCase getRoutingPolicyCase(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java index 6d3dd041fa..3e6e619dab 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimits.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Limits for the number of nodes a Cluster can autoscale up/down to.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ -public final class AutoscalingLimits extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingLimits extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingLimits) AutoscalingLimitsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingLimits.newBuilder() to construct. private AutoscalingLimits(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingLimits() {} + private AutoscalingLimits() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingLimits(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } public static final int MIN_SERVE_NODES_FIELD_NUMBER = 1; private int minServeNodes_ = 0; /** - * - * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -81,14 +60,11 @@ public int getMinServeNodes() { public static final int MAX_SERVE_NODES_FIELD_NUMBER = 2; private int maxServeNodes_ = 0; /** - * - * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -97,7 +73,6 @@ public int getMaxServeNodes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,7 +84,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (minServeNodes_ != 0) { output.writeInt32(1, minServeNodes_); } @@ -126,10 +102,12 @@ public int getSerializedSize() { size = 0; if (minServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, minServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, minServeNodes_); } if (maxServeNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxServeNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, maxServeNodes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -139,16 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingLimits)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingLimits other = - (com.google.bigtable.admin.v2.AutoscalingLimits) obj; + com.google.bigtable.admin.v2.AutoscalingLimits other = (com.google.bigtable.admin.v2.AutoscalingLimits) obj; - if (getMinServeNodes() != other.getMinServeNodes()) return false; - if (getMaxServeNodes() != other.getMaxServeNodes()) return false; + if (getMinServeNodes() + != other.getMinServeNodes()) return false; + if (getMaxServeNodes() + != other.getMaxServeNodes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -169,136 +148,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingLimits parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingLimits parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingLimits prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Limits for the number of nodes a Cluster can autoscale up/down to.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingLimits} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingLimits) com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingLimits.class, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); + com.google.bigtable.admin.v2.AutoscalingLimits.class, com.google.bigtable.admin.v2.AutoscalingLimits.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingLimits.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -309,9 +284,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; } @java.lang.Override @@ -330,11 +305,8 @@ public com.google.bigtable.admin.v2.AutoscalingLimits build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits buildPartial() { - com.google.bigtable.admin.v2.AutoscalingLimits result = - new com.google.bigtable.admin.v2.AutoscalingLimits(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingLimits result = new com.google.bigtable.admin.v2.AutoscalingLimits(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -353,39 +325,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingLimits result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingLimits) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingLimits)other); } else { super.mergeFrom(other); return this; @@ -426,25 +397,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - minServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - maxServeNodes_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + minServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + maxServeNodes_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -454,19 +422,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int minServeNodes_; + private int minServeNodes_ ; /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ @java.lang.Override @@ -474,14 +438,11 @@ public int getMinServeNodes() { return minServeNodes_; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The minServeNodes to set. * @return This builder for chaining. */ @@ -493,14 +454,11 @@ public Builder setMinServeNodes(int value) { return this; } /** - * - * *
      * Required. Minimum number of nodes to scale down to.
      * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMinServeNodes() { @@ -510,16 +468,13 @@ public Builder clearMinServeNodes() { return this; } - private int maxServeNodes_; + private int maxServeNodes_ ; /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ @java.lang.Override @@ -527,14 +482,11 @@ public int getMaxServeNodes() { return maxServeNodes_; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The maxServeNodes to set. * @return This builder for chaining. */ @@ -546,14 +498,11 @@ public Builder setMaxServeNodes(int value) { return this; } /** - * - * *
      * Required. Maximum number of nodes to scale up to.
      * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearMaxServeNodes() { @@ -562,9 +511,9 @@ public Builder clearMaxServeNodes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -574,12 +523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingLimits) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingLimits) private static final com.google.bigtable.admin.v2.AutoscalingLimits DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingLimits(); } @@ -588,27 +537,27 @@ public static com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingLimits parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingLimits parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -623,4 +572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingLimits getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java similarity index 53% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java index 70f4f03fca..2725451dce 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingLimitsOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface AutoscalingLimitsOrBuilder - extends +public interface AutoscalingLimitsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AutoscalingLimits) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Minimum number of nodes to scale down to.
    * 
* * int32 min_serve_nodes = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The minServeNodes. */ int getMinServeNodes(); /** - * - * *
    * Required. Maximum number of nodes to scale up to.
    * 
* * int32 max_serve_nodes = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The maxServeNodes. */ int getMaxServeNodes(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java index 286b4bb42c..b84b4c1b75 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargets.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The Autoscaling targets for a Cluster. These determine the recommended nodes.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ -public final class AutoscalingTargets extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AutoscalingTargets extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.AutoscalingTargets) AutoscalingTargetsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AutoscalingTargets.newBuilder() to construct. private AutoscalingTargets(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private AutoscalingTargets() {} + private AutoscalingTargets() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AutoscalingTargets(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } public static final int CPU_UTILIZATION_PERCENT_FIELD_NUMBER = 2; private int cpuUtilizationPercent_ = 0; /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -73,7 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -84,8 +63,6 @@ public int getCpuUtilizationPercent() { public static final int STORAGE_UTILIZATION_GIB_PER_NODE_FIELD_NUMBER = 3; private int storageUtilizationGibPerNode_ = 0; /** - * - * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -96,7 +73,6 @@ public int getCpuUtilizationPercent() {
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -105,7 +81,6 @@ public int getStorageUtilizationGibPerNode() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cpuUtilizationPercent_ != 0) { output.writeInt32(2, cpuUtilizationPercent_); } @@ -134,11 +110,12 @@ public int getSerializedSize() { size = 0; if (cpuUtilizationPercent_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, cpuUtilizationPercent_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, cpuUtilizationPercent_); } if (storageUtilizationGibPerNode_ != 0) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size(3, storageUtilizationGibPerNode_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, storageUtilizationGibPerNode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -148,16 +125,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.AutoscalingTargets)) { return super.equals(obj); } - com.google.bigtable.admin.v2.AutoscalingTargets other = - (com.google.bigtable.admin.v2.AutoscalingTargets) obj; + com.google.bigtable.admin.v2.AutoscalingTargets other = (com.google.bigtable.admin.v2.AutoscalingTargets) obj; - if (getCpuUtilizationPercent() != other.getCpuUtilizationPercent()) return false; - if (getStorageUtilizationGibPerNode() != other.getStorageUtilizationGibPerNode()) return false; + if (getCpuUtilizationPercent() + != other.getCpuUtilizationPercent()) return false; + if (getStorageUtilizationGibPerNode() + != other.getStorageUtilizationGibPerNode()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -178,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.AutoscalingTargets parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.AutoscalingTargets parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.AutoscalingTargets prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The Autoscaling targets for a Cluster. These determine the recommended nodes.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.AutoscalingTargets} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.AutoscalingTargets) com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.AutoscalingTargets.class, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); + com.google.bigtable.admin.v2.AutoscalingTargets.class, com.google.bigtable.admin.v2.AutoscalingTargets.Builder.class); } // Construct using com.google.bigtable.admin.v2.AutoscalingTargets.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +292,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; } @java.lang.Override @@ -339,11 +313,8 @@ public com.google.bigtable.admin.v2.AutoscalingTargets build() { @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets buildPartial() { - com.google.bigtable.admin.v2.AutoscalingTargets result = - new com.google.bigtable.admin.v2.AutoscalingTargets(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.AutoscalingTargets result = new com.google.bigtable.admin.v2.AutoscalingTargets(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -362,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.AutoscalingTargets resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.AutoscalingTargets) { - return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets) other); + return mergeFrom((com.google.bigtable.admin.v2.AutoscalingTargets)other); } else { super.mergeFrom(other); return this; @@ -402,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.AutoscalingTargets other) { - if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) return this; if (other.getCpuUtilizationPercent() != 0) { setCpuUtilizationPercent(other.getCpuUtilizationPercent()); } @@ -436,25 +405,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - cpuUtilizationPercent_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - storageUtilizationGibPerNode_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + cpuUtilizationPercent_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + storageUtilizationGibPerNode_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,13 +430,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int cpuUtilizationPercent_; + private int cpuUtilizationPercent_ ; /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -479,7 +442,6 @@ public Builder mergeFrom(
      * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ @java.lang.Override @@ -487,8 +449,6 @@ public int getCpuUtilizationPercent() { return cpuUtilizationPercent_; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -497,7 +457,6 @@ public int getCpuUtilizationPercent() {
      * 
* * int32 cpu_utilization_percent = 2; - * * @param value The cpuUtilizationPercent to set. * @return This builder for chaining. */ @@ -509,8 +468,6 @@ public Builder setCpuUtilizationPercent(int value) { return this; } /** - * - * *
      * The cpu utilization that the Autoscaler should be trying to achieve.
      * This number is on a scale from 0 (no utilization) to
@@ -519,7 +476,6 @@ public Builder setCpuUtilizationPercent(int value) {
      * 
* * int32 cpu_utilization_percent = 2; - * * @return This builder for chaining. */ public Builder clearCpuUtilizationPercent() { @@ -529,10 +485,8 @@ public Builder clearCpuUtilizationPercent() { return this; } - private int storageUtilizationGibPerNode_; + private int storageUtilizationGibPerNode_ ; /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -543,7 +497,6 @@ public Builder clearCpuUtilizationPercent() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ @java.lang.Override @@ -551,8 +504,6 @@ public int getStorageUtilizationGibPerNode() { return storageUtilizationGibPerNode_; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -563,7 +514,6 @@ public int getStorageUtilizationGibPerNode() {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @param value The storageUtilizationGibPerNode to set. * @return This builder for chaining. */ @@ -575,8 +525,6 @@ public Builder setStorageUtilizationGibPerNode(int value) { return this; } /** - * - * *
      * The storage utilization that the Autoscaler should be trying to achieve.
      * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -587,7 +535,6 @@ public Builder setStorageUtilizationGibPerNode(int value) {
      * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return This builder for chaining. */ public Builder clearStorageUtilizationGibPerNode() { @@ -596,9 +543,9 @@ public Builder clearStorageUtilizationGibPerNode() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -608,12 +555,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.AutoscalingTargets) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.AutoscalingTargets) private static final com.google.bigtable.admin.v2.AutoscalingTargets DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.AutoscalingTargets(); } @@ -622,27 +569,27 @@ public static com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AutoscalingTargets parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AutoscalingTargets parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +604,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.AutoscalingTargets getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java index ad3f6342ef..50d6b105e3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/AutoscalingTargetsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface AutoscalingTargetsOrBuilder - extends +public interface AutoscalingTargetsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.AutoscalingTargets) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cpu utilization that the Autoscaler should be trying to achieve.
    * This number is on a scale from 0 (no utilization) to
@@ -34,14 +16,11 @@ public interface AutoscalingTargetsOrBuilder
    * 
* * int32 cpu_utilization_percent = 2; - * * @return The cpuUtilizationPercent. */ int getCpuUtilizationPercent(); /** - * - * *
    * The storage utilization that the Autoscaler should be trying to achieve.
    * This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
@@ -52,7 +31,6 @@ public interface AutoscalingTargetsOrBuilder
    * 
* * int32 storage_utilization_gib_per_node = 3; - * * @return The storageUtilizationGibPerNode. */ int getStorageUtilizationGibPerNode(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java index 7891d8d5d3..34a561171e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Backup.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A backup of a Cloud Bigtable table.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.Backup} */ -public final class Backup extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Backup extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Backup) BackupOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Backup.newBuilder() to construct. private Backup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Backup() { name_ = ""; sourceTable_ = ""; @@ -46,38 +28,34 @@ private Backup() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Backup(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } /** - * - * *
    * Indicates the current state of the backup.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Backup.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Not specified.
      * 
@@ -86,8 +64,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -97,8 +73,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Not specified.
      * 
@@ -120,8 +92,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The pending backup is still being created. Operations on the
      * backup may fail with `FAILED_PRECONDITION` in this state.
@@ -131,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The backup is complete and ready for use.
      * 
@@ -141,6 +109,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -165,49 +134,49 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return CREATING; - case 2: - return READY; - default: - return null; + case 0: return STATE_UNSPECIFIED; + case 1: return CREATING; + case 2: return READY; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Backup.getDescriptor().getEnumTypes().get(0); } private static final State[] VALUES = values(); - public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static State valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -225,12 +194,9 @@ private State(int value) { } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -245,7 +211,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -254,15 +219,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -277,15 +241,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -294,22 +259,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ @java.lang.Override @@ -318,33 +277,31 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -353,12 +310,9 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - @SuppressWarnings("serial") 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
@@ -366,7 +320,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ @java.lang.Override @@ -375,15 +328,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * 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
@@ -391,15 +343,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -410,8 +363,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { public static final int EXPIRE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp expireTime_; /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -420,9 +371,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -430,8 +379,6 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -440,9 +387,7 @@ public boolean hasExpireTime() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -450,8 +395,6 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -460,8 +403,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -471,8 +413,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int START_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -481,9 +421,7 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -491,8 +429,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -501,9 +437,7 @@ public boolean hasStartTime() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -511,8 +445,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -521,8 +453,7 @@ public com.google.protobuf.Timestamp getStartTime() {
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -532,16 +463,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -549,16 +476,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -566,15 +489,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -584,14 +504,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int SIZE_BYTES_FIELD_NUMBER = 6; private long sizeBytes_ = 0L; /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -602,55 +519,37 @@ public long getSizeBytes() { public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 9; private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ @java.lang.Override @@ -658,44 +557,30 @@ public boolean hasEncryptionInfo() { return encryptionInfo_ != null; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -707,7 +592,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -751,22 +637,28 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceTable_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getExpireTime()); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getEndTime()); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(6, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, sizeBytes_); } if (state_ != com.google.bigtable.admin.v2.Backup.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } if (encryptionInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getEncryptionInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, getEncryptionInfo()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceBackup_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, sourceBackup_); @@ -779,33 +671,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Backup)) { return super.equals(obj); } com.google.bigtable.admin.v2.Backup other = (com.google.bigtable.admin.v2.Backup) obj; - if (!getName().equals(other.getName())) return false; - if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + 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; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (getSizeBytes() != other.getSizeBytes()) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; if (state_ != other.state_) return false; if (hasEncryptionInfo() != other.hasEncryptionInfo()) return false; if (hasEncryptionInfo()) { - if (!getEncryptionInfo().equals(other.getEncryptionInfo())) return false; + if (!getEncryptionInfo() + .equals(other.getEncryptionInfo())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -837,7 +737,8 @@ public int hashCode() { hash = (53 * hash) + getEndTime().hashCode(); } hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; if (hasEncryptionInfo()) { @@ -849,135 +750,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Backup parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Backup parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Backup parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Backup parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Backup parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Backup prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A backup of a Cloud Bigtable table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Backup} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Backup) com.google.bigtable.admin.v2.BackupOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Backup.class, - com.google.bigtable.admin.v2.Backup.Builder.class); + com.google.bigtable.admin.v2.Backup.class, com.google.bigtable.admin.v2.Backup.Builder.class); } // Construct using com.google.bigtable.admin.v2.Backup.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1011,9 +909,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Backup_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Backup_descriptor; } @java.lang.Override @@ -1033,9 +931,7 @@ public com.google.bigtable.admin.v2.Backup build() { @java.lang.Override public com.google.bigtable.admin.v2.Backup buildPartial() { com.google.bigtable.admin.v2.Backup result = new com.google.bigtable.admin.v2.Backup(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1052,13 +948,19 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.sourceBackup_ = sourceBackup_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build(); + result.expireTime_ = expireTimeBuilder_ == null + ? expireTime_ + : expireTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000020) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) != 0)) { result.sizeBytes_ = sizeBytes_; @@ -1067,8 +969,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { result.state_ = state_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.encryptionInfo_ = - encryptionInfoBuilder_ == null ? encryptionInfo_ : encryptionInfoBuilder_.build(); + result.encryptionInfo_ = encryptionInfoBuilder_ == null + ? encryptionInfo_ + : encryptionInfoBuilder_.build(); } } @@ -1076,39 +979,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Backup result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Backup) { - return mergeFrom((com.google.bigtable.admin.v2.Backup) other); + return mergeFrom((com.google.bigtable.admin.v2.Backup)other); } else { super.mergeFrom(other); return this; @@ -1176,67 +1078,65 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 34: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 42: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000020; - break; - } // case 42 - case 48: - { - sizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 48 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000080; - break; - } // case 56 - case 74: - { - input.readMessage(getEncryptionInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getExpireTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 34: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 42: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 48: { + sizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 48 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000080; + break; + } // case 56 + case 74: { + input.readMessage( + getEncryptionInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1246,13 +1146,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1267,13 +1164,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1282,8 +1179,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1298,14 +1193,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1313,8 +1209,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1329,22 +1223,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1359,7 +1249,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1369,8 +1258,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A globally unique identifier for the backup which cannot be
      * changed. Values are of the form
@@ -1385,14 +1272,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1402,24 +1287,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -1428,25 +1309,22 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -1454,43 +1332,32 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1500,25 +1367,19 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Required. Immutable. Name of the table from which this backup was created.
      * This needs to be in the same instance as the backup. Values are of the form
      * `projects/{project}/instances/{instance}/tables/{source_table}`.
      * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -1528,8 +1389,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { 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
@@ -1537,13 +1396,13 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1552,8 +1411,6 @@ public 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
@@ -1561,14 +1418,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1576,8 +1434,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * 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
@@ -1585,22 +1441,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * 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(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; 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
@@ -1608,7 +1460,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1618,8 +1469,6 @@ public Builder clearSourceBackup() { 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
@@ -1627,14 +1476,12 @@ public Builder clearSourceBackup() {
      * 
* * 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(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1644,13 +1491,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1659,17 +1501,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1678,23 +1516,17 @@ public boolean hasExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1703,8 +1535,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1720,8 +1551,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1730,10 +1559,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1744,8 +1573,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1754,14 +1581,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1774,8 +1600,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1784,8 +1608,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1798,8 +1621,6 @@ public Builder clearExpireTime() { return this; } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1808,8 +1629,7 @@ public Builder clearExpireTime() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1817,8 +1637,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { return getExpireTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1827,21 +1645,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. The expiration time of the backup, with microseconds
      * granularity that must be at least 6 hours and at most 90 days
@@ -1850,21 +1664,17 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * resources used by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; @@ -1872,13 +1682,8 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1887,17 +1692,13 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1906,9 +1707,7 @@ public boolean hasStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1919,8 +1718,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1929,8 +1726,7 @@ public com.google.protobuf.Timestamp getStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1946,8 +1742,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1956,10 +1750,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1970,8 +1764,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -1980,14 +1772,13 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2000,8 +1791,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2010,8 +1799,7 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000010); @@ -2024,8 +1812,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2034,8 +1820,7 @@ public Builder clearStartTime() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000010; @@ -2043,8 +1828,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2053,19 +1836,17 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. `start_time` is the time that the backup was started
      * (i.e. approximately the time the
@@ -2074,21 +1855,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2096,37 +1873,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2137,15 +1903,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2161,17 +1924,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2182,21 +1943,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2209,15 +1967,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2230,15 +1985,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000020; @@ -2246,61 +1998,50 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. `end_time` is the time that the backup was finished. The row
      * data in the backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ @java.lang.Override @@ -2308,14 +2049,11 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ @@ -2327,14 +2065,11 @@ public Builder setSizeBytes(long value) { return this; } /** - * - * *
      * Output only. Size of the backup in bytes.
      * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { @@ -2346,33 +2081,22 @@ public Builder clearSizeBytes() { private int state_ = 0; /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2383,35 +2107,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Backup.State getState() { - com.google.bigtable.admin.v2.Backup.State result = - com.google.bigtable.admin.v2.Backup.State.forNumber(state_); + com.google.bigtable.admin.v2.Backup.State result = com.google.bigtable.admin.v2.Backup.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Backup.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2425,16 +2138,11 @@ public Builder setState(com.google.bigtable.admin.v2.Backup.State value) { return this; } /** - * - * *
      * Output only. The current state of the backup.
      * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2446,58 +2154,39 @@ public Builder clearState() { private com.google.bigtable.admin.v2.EncryptionInfo encryptionInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ public boolean hasEncryptionInfo() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo() { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } else { return encryptionInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -2513,15 +2202,11 @@ public Builder setEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -2535,22 +2220,17 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) - && encryptionInfo_ != null - && encryptionInfo_ - != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000100) != 0) && + encryptionInfo_ != null && + encryptionInfo_ != com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()) { getEncryptionInfoBuilder().mergeFrom(value); } else { encryptionInfo_ = value; @@ -2563,15 +2243,11 @@ public Builder mergeEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo v return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { bitField0_ = (bitField0_ & ~0x00000100); @@ -2584,15 +2260,11 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder() { bitField0_ |= 0x00000100; @@ -2600,55 +2272,43 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil return getEncryptionInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilder(); } else { - return encryptionInfo_ == null - ? com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() - : encryptionInfo_; + return encryptionInfo_ == null ? + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance() : encryptionInfo_; } } /** - * - * *
      * Output only. The encryption information for the backup.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( - getEncryptionInfo(), getParentForChildren(), isClean()); + encryptionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + getEncryptionInfo(), + getParentForChildren(), + isClean()); encryptionInfo_ = null; } return encryptionInfoBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2658,12 +2318,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Backup) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Backup) private static final com.google.bigtable.admin.v2.Backup DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Backup(); } @@ -2672,27 +2332,27 @@ public static com.google.bigtable.admin.v2.Backup getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Backup parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Backup parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2707,4 +2367,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Backup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java index 34b1f092f0..add1574b5a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfo.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Information about a backup.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.BackupInfo} */ -public final class BackupInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class BackupInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.BackupInfo) BackupInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use BackupInfo.newBuilder() to construct. private BackupInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private BackupInfo() { backup_ = ""; sourceTable_ = ""; @@ -45,38 +27,33 @@ private BackupInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new BackupInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } public static final int BACKUP_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object backup_ = ""; /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; } } /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -118,16 +95,12 @@ public com.google.protobuf.ByteString getBackupBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -135,16 +108,12 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -152,15 +121,12 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -170,16 +136,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -187,16 +149,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -204,15 +162,12 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -220,18 +175,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ @java.lang.Override @@ -240,29 +191,29 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -271,12 +222,9 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 10; - @SuppressWarnings("serial") 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
@@ -284,7 +232,6 @@ public com.google.protobuf.ByteString getSourceTableBytes() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceBackup. */ @java.lang.Override @@ -293,15 +240,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * 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
@@ -309,15 +255,16 @@ public java.lang.String getSourceBackup() {
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -326,7 +273,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -338,7 +284,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(backup_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, backup_); } @@ -367,10 +314,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, backup_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTable_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, sourceTable_); @@ -386,24 +335,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.BackupInfo)) { return super.equals(obj); } com.google.bigtable.admin.v2.BackupInfo other = (com.google.bigtable.admin.v2.BackupInfo) obj; - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getSourceTable().equals(other.getSourceTable())) return false; - if (!getSourceBackup().equals(other.getSourceBackup())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -434,136 +388,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.BackupInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.BackupInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.BackupInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.BackupInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about a backup.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.BackupInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.BackupInfo) com.google.bigtable.admin.v2.BackupInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.BackupInfo.class, - com.google.bigtable.admin.v2.BackupInfo.Builder.class); + com.google.bigtable.admin.v2.BackupInfo.class, com.google.bigtable.admin.v2.BackupInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.BackupInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -585,9 +535,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; } @java.lang.Override @@ -606,11 +556,8 @@ public com.google.bigtable.admin.v2.BackupInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo buildPartial() { - com.google.bigtable.admin.v2.BackupInfo result = - new com.google.bigtable.admin.v2.BackupInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.BackupInfo result = new com.google.bigtable.admin.v2.BackupInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -621,10 +568,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { result.backup_ = backup_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.sourceTable_ = sourceTable_; @@ -638,39 +589,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.BackupInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.BackupInfo) { - return mergeFrom((com.google.bigtable.admin.v2.BackupInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.BackupInfo)other); } else { super.mergeFrom(other); return this; @@ -726,43 +676,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - backup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - sourceTable_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 82: - { - sourceBackup_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + backup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + sourceTable_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 82: { + sourceBackup_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -772,25 +720,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object backup_ = ""; /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ public java.lang.String getBackup() { java.lang.Object ref = backup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backup_ = s; return s; @@ -799,21 +744,20 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = backup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backup_ = b; return b; } else { @@ -821,35 +765,28 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backup_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -859,21 +796,17 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Output only. Name of the backup.
      * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backup_ = value; bitField0_ |= 0x00000001; @@ -883,37 +816,26 @@ public Builder setBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -924,15 +846,12 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -948,17 +867,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -969,21 +886,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -996,15 +910,12 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1017,15 +928,12 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -1033,46 +941,38 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The time that the backup was started. Row data in the backup
      * will be no older than this timestamp.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1080,37 +980,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1121,15 +1010,12 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1145,17 +1031,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1166,21 +1050,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1193,15 +1074,12 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1214,15 +1092,12 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -1230,46 +1105,38 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. This time that the backup was finished. Row data in the
      * backup will be no newer than this timestamp.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1277,20 +1144,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -1299,21 +1164,20 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -1321,35 +1185,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -1359,21 +1216,17 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. Name of the table the backup was created from.
      * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000008; @@ -1383,8 +1236,6 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { 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
@@ -1392,13 +1243,13 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1407,8 +1258,6 @@ public 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
@@ -1416,14 +1265,15 @@ public java.lang.String getSourceBackup() {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1431,8 +1281,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * 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
@@ -1440,22 +1288,18 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * 
* * 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(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000010; 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
@@ -1463,7 +1307,6 @@ public Builder setSourceBackup(java.lang.String value) {
      * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1473,8 +1316,6 @@ public Builder clearSourceBackup() { 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
@@ -1482,23 +1323,21 @@ public Builder clearSourceBackup() {
      * 
* * 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(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1508,12 +1347,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.BackupInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.BackupInfo) private static final com.google.bigtable.admin.v2.BackupInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.BackupInfo(); } @@ -1522,27 +1361,27 @@ public static com.google.bigtable.admin.v2.BackupInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public BackupInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BackupInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1557,4 +1396,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.BackupInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java index 7d0691b53d..4b043588a0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupInfoOrBuilder.java @@ -1,163 +1,113 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface BackupInfoOrBuilder - extends +public interface BackupInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.BackupInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Output only. Name of the backup.
    * 
* * string backup = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The time that the backup was started. Row data in the backup
    * will be no older than this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. This time that the backup was finished. Row data in the
    * backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * Output only. Name of the table the backup was created from.
    * 
* * string source_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + 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
@@ -165,13 +115,10 @@ public interface BackupInfoOrBuilder
    * 
* * 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
@@ -179,8 +126,8 @@ public interface BackupInfoOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java index 92fecae6a3..129feacd68 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BackupOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface BackupOrBuilder - extends +public interface BackupOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Backup) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -40,13 +22,10 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A globally unique identifier for the backup which cannot be
    * changed. Values are of the form
@@ -61,47 +40,36 @@ public interface BackupOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * Required. Immutable. Name of the table from which this backup was created.
    * This needs to be in the same instance as the backup. Values are of the form
    * `projects/{project}/instances/{instance}/tables/{source_table}`.
    * 
* - * - * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * - * + * string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + 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
@@ -109,13 +77,10 @@ public interface BackupOrBuilder
    * 
* * 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
@@ -123,14 +88,12 @@ public interface BackupOrBuilder
    * 
* * string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -139,15 +102,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -156,15 +115,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. The expiration time of the backup, with microseconds
    * granularity that must be at least 6 hours and at most 90 days
@@ -173,14 +128,11 @@ public interface BackupOrBuilder
    * resources used by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -189,15 +141,11 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -206,15 +154,11 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. `start_time` is the time that the backup was started
    * (i.e. approximately the time the
@@ -223,132 +167,93 @@ public interface BackupOrBuilder
    * this timestamp.
    * 
* - * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. `end_time` is the time that the backup was finished. The row
    * data in the backup will be no newer than this timestamp.
    * 
* - * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Size of the backup in bytes.
    * 
* * int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the backup.
    * 
* - * - * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Backup.State getState(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionInfo field is set. */ boolean hasEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionInfo. */ com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(); /** - * - * *
    * Output only. The encryption information for the backup.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java new file mode 100644 index 0000000000..364f9f7e5e --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java @@ -0,0 +1,618 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public final class BigtableInstanceAdminProto { + private BigtableInstanceAdminProto() {} + 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_CreateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/bigtable/admin/v2/bigtable_inst" + + "ance_admin.proto\022\030google.bigtable.admin." + + "v2\032\034google/api/annotations.proto\032\027google" + + "/api/client.proto\032\037google/api/field_beha" + + "vior.proto\032\031google/api/resource.proto\032\'g" + + "oogle/bigtable/admin/v2/instance.proto\032\036" + + "google/iam/v1/iam_policy.proto\032\032google/i" + + "am/v1/policy.proto\032#google/longrunning/o" + + "perations.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\"\337\002\n\025Crea" + + "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" + + "A-\n+cloudresourcemanager.googleapis.com/" + + "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" + + "stance\030\003 \001(\0132\".google.bigtable.admin.v2." + + "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" + + "e.bigtable.admin.v2.CreateInstanceReques" + + "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" + + "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" + + "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" + + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" + + "admin.googleapis.com/Instance\"p\n\024ListIns" + + "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "cloudresourcemanager.googleapis.com/Proj" + + "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" + + "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" + + "gtable.admin.v2.Instance\022\030\n\020failed_locat" + + "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" + + "PartialUpdateInstanceRequest\022:\n\010instance" + + "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" + + "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" + + "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" + + "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" + + "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" + + "\n%bigtableadmin.googleapis.com/Instance\022" + + "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" + + "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" + + "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" + + " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." + + "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" + + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" + + "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" + + "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" + + "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" + + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" + + "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" + + "inal_request\030\001 \001(\0132/.google.bigtable.adm" + + "in.v2.CreateInstanceRequest\0220\n\014request_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" + + "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" + + "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" + + "ginal_request\030\001 \001(\01326.google.bigtable.ad" + + "min.v2.PartialUpdateInstanceRequest\0220\n\014r" + + "equest_time\030\002 \001(\0132\032.google.protobuf.Time" + + "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" + + "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" + + "\022H\n\020original_request\030\001 \001(\0132..google.bigt" + + "able.admin.v2.CreateClusterRequest\0220\n\014re" + + "quest_time\030\002 \001(\0132\032.google.protobuf.Times" + + "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" + + "igtable.admin.v2.CreateClusterMetadata.T" + + "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" + + "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" + + "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" + + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" + + "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" + + "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" + + "ble.admin.v2.CreateClusterMetadata.Table" + + "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" + + "\n\020original_request\030\001 \001(\0132!.google.bigtab" + + "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" + + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" + + "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" + + "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" + + ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" + + "oogle.bigtable.admin.v2.PartialUpdateClu" + + "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" + + "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" + + "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" + + "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" + + "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" + + "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" + + "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" + + "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" + + "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" + + "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" + + "s.com/AppProfile\"\177\n\026ListAppProfilesReque" + + "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" + + "in.googleapis.com/Instance\022\021\n\tpage_size\030" + + "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" + + "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" + + "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" + + " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" + + "profile\030\001 \001(\0132$.google.bigtable.admin.v2" + + ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" + + "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" + + "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" + + "in.googleapis.com/AppProfile\022\035\n\017ignore_w" + + "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" + + "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" + + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" + + "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" + + "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" + + "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" + + "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" + + "e.admin.v2.CreateInstanceRequest\032\035.googl" + + "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" + + "CreateInstanceMetadata\332A$parent,instance" + + "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" + + "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" + + "e\022,.google.bigtable.admin.v2.GetInstance" + + "Request\032\".google.bigtable.admin.v2.Insta" + + "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" + + "/instances/*}\022\244\001\n\rListInstances\022..google" + + ".bigtable.admin.v2.ListInstancesRequest\032" + + "/.google.bigtable.admin.v2.ListInstances" + + "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" + + "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" + + "\".google.bigtable.admin.v2.Instance\032\".go" + + "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" + + "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" + + "\n\025PartialUpdateInstance\0226.google.bigtabl" + + "e.admin.v2.PartialUpdateInstanceRequest\032" + + "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" + + "tance\022\026UpdateInstanceMetadata\332A\024instance" + + ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" + + "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" + + "eteInstance\022/.google.bigtable.admin.v2.D" + + "eleteInstanceRequest\032\026.google.protobuf.E" + + "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" + + "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" + + "e.bigtable.admin.v2.CreateClusterRequest" + + "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" + + "uster\022\025CreateClusterMetadata\332A\031parent,cl" + + "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" + + "ects/*/instances/*}/clusters:\007cluster\022\231\001" + + "\n\nGetCluster\022+.google.bigtable.admin.v2." + + "GetClusterRequest\032!.google.bigtable.admi" + + "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" + + "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" + + "stClusters\022-.google.bigtable.admin.v2.Li" + + "stClustersRequest\032..google.bigtable.admi" + + "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" + + "\002.\022,/v2/{parent=projects/*/instances/*}/" + + "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" + + "able.admin.v2.Cluster\032\035.google.longrunni" + + "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" + + "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" + + "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" + + "teCluster\0225.google.bigtable.admin.v2.Par" + + "tialUpdateClusterRequest\032\035.google.longru" + + "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" + + "pdateClusterMetadata\332A\023cluster,update_ma" + + "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" + + "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" + + "teCluster\022..google.bigtable.admin.v2.Del" + + "eteClusterRequest\032\026.google.protobuf.Empt" + + "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" + + "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" + + "ile\0221.google.bigtable.admin.v2.CreateApp" + + "ProfileRequest\032$.google.bigtable.admin.v" + + "2.AppProfile\"h\332A!parent,app_profile_id,a" + + "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" + + "/instances/*}/appProfiles:\013app_profile\022\245" + + "\001\n\rGetAppProfile\022..google.bigtable.admin" + + ".v2.GetAppProfileRequest\032$.google.bigtab" + + "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" + + "able.admin.v2.ListAppProfilesRequest\0321.g" + + "oogle.bigtable.admin.v2.ListAppProfilesR" + + "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" + + "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" + + "dateAppProfile\0221.google.bigtable.admin.v" + + "2.UpdateAppProfileRequest\032\035.google.longr" + + "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" + + "teAppProfileMetadata\332A\027app_profile,updat" + + "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" + + "ects/*/instances/*/appProfiles/*}:\013app_p" + + "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" + + "table.admin.v2.DeleteAppProfileRequest\032\026" + + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" + + "v2/{name=projects/*/instances/*/appProfi" + + "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." + + "GetIamPolicyRequest\032\025.google.iam.v1.Poli" + + "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" + + "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" + + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" + + "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" + + "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" + + "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" + + "stIamPermissions\022(.google.iam.v1.TestIam" + + "PermissionsRequest\032).google.iam.v1.TestI" + + "amPermissionsResponse\"Z\332A\024resource,permi" + + "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" + + "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" + + "stHotTablets\022/.google.bigtable.admin.v2." + + "ListHotTabletsRequest\0320.google.bigtable." + + "admin.v2.ListHotTabletsResponse\"J\332A\006pare" + + "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" + + "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" + + "eadmin.googleapis.com\322A\367\002https://www.goo" + + "gleapis.com/auth/bigtable.admin,https://" + + "www.googleapis.com/auth/bigtable.admin.c" + + "luster,https://www.googleapis.com/auth/b" + + "igtable.admin.instance,https://www.googl" + + "eapis.com/auth/cloud-bigtable.admin,http" + + "s://www.googleapis.com/auth/cloud-bigtab" + + "le.admin.cluster,https://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" + + "bleInstanceAdminProtoP\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" + }; + 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.InstanceProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, + new java.lang.String[] { "Parent", "InstanceId", "Instance", "Clusters", }); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, + new java.lang.String[] { "Instances", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, + new java.lang.String[] { "Instance", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, + new java.lang.String[] { "Parent", "ClusterId", "Cluster", }); + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, + new java.lang.String[] { "Parent", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, + new java.lang.String[] { "Clusters", "FailedLocations", "NextPageToken", }); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", "Tables", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, + new java.lang.String[] { "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", }); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, + new java.lang.String[] { "OriginalRequest", "RequestTime", "FinishTime", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, + new java.lang.String[] { "RequestTime", "FinishTime", "OriginalRequest", }); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, + new java.lang.String[] { "Cluster", "UpdateMask", }); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, + new java.lang.String[] { "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, + new java.lang.String[] { "AppProfiles", "NextPageToken", "FailedLocations", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, + new java.lang.String[] { "AppProfile", "UpdateMask", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, + new java.lang.String[] { "Name", "IgnoreWarnings", }); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, + new java.lang.String[] { "Parent", "StartTime", "EndTime", "PageSize", "PageToken", }); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, + new java.lang.String[] { "HotTablets", "NextPageToken", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java new file mode 100644 index 0000000000..f9da51aaee --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java @@ -0,0 +1,762 @@ +// 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 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); + } + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor; + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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 + 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() { + return 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\"\263\001\n\023RestoreTableRequest" + + "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" + + ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" + + "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" + + "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" + + "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" + + "\013source_type\030\002 \001(\0162+.google.bigtable.adm" + + "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" + + " \001(\0132$.google.bigtable.admin.v2.BackupIn" + + "foH\000\022%\n\035optimize_table_operation_name\030\004 " + + "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." + + "admin.v2.OperationProgressB\r\n\013source_inf" + + "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" + + "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" + + "able.admin.v2.OperationProgress\"\204\002\n\022Crea" + + "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" + + "%bigtableadmin.googleapis.com/Instance\022\026" + + "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." + + "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" + + "initial_splits\030\004 \003(\01322.google.bigtable.a" + + "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" + + "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" + + "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" + + "ableadmin.googleapis.com/Instance\022\026\n\010tab" + + "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" + + "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" + + "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" + + "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" + + "pis.com/Table\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\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" + + "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" + + "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" + + ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\022" + + "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" + + ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" + + "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" + + "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" + + "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" + + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" + + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" + + "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" + + "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" + + "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" + + "\372A$\n\"bigtableadmin.googleapis.com/Table\"" + + "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" + + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" + + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" + + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" + + "min.googleapis.com/Table\022_\n\rmodification" + + "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" + + "yColumnFamiliesRequest.ModificationB\004\342A\001" + + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" + + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" + + "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" + + "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" + + "in.googleapis.com/Table\"=\n GenerateConsi" + + "stencyTokenResponse\022\031\n\021consistency_token" + + "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" + + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" + + "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" + + "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" + + "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" + + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" + + "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" + + "\372A&\n$bigtableadmin.googleapis.com/Cluste" + + "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" + + "\0132\031.google.protobuf.Duration\022\023\n\013descript" + + "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" + + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" + + ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" + + "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" + + "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" + + "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" + + "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" + + " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " + + "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" + + "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" + + "\020original_request\030\001 \001(\0132..google.bigtabl" + + "e.admin.v2.SnapshotTableRequest\0220\n\014reque" + + "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" + + ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" + + "tadata\022R\n\020original_request\030\001 \001(\01328.googl" + + "e.bigtable.admin.v2.CreateTableFromSnaps" + + "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" + + "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" + + "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" + + "bigtableadmin.googleapis.com/Cluster\022\027\n\t" + + "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." + + "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" + + "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" + + "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" + + ".google.protobuf.Timestamp\022,\n\010end_time\030\004" + + " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" + + "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" + + "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" + + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" + + "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" + + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" + + "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" + + " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." + + "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" + + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" + + "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" + + "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" + + "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" + + "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" + + "kup\022\027\n\017next_page_token\030\002 \001(\t\"\347\001\n\021CopyBac" + + "kupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$big" + + "tableadmin.googleapis.com/Cluster\022\027\n\tbac" + + "kup_id\030\002 \001(\tB\004\342A\001\002\022C\n\rsource_backup\030\003 \001(" + + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" + + "/Backup\0225\n\013expire_time\030\004 \001(\0132\032.google.pr" + + "otobuf.TimestampB\004\342A\001\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\332A\025parent," + + "table_id,table\202\323\344\223\002/\"*/v2/{parent=projec" + + "ts/*/instances/*}/tables:\001*\022\212\002\n\027CreateTa" + + "bleFromSnapshot\0228.google.bigtable.admin." + + "v2.CreateTableFromSnapshotRequest\032\035.goog" + + "le.longrunning.Operation\"\225\001\312A(\n\005Table\022\037C" + + "reateTableFromSnapshotMetadata\332A\037parent," + + "table_id,source_snapshot\202\323\344\223\002B\"=/v2/{par" + + "ent=projects/*/instances/*}/tables:creat" + + "eFromSnapshot:\001*\022\244\001\n\nListTables\022+.google" + + ".bigtable.admin.v2.ListTablesRequest\032,.g" + + "oogle.bigtable.admin.v2.ListTablesRespon" + + "se\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=project" + + "s/*/instances/*}/tables\022\221\001\n\010GetTable\022).g" + + "oogle.bigtable.admin.v2.GetTableRequest\032" + + "\037.google.bigtable.admin.v2.Table\"9\332A\004nam" + + "e\202\323\344\223\002,\022*/v2/{name=projects/*/instances/" + + "*/tables/*}\022\316\001\n\013UpdateTable\022,.google.big" + + "table.admin.v2.UpdateTableRequest\032\035.goog" + + "le.longrunning.Operation\"r\312A\034\n\005Table\022\023Up" + + "dateTableMetadata\332A\021table,update_mask\202\323\344" + + "\223\002920/v2/{table.name=projects/*/instance" + + "s/*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.g" + + "oogle.bigtable.admin.v2.DeleteTableReque" + + "st\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002" + + ",**/v2/{name=projects/*/instances/*/tabl" + + "es/*}\022\306\001\n\rUndeleteTable\022..google.bigtabl" + + "e.admin.v2.UndeleteTableRequest\032\035.google" + + ".longrunning.Operation\"f\312A\036\n\005Table\022\025Unde" + + "leteTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{nam" + + "e=projects/*/instances/*/tables/*}:undel" + + "ete:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google" + + ".bigtable.admin.v2.ModifyColumnFamiliesR" + + "equest\032\037.google.bigtable.admin.v2.Table\"" + + "_\332A\022name,modifications\202\323\344\223\002D\"?/v2/{name=" + + "projects/*/instances/*/tables/*}:modifyC" + + "olumnFamilies:\001*\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\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/in" + + "stances/*/tables/*}:generateConsistencyT" + + "oken:\001*\022\332\001\n\020CheckConsistency\0221.google.bi" + + "gtable.admin.v2.CheckConsistencyRequest\032" + + "2.google.bigtable.admin.v2.CheckConsiste" + + "ncyResponse\"_\332A\026name,consistency_token\202\323" + + "\344\223\002@\";/v2/{name=projects/*/instances/*/t" + + "ables/*}:checkConsistency:\001*\022\352\001\n\rSnapsho" + + "tTable\022..google.bigtable.admin.v2.Snapsh" + + "otTableRequest\032\035.google.longrunning.Oper" + + "ation\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMeta" + + "data\332A$name,cluster,snapshot_id,descript" + + "ion\202\323\344\223\0028\"3/v2/{name=projects/*/instance" + + "s/*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapsho" + + "t\022,.google.bigtable.admin.v2.GetSnapshot" + + "Request\032\".google.bigtable.admin.v2.Snaps" + + "hot\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*" + + "/instances/*/clusters/*/snapshots/*}\022\273\001\n" + + "\rListSnapshots\022..google.bigtable.admin.v" + + "2.ListSnapshotsRequest\032/.google.bigtable" + + ".admin.v2.ListSnapshotsResponse\"I\332A\006pare" + + "nt\202\323\344\223\002:\0228/v2/{parent=projects/*/instanc" + + "es/*/clusters/*}/snapshots\022\242\001\n\016DeleteSna" + + "pshot\022/.google.bigtable.admin.v2.DeleteS" + + "napshotRequest\032\026.google.protobuf.Empty\"G" + + "\332A\004name\202\323\344\223\002:*8/v2/{name=projects/*/inst" + + "ances/*/clusters/*/snapshots/*}\022\340\001\n\014Crea" + + "teBackup\022-.google.bigtable.admin.v2.Crea" + + "teBackupRequest\032\035.google.longrunning.Ope" + + "ration\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetada" + + "ta\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/" + + "{parent=projects/*/instances/*/clusters/" + + "*}/backups:\006backup\022\240\001\n\tGetBackup\022*.googl" + + "e.bigtable.admin.v2.GetBackupRequest\032 .g" + + "oogle.bigtable.admin.v2.Backup\"E\332A\004name\202" + + "\323\344\223\0028\0226/v2/{name=projects/*/instances/*/" + + "clusters/*/backups/*}\022\303\001\n\014UpdateBackup\022-" + + ".google.bigtable.admin.v2.UpdateBackupRe" + + "quest\032 .google.bigtable.admin.v2.Backup\"" + + "b\332A\022backup,update_mask\202\323\344\223\002G2=/v2/{backu" + + "p.name=projects/*/instances/*/clusters/*" + + "/backups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.g" + + "oogle.bigtable.admin.v2.DeleteBackupRequ" + + "est\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223" + + "\0028*6/v2/{name=projects/*/instances/*/clu" + + "sters/*/backups/*}\022\263\001\n\013ListBackups\022,.goo" + + "gle.bigtable.admin.v2.ListBackupsRequest" + + "\032-.google.bigtable.admin.v2.ListBackupsR" + + "esponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=pr" + + "ojects/*/instances/*/clusters/*}/backups" + + "\022\273\001\n\014RestoreTable\022-.google.bigtable.admi" + + "n.v2.RestoreTableRequest\032\035.google.longru" + + "nning.Operation\"]\312A\035\n\005Table\022\024RestoreTabl" + + "eMetadata\202\323\344\223\0027\"2/v2/{parent=projects/*/" + + "instances/*}/tables:restore:\001*\022\355\001\n\nCopyB" + + "ackup\022+.google.bigtable.admin.v2.CopyBac" + + "kupRequest\032\035.google.longrunning.Operatio" + + "n\"\222\001\312A\034\n\006Backup\022\022CopyBackupMetadata\332A*pa" + + "rent,backup_id,source_backup,expire_time" + + "\202\323\344\223\002@\";/v2/{parent=projects/*/instances" + + "/*/clusters/*}/backups:copy:\001*\022\354\001\n\014GetIa" + + "mPolicy\022\".google.iam.v1.GetIamPolicyRequ" + + "est\032\025.google.iam.v1.Policy\"\240\001\332A\010resource" + + "\202\323\344\223\002\216\001\";/v2/{resource=projects/*/instan" + + "ces/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{" + + "resource=projects/*/instances/*/clusters" + + "/*/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIam" + + "Policy\022\".google.iam.v1.SetIamPolicyReque" + + "st\032\025.google.iam.v1.Policy\"\247\001\332A\017resource," + + "policy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/" + + "instances/*/tables/*}:setIamPolicy:\001*ZL\"" + + "G/v2/{resource=projects/*/instances/*/cl" + + "usters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022" + + "TestIamPermissions\022(.google.iam.v1.TestI" + + "amPermissionsRequest\032).google.iam.v1.Tes" + + "tIamPermissionsResponse\"\270\001\332A\024resource,pe" + + "rmissions\202\323\344\223\002\232\001\"A/v2/{resource=projects" + + "/*/instances/*/tables/*}:testIamPermissi" + + "ons:\001*ZR\"M/v2/{resource=projects/*/insta" + + "nces/*/clusters/*/backups/*}:testIamPerm" + + "issions:\001*\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" + }; + 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(), + }); + 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.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(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java index 2dca53e93f..f2814becd4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfig.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Change stream configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ -public final class ChangeStreamConfig extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ChangeStreamConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ChangeStreamConfig) ChangeStreamConfigOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ChangeStreamConfig.newBuilder() to construct. private ChangeStreamConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ChangeStreamConfig() {} + private ChangeStreamConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ChangeStreamConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } public static final int RETENTION_PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration retentionPeriod_; /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -74,7 +54,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ @java.lang.Override @@ -82,8 +61,6 @@ public boolean hasRetentionPeriod() { return retentionPeriod_ != null; } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -93,18 +70,13 @@ public boolean hasRetentionPeriod() {
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ @java.lang.Override public com.google.protobuf.Duration getRetentionPeriod() { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -117,13 +89,10 @@ public com.google.protobuf.Duration getRetentionPeriod() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
-    return retentionPeriod_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : retentionPeriod_;
+    return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -135,7 +104,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (retentionPeriod_ != null) {
       output.writeMessage(1, getRetentionPeriod());
     }
@@ -149,7 +119,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (retentionPeriod_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRetentionPeriod());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRetentionPeriod());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -159,17 +130,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ChangeStreamConfig)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ChangeStreamConfig other =
-        (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
+    com.google.bigtable.admin.v2.ChangeStreamConfig other = (com.google.bigtable.admin.v2.ChangeStreamConfig) obj;
 
     if (hasRetentionPeriod() != other.hasRetentionPeriod()) return false;
     if (hasRetentionPeriod()) {
-      if (!getRetentionPeriod().equals(other.getRetentionPeriod())) return false;
+      if (!getRetentionPeriod()
+          .equals(other.getRetentionPeriod())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -191,136 +162,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig 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.ChangeStreamConfig parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ChangeStreamConfig parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ChangeStreamConfig prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Change stream configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ChangeStreamConfig} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ChangeStreamConfig) com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ChangeStreamConfig.class, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); + com.google.bigtable.admin.v2.ChangeStreamConfig.class, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.ChangeStreamConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -334,9 +301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; } @java.lang.Override @@ -355,11 +322,8 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { - com.google.bigtable.admin.v2.ChangeStreamConfig result = - new com.google.bigtable.admin.v2.ChangeStreamConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ChangeStreamConfig result = new com.google.bigtable.admin.v2.ChangeStreamConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -367,8 +331,9 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.retentionPeriod_ = - retentionPeriodBuilder_ == null ? retentionPeriod_ : retentionPeriodBuilder_.build(); + result.retentionPeriod_ = retentionPeriodBuilder_ == null + ? retentionPeriod_ + : retentionPeriodBuilder_.build(); } } @@ -376,39 +341,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ChangeStreamConfig resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ChangeStreamConfig) { - return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.ChangeStreamConfig)other); } else { super.mergeFrom(other); return this; @@ -416,8 +380,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ChangeStreamConfig other) { - if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) return this; if (other.hasRetentionPeriod()) { mergeRetentionPeriod(other.getRetentionPeriod()); } @@ -447,19 +410,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRetentionPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRetentionPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -469,18 +432,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration retentionPeriod_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - retentionPeriodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> retentionPeriodBuilder_; /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -490,15 +447,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ public boolean hasRetentionPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -508,21 +462,16 @@ public boolean hasRetentionPeriod() {
      * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ public com.google.protobuf.Duration getRetentionPeriod() { if (retentionPeriodBuilder_ == null) { - return retentionPeriod_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : retentionPeriod_; + return retentionPeriod_ == null ? com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_; } else { return retentionPeriodBuilder_.getMessage(); } } /** - * - * *
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -547,8 +496,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -559,7 +506,8 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration retention_period = 1;
      */
-    public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setRetentionPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (retentionPeriodBuilder_ == null) {
         retentionPeriod_ = builderForValue.build();
       } else {
@@ -570,8 +518,6 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -584,9 +530,9 @@ public Builder setRetentionPeriod(com.google.protobuf.Duration.Builder builderFo
      */
     public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       if (retentionPeriodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && retentionPeriod_ != null
-            && retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          retentionPeriod_ != null &&
+          retentionPeriod_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getRetentionPeriodBuilder().mergeFrom(value);
         } else {
           retentionPeriod_ = value;
@@ -599,8 +545,6 @@ public Builder mergeRetentionPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -622,8 +566,6 @@ public Builder clearRetentionPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -640,8 +582,6 @@ public com.google.protobuf.Duration.Builder getRetentionPeriodBuilder() {
       return getRetentionPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -656,14 +596,11 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
       if (retentionPeriodBuilder_ != null) {
         return retentionPeriodBuilder_.getMessageOrBuilder();
       } else {
-        return retentionPeriod_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : retentionPeriod_;
+        return retentionPeriod_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : retentionPeriod_;
       }
     }
     /**
-     *
-     *
      * 
      * How long the change stream should be retained. Change stream data older
      * than the retention period will not be returned when reading the change
@@ -675,24 +612,21 @@ public com.google.protobuf.DurationOrBuilder getRetentionPeriodOrBuilder() {
      * .google.protobuf.Duration retention_period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getRetentionPeriodFieldBuilder() {
       if (retentionPeriodBuilder_ == null) {
-        retentionPeriodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getRetentionPeriod(), getParentForChildren(), isClean());
+        retentionPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getRetentionPeriod(),
+                getParentForChildren(),
+                isClean());
         retentionPeriod_ = null;
       }
       return retentionPeriodBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -702,12 +636,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ChangeStreamConfig)
   private static final com.google.bigtable.admin.v2.ChangeStreamConfig DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ChangeStreamConfig();
   }
@@ -716,27 +650,27 @@ public static com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ChangeStreamConfig parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ChangeStreamConfig parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -751,4 +685,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ChangeStreamConfig getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
index 041d1a666f..dbaf06f99d 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ChangeStreamConfigOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface ChangeStreamConfigOrBuilder
-    extends
+public interface ChangeStreamConfigOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ChangeStreamConfig)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -35,13 +17,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return Whether the retentionPeriod field is set. */ boolean hasRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
@@ -51,13 +30,10 @@ public interface ChangeStreamConfigOrBuilder
    * 
* * .google.protobuf.Duration retention_period = 1; - * * @return The retentionPeriod. */ com.google.protobuf.Duration getRetentionPeriod(); /** - * - * *
    * How long the change stream should be retained. Change stream data older
    * than the retention period will not be returned when reading the change
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
index d84bebf27d..8a4c87bedf 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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;
 
 /**
- *
- *
  * 
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyRequest}
  */
-public final class CheckConsistencyRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckConsistencyRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyRequest)
     CheckConsistencyRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckConsistencyRequest.newBuilder() to construct.
   private CheckConsistencyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CheckConsistencyRequest() {
     name_ = "";
     consistencyToken_ = "";
@@ -45,42 +27,35 @@ private CheckConsistencyRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-            com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,18 +97,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object consistencyToken_ = ""; /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ @java.lang.Override @@ -144,29 +113,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -175,7 +144,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -187,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -217,16 +186,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyRequest other = - (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; + com.google.bigtable.admin.v2.CheckConsistencyRequest other = (com.google.bigtable.admin.v2.CheckConsistencyRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,103 +218,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest 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.CheckConsistencyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -352,32 +317,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyRequest)
       com.google.bigtable.admin.v2.CheckConsistencyRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.class,
-              com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyRequest.class, com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -388,9 +354,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyRequest_descriptor;
     }
 
     @java.lang.Override
@@ -409,11 +375,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyRequest buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyRequest result =
-          new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyRequest result = new com.google.bigtable.admin.v2.CheckConsistencyRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -472,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyRequest other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -510,25 +471,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,29 +496,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -569,25 +522,22 @@ public java.lang.String getName() { } } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -595,43 +545,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -641,25 +580,19 @@ public Builder clearName() { return this; } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -669,20 +602,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object consistencyToken_ = ""; /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -691,21 +622,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -713,35 +643,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -751,30 +674,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * Required. The token created using GenerateConsistencyToken for the Table.
      * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -784,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyRequest) private static final com.google.bigtable.admin.v2.CheckConsistencyRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyRequest(); } @@ -798,27 +717,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,4 +752,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java index 7b337028d4..ebe2d2bb34 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyRequestOrBuilder.java @@ -1,83 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CheckConsistencyRequestOrBuilder - extends +public interface CheckConsistencyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The consistencyToken. */ java.lang.String getConsistencyToken(); /** - * - * *
    * Required. The token created using GenerateConsistencyToken for the Table.
    * 
* * string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for consistencyToken. */ - com.google.protobuf.ByteString getConsistencyTokenBytes(); + com.google.protobuf.ByteString + getConsistencyTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java index c3d73c8ce4..91685123bc 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
  */
-public final class CheckConsistencyResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CheckConsistencyResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
     CheckConsistencyResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CheckConsistencyResponse.newBuilder() to construct.
   private CheckConsistencyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CheckConsistencyResponse() {}
+  private CheckConsistencyResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CheckConsistencyResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-            com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+            com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
   }
 
   public static final int CONSISTENT_FIELD_NUMBER = 1;
   private boolean consistent_ = false;
   /**
-   *
-   *
    * 
    * True only if the token is consistent. A token is consistent if replication
    * has caught up with the restrictions specified in the request.
    * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -81,7 +60,6 @@ public boolean getConsistent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -93,7 +71,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (consistent_ != false) { output.writeBool(1, consistent_); } @@ -107,7 +86,8 @@ public int getSerializedSize() { size = 0; if (consistent_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, consistent_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, consistent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -117,15 +97,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CheckConsistencyResponse other = - (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; + com.google.bigtable.admin.v2.CheckConsistencyResponse other = (com.google.bigtable.admin.v2.CheckConsistencyResponse) obj; - if (getConsistent() != other.getConsistent()) return false; + if (getConsistent() + != other.getConsistent()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -138,111 +118,106 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CONSISTENT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConsistent()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getConsistent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse 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.CheckConsistencyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CheckConsistencyResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CheckConsistencyResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
@@ -250,32 +225,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CheckConsistencyResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CheckConsistencyResponse)
       com.google.bigtable.admin.v2.CheckConsistencyResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.class,
-              com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
+              com.google.bigtable.admin.v2.CheckConsistencyResponse.class, com.google.bigtable.admin.v2.CheckConsistencyResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CheckConsistencyResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -285,9 +261,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CheckConsistencyResponse_descriptor;
     }
 
     @java.lang.Override
@@ -306,11 +282,8 @@ public com.google.bigtable.admin.v2.CheckConsistencyResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CheckConsistencyResponse buildPartial() {
-      com.google.bigtable.admin.v2.CheckConsistencyResponse result =
-          new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CheckConsistencyResponse result = new com.google.bigtable.admin.v2.CheckConsistencyResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -326,39 +299,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CheckConsistencyResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CheckConsistencyResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CheckConsistencyResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -366,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CheckConsistencyResponse other) {
-      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CheckConsistencyResponse.getDefaultInstance()) return this;
       if (other.getConsistent() != false) {
         setConsistent(other.getConsistent());
       }
@@ -397,19 +368,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                consistent_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              consistent_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -419,20 +388,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean consistent_;
+    private boolean consistent_ ;
     /**
-     *
-     *
      * 
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return The consistent. */ @java.lang.Override @@ -440,15 +405,12 @@ public boolean getConsistent() { return consistent_; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @param value The consistent to set. * @return This builder for chaining. */ @@ -460,15 +422,12 @@ public Builder setConsistent(boolean value) { return this; } /** - * - * *
      * True only if the token is consistent. A token is consistent if replication
      * has caught up with the restrictions specified in the request.
      * 
* * bool consistent = 1; - * * @return This builder for chaining. */ public Builder clearConsistent() { @@ -477,9 +436,9 @@ public Builder clearConsistent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -489,12 +448,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CheckConsistencyResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CheckConsistencyResponse) private static final com.google.bigtable.admin.v2.CheckConsistencyResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CheckConsistencyResponse(); } @@ -503,27 +462,27 @@ public static com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckConsistencyResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckConsistencyResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -538,4 +497,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CheckConsistencyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java new file mode 100644 index 0000000000..b2ae3cc51b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java @@ -0,0 +1,20 @@ +// 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 CheckConsistencyResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * True only if the token is consistent. A token is consistent if replication
+   * has caught up with the restrictions specified in the request.
+   * 
+ * + * bool consistent = 1; + * @return The consistent. + */ + boolean getConsistent(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java index a33bffee5e..fdf153c273 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Cluster.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A resizable group of nodes in a particular cloud location, capable
  * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Cluster}
  */
-public final class Cluster extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Cluster extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster)
     ClusterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Cluster.newBuilder() to construct.
   private Cluster(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Cluster() {
     name_ = "";
     location_ = "";
@@ -48,38 +30,34 @@ private Cluster() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Cluster();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Cluster.class,
-            com.google.bigtable.admin.v2.Cluster.Builder.class);
+            com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a cluster.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Cluster.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the cluster could not be determined.
      * 
@@ -88,8 +66,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -110,8 +84,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(2),
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -124,8 +96,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     RESIZING(3),
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the cluster could not be determined.
      * 
@@ -148,8 +116,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The cluster has been successfully created and is ready to serve requests.
      * 
@@ -158,8 +124,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The cluster is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -170,8 +134,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
     /**
-     *
-     *
      * 
      * The cluster is currently being resized, and may revert to its previous
      * node count if the process encounters an error.
@@ -184,8 +146,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int RESIZING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The cluster has no backing nodes. The data (tables) still
      * exist, but no operations can be performed on the cluster.
@@ -195,6 +155,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DISABLED_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -219,53 +180,51 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        case 3:
-          return RESIZING;
-        case 4:
-          return DISABLED;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        case 3: return RESIZING;
+        case 4: return DISABLED;
+        default: return null;
+      }
     }
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
+      return internalValueMap;
+    }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Cluster.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -282,148 +241,111 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Cluster.State)
   }
 
-  public interface ClusterAutoscalingConfigOrBuilder
-      extends
+  public interface ClusterAutoscalingConfigOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ boolean hasAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits(); /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ boolean hasAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets(); /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder(); } /** - * - * *
    * Autoscaling config for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class ClusterAutoscalingConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterAutoscalingConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) ClusterAutoscalingConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterAutoscalingConfig.newBuilder() to construct. private ClusterAutoscalingConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterAutoscalingConfig() {} + private ClusterAutoscalingConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterAutoscalingConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } public static final int AUTOSCALING_LIMITS_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ @java.lang.Override @@ -431,55 +353,37 @@ public boolean hasAutoscalingLimits() { return autoscalingLimits_ != null; } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } /** - * - * *
      * Required. Autoscaling limits for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } public static final int AUTOSCALING_TARGETS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ @java.lang.Override @@ -487,45 +391,30 @@ public boolean hasAutoscalingTargets() { return autoscalingTargets_ != null; } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ @java.lang.Override public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } /** - * - * *
      * Required. Autoscaling targets for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,7 +426,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (autoscalingLimits_ != null) { output.writeMessage(1, getAutoscalingLimits()); } @@ -554,11 +444,12 @@ public int getSerializedSize() { size = 0; if (autoscalingLimits_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAutoscalingLimits()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAutoscalingLimits()); } if (autoscalingTargets_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize(2, getAutoscalingTargets()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getAutoscalingTargets()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -568,21 +459,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) obj; if (hasAutoscalingLimits() != other.hasAutoscalingLimits()) return false; if (hasAutoscalingLimits()) { - if (!getAutoscalingLimits().equals(other.getAutoscalingLimits())) return false; + if (!getAutoscalingLimits() + .equals(other.getAutoscalingLimits())) return false; } if (hasAutoscalingTargets() != other.hasAutoscalingTargets()) return false; if (hasAutoscalingTargets()) { - if (!getAutoscalingTargets().equals(other.getAutoscalingTargets())) return false; + if (!getAutoscalingTargets() + .equals(other.getAutoscalingTargets())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -609,94 +501,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig 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.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -706,41 +593,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Autoscaling config for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -759,14 +644,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance(); } @@ -781,29 +665,23 @@ public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { + private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.autoscalingLimits_ = - autoscalingLimitsBuilder_ == null - ? autoscalingLimits_ - : autoscalingLimitsBuilder_.build(); + result.autoscalingLimits_ = autoscalingLimitsBuilder_ == null + ? autoscalingLimits_ + : autoscalingLimitsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.autoscalingTargets_ = - autoscalingTargetsBuilder_ == null - ? autoscalingTargets_ - : autoscalingTargetsBuilder_.build(); + result.autoscalingTargets_ = autoscalingTargetsBuilder_ == null + ? autoscalingTargets_ + : autoscalingTargetsBuilder_.build(); } } @@ -811,52 +689,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { - if (other - == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig other) { + if (other == com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) return this; if (other.hasAutoscalingLimits()) { mergeAutoscalingLimits(other.getAutoscalingLimits()); } @@ -889,27 +761,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getAutoscalingLimitsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getAutoscalingTargetsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAutoscalingLimitsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getAutoscalingTargetsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -919,63 +790,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AutoscalingLimits autoscalingLimits_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> - autoscalingLimitsBuilder_; + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> autoscalingLimitsBuilder_; /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingLimits field is set. */ public boolean hasAutoscalingLimits() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingLimits. */ public com.google.bigtable.admin.v2.AutoscalingLimits getAutoscalingLimits() { if (autoscalingLimitsBuilder_ == null) { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } else { return autoscalingLimitsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { @@ -991,15 +842,11 @@ public Builder setAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingLimits( com.google.bigtable.admin.v2.AutoscalingLimits.Builder builderForValue) { @@ -1013,22 +860,17 @@ public Builder setAutoscalingLimits( return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLimits value) { if (autoscalingLimitsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && autoscalingLimits_ != null - && autoscalingLimits_ - != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + autoscalingLimits_ != null && + autoscalingLimits_ != com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance()) { getAutoscalingLimitsBuilder().mergeFrom(value); } else { autoscalingLimits_ = value; @@ -1041,15 +883,11 @@ public Builder mergeAutoscalingLimits(com.google.bigtable.admin.v2.AutoscalingLi return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingLimits() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1062,15 +900,11 @@ public Builder clearAutoscalingLimits() { return this; } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimitsBuilder() { bitField0_ |= 0x00000001; @@ -1078,49 +912,36 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi return getAutoscalingLimitsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder - getAutoscalingLimitsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder getAutoscalingLimitsOrBuilder() { if (autoscalingLimitsBuilder_ != null) { return autoscalingLimitsBuilder_.getMessageOrBuilder(); } else { - return autoscalingLimits_ == null - ? com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() - : autoscalingLimits_; + return autoscalingLimits_ == null ? + com.google.bigtable.admin.v2.AutoscalingLimits.getDefaultInstance() : autoscalingLimits_; } } /** - * - * *
        * Required. Autoscaling limits for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingLimits autoscaling_limits = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder> getAutoscalingLimitsFieldBuilder() { if (autoscalingLimitsBuilder_ == null) { - autoscalingLimitsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingLimits, - com.google.bigtable.admin.v2.AutoscalingLimits.Builder, - com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( - getAutoscalingLimits(), getParentForChildren(), isClean()); + autoscalingLimitsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingLimits, com.google.bigtable.admin.v2.AutoscalingLimits.Builder, com.google.bigtable.admin.v2.AutoscalingLimitsOrBuilder>( + getAutoscalingLimits(), + getParentForChildren(), + isClean()); autoscalingLimits_ = null; } return autoscalingLimitsBuilder_; @@ -1128,58 +949,39 @@ public com.google.bigtable.admin.v2.AutoscalingLimits.Builder getAutoscalingLimi private com.google.bigtable.admin.v2.AutoscalingTargets autoscalingTargets_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> - autoscalingTargetsBuilder_; + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> autoscalingTargetsBuilder_; /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the autoscalingTargets field is set. */ public boolean hasAutoscalingTargets() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The autoscalingTargets. */ public com.google.bigtable.admin.v2.AutoscalingTargets getAutoscalingTargets() { if (autoscalingTargetsBuilder_ == null) { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } else { return autoscalingTargetsBuilder_.getMessage(); } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { @@ -1195,15 +997,11 @@ public Builder setAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTar return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAutoscalingTargets( com.google.bigtable.admin.v2.AutoscalingTargets.Builder builderForValue) { @@ -1217,23 +1015,17 @@ public Builder setAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder mergeAutoscalingTargets( - com.google.bigtable.admin.v2.AutoscalingTargets value) { + public Builder mergeAutoscalingTargets(com.google.bigtable.admin.v2.AutoscalingTargets value) { if (autoscalingTargetsBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && autoscalingTargets_ != null - && autoscalingTargets_ - != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + autoscalingTargets_ != null && + autoscalingTargets_ != com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance()) { getAutoscalingTargetsBuilder().mergeFrom(value); } else { autoscalingTargets_ = value; @@ -1246,15 +1038,11 @@ public Builder mergeAutoscalingTargets( return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAutoscalingTargets() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1267,71 +1055,52 @@ public Builder clearAutoscalingTargets() { return this; } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargets.Builder - getAutoscalingTargetsBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargets.Builder getAutoscalingTargetsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getAutoscalingTargetsFieldBuilder().getBuilder(); } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder - getAutoscalingTargetsOrBuilder() { + public com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder getAutoscalingTargetsOrBuilder() { if (autoscalingTargetsBuilder_ != null) { return autoscalingTargetsBuilder_.getMessageOrBuilder(); } else { - return autoscalingTargets_ == null - ? com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() - : autoscalingTargets_; + return autoscalingTargets_ == null ? + com.google.bigtable.admin.v2.AutoscalingTargets.getDefaultInstance() : autoscalingTargets_; } } /** - * - * *
        * Required. Autoscaling targets for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AutoscalingTargets autoscaling_targets = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder> getAutoscalingTargetsFieldBuilder() { if (autoscalingTargetsBuilder_ == null) { - autoscalingTargetsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AutoscalingTargets, - com.google.bigtable.admin.v2.AutoscalingTargets.Builder, - com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( - getAutoscalingTargets(), getParentForChildren(), isClean()); + autoscalingTargetsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AutoscalingTargets, com.google.bigtable.admin.v2.AutoscalingTargets.Builder, com.google.bigtable.admin.v2.AutoscalingTargetsOrBuilder>( + getAutoscalingTargets(), + getParentForChildren(), + isClean()); autoscalingTargets_ = null; } return autoscalingTargetsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1344,44 +1113,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig) - private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig(); } - public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstance() { + public static com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterAutoscalingConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterAutoscalingConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1393,114 +1159,90 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ClusterConfigOrBuilder - extends + public interface ClusterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ boolean hasClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig(); /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder(); + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder(); } /** - * - * *
    * Configuration for a cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class ClusterConfig extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterConfig extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) ClusterConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterConfig.newBuilder() to construct. private ClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ClusterConfig() {} + private ClusterConfig() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterConfig(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } public static final int CLUSTER_AUTOSCALING_CONFIG_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ @java.lang.Override @@ -1508,46 +1250,30 @@ public boolean hasClusterAutoscalingConfig() { return clusterAutoscalingConfig_ != null; } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } /** - * - * *
      * Autoscaling configuration for this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1559,7 +1285,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (clusterAutoscalingConfig_ != null) { output.writeMessage(1, getClusterAutoscalingConfig()); } @@ -1573,9 +1300,8 @@ public int getSerializedSize() { size = 0; if (clusterAutoscalingConfig_ != null) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, getClusterAutoscalingConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getClusterAutoscalingConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1585,18 +1311,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.ClusterConfig other = - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; + com.google.bigtable.admin.v2.Cluster.ClusterConfig other = (com.google.bigtable.admin.v2.Cluster.ClusterConfig) obj; if (hasClusterAutoscalingConfig() != other.hasClusterAutoscalingConfig()) return false; if (hasClusterAutoscalingConfig()) { - if (!getClusterAutoscalingConfig().equals(other.getClusterAutoscalingConfig())) - return false; + if (!getClusterAutoscalingConfig() + .equals(other.getClusterAutoscalingConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1619,93 +1344,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig 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.Cluster.ClusterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.ClusterConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.ClusterConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1715,41 +1436,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration for a cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Cluster.ClusterConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.ClusterConfig) com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); + com.google.bigtable.admin.v2.Cluster.ClusterConfig.class, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder.class); } // Construct using com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1763,9 +1482,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; } @java.lang.Override @@ -1784,11 +1503,8 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig build() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { - com.google.bigtable.admin.v2.Cluster.ClusterConfig result = - new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.Cluster.ClusterConfig result = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1796,10 +1512,9 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.clusterAutoscalingConfig_ = - clusterAutoscalingConfigBuilder_ == null - ? clusterAutoscalingConfig_ - : clusterAutoscalingConfigBuilder_.build(); + result.clusterAutoscalingConfig_ = clusterAutoscalingConfigBuilder_ == null + ? clusterAutoscalingConfig_ + : clusterAutoscalingConfigBuilder_.build(); } } @@ -1807,41 +1522,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.ClusterConfig re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Cluster.ClusterConfig) { - return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig) other); + return mergeFrom((com.google.bigtable.admin.v2.Cluster.ClusterConfig)other); } else { super.mergeFrom(other); return this; @@ -1849,8 +1561,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.ClusterConfig other) { - if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) return this; if (other.hasClusterAutoscalingConfig()) { mergeClusterAutoscalingConfig(other.getClusterAutoscalingConfig()); } @@ -1880,20 +1591,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getClusterAutoscalingConfigFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterAutoscalingConfigFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1903,68 +1613,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - clusterAutoscalingConfig_; + private com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig clusterAutoscalingConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> - clusterAutoscalingConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> clusterAutoscalingConfigBuilder_; /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return Whether the clusterAutoscalingConfig field is set. */ public boolean hasClusterAutoscalingConfig() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; * @return The clusterAutoscalingConfig. */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - getClusterAutoscalingConfig() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig getClusterAutoscalingConfig() { if (clusterAutoscalingConfigBuilder_ == null) { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } else { return clusterAutoscalingConfigBuilder_.getMessage(); } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder setClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder setClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1978,15 +1665,11 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder setClusterAutoscalingConfig( com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder builderForValue) { @@ -2000,24 +1683,17 @@ public Builder setClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public Builder mergeClusterAutoscalingConfig( - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { + public Builder mergeClusterAutoscalingConfig(com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig value) { if (clusterAutoscalingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && clusterAutoscalingConfig_ != null - && clusterAutoscalingConfig_ - != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + clusterAutoscalingConfig_ != null && + clusterAutoscalingConfig_ != com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance()) { getClusterAutoscalingConfigBuilder().mergeFrom(value); } else { clusterAutoscalingConfig_ = value; @@ -2030,15 +1706,11 @@ public Builder mergeClusterAutoscalingConfig( return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ public Builder clearClusterAutoscalingConfig() { bitField0_ = (bitField0_ & ~0x00000001); @@ -2051,71 +1723,52 @@ public Builder clearClusterAutoscalingConfig() { return this; } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder - getClusterAutoscalingConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder getClusterAutoscalingConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getClusterAutoscalingConfigFieldBuilder().getBuilder(); } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ - public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder - getClusterAutoscalingConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder getClusterAutoscalingConfigOrBuilder() { if (clusterAutoscalingConfigBuilder_ != null) { return clusterAutoscalingConfigBuilder_.getMessageOrBuilder(); } else { - return clusterAutoscalingConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() - : clusterAutoscalingConfig_; + return clusterAutoscalingConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.getDefaultInstance() : clusterAutoscalingConfig_; } } /** - * - * *
        * Autoscaling configuration for this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; - * + * .google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig cluster_autoscaling_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder> getClusterAutoscalingConfigFieldBuilder() { if (clusterAutoscalingConfigBuilder_ == null) { - clusterAutoscalingConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( - getClusterAutoscalingConfig(), getParentForChildren(), isClean()); + clusterAutoscalingConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfigOrBuilder>( + getClusterAutoscalingConfig(), + getParentForChildren(), + isClean()); clusterAutoscalingConfig_ = null; } return clusterAutoscalingConfigBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2128,12 +1781,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.ClusterConfig) private static final com.google.bigtable.admin.v2.Cluster.ClusterConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.ClusterConfig(); } @@ -2142,28 +1795,27 @@ public static com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2178,16 +1830,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.ClusterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface EncryptionConfigOrBuilder - extends + public interface EncryptionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster.EncryptionConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2202,13 +1852,10 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2223,14 +1870,12 @@ public interface EncryptionConfigOrBuilder
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); } /** - * - * *
    * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
    * cluster.
@@ -2238,48 +1883,43 @@ public interface EncryptionConfigOrBuilder
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
    */
-  public static final class EncryptionConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class EncryptionConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
       EncryptionConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use EncryptionConfig.newBuilder() to construct.
     private EncryptionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private EncryptionConfig() {
       kmsKeyName_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new EncryptionConfig();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
     }
 
     public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object kmsKeyName_ = "";
     /**
-     *
-     *
      * 
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2294,7 +1934,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ @java.lang.Override @@ -2303,15 +1942,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
      * Describes the Cloud KMS encryption key that will be used to protect the
      * destination Bigtable cluster. The requirements for this key are:
@@ -2326,15 +1964,16 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2343,7 +1982,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2355,7 +1993,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kmsKeyName_); } @@ -2379,15 +2018,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = - (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig other = (com.google.bigtable.admin.v2.Cluster.EncryptionConfig) obj; - if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2407,94 +2046,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster.EncryptionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2504,8 +2138,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected
      * cluster.
@@ -2513,33 +2145,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.admin.v2.Cluster.EncryptionConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster.EncryptionConfig)
         com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class,
-                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
+                com.google.bigtable.admin.v2.Cluster.EncryptionConfig.class, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder.class);
       }
 
       // Construct using com.google.bigtable.admin.v2.Cluster.EncryptionConfig.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -2549,9 +2181,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.admin.v2.InstanceProto
-            .internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor;
       }
 
       @java.lang.Override
@@ -2570,11 +2202,8 @@ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig build() {
 
       @java.lang.Override
       public com.google.bigtable.admin.v2.Cluster.EncryptionConfig buildPartial() {
-        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result =
-            new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.admin.v2.Cluster.EncryptionConfig result = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -2590,41 +2219,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster.EncryptionConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.admin.v2.Cluster.EncryptionConfig) {
-          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig) other);
+          return mergeFrom((com.google.bigtable.admin.v2.Cluster.EncryptionConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -2632,8 +2258,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster.EncryptionConfig other) {
-        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) return this;
         if (!other.getKmsKeyName().isEmpty()) {
           kmsKeyName_ = other.kmsKeyName_;
           bitField0_ |= 0x00000001;
@@ -2665,19 +2290,17 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  kmsKeyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                kmsKeyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2687,13 +2310,10 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object kmsKeyName_ = "";
       /**
-       *
-       *
        * 
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2708,13 +2328,13 @@ public Builder mergeFrom(
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -2723,8 +2343,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2739,14 +2357,15 @@ public java.lang.String getKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -2754,8 +2373,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2770,22 +2387,18 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2800,7 +2413,6 @@ public Builder setKmsKeyName(java.lang.String value) {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { @@ -2810,8 +2422,6 @@ public Builder clearKmsKeyName() { return this; } /** - * - * *
        * Describes the Cloud KMS encryption key that will be used to protect the
        * destination Bigtable cluster. The requirements for this key are:
@@ -2826,21 +2436,18 @@ public Builder clearKmsKeyName() {
        * 
* * string kms_key_name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2853,12 +2460,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster.EncryptionConfig) private static final com.google.bigtable.admin.v2.Cluster.EncryptionConfig DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster.EncryptionConfig(); } @@ -2867,28 +2474,27 @@ public static com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2903,21 +2509,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int configCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object config_; - public enum ConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CLUSTER_CONFIG(7), CONFIG_NOT_SET(0); private final int value; - private ConfigCase(int value) { this.value = value; } @@ -2933,38 +2536,32 @@ public static ConfigCase valueOf(int value) { public static ConfigCase forNumber(int value) { switch (value) { - case 7: - return CLUSTER_CONFIG; - case 0: - return CONFIG_NOT_SET; - default: - return null; + case 7: return CLUSTER_CONFIG; + case 0: return CONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConfigCase getConfigCase() { - return ConfigCase.forNumber(configCase_); + public ConfigCase + getConfigCase() { + return ConfigCase.forNumber( + configCase_); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2973,30 +2570,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3005,12 +2602,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int LOCATION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object location_ = ""; /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -3018,10 +2612,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ @java.lang.Override @@ -3030,15 +2621,14 @@ public java.lang.String getLocation() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; } } /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -3046,18 +2636,17 @@ public java.lang.String getLocation() {
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ @java.lang.Override - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3068,54 +2657,38 @@ public com.google.protobuf.ByteString getLocationBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } public static final int SERVE_NODES_FIELD_NUMBER = 4; private int serveNodes_ = 0; /** - * - * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -3125,14 +2698,11 @@ public int getServeNodes() { public static final int CLUSTER_CONFIG_FIELD_NUMBER = 7; /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -3140,26 +2710,21 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } /** - * - * *
    * Configuration for this cluster.
    * 
@@ -3169,7 +2734,7 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { @java.lang.Override public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder() { if (configCase_ == 7) { - return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; + return (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_; } return com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } @@ -3177,57 +2742,39 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon public static final int DEFAULT_STORAGE_TYPE_FIELD_NUMBER = 5; private int defaultStorageType_ = 0; /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ @java.lang.Override @@ -3235,45 +2782,30 @@ public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3285,7 +2817,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -3298,8 +2831,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (serveNodes_ != 0) { output.writeInt32(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(5, defaultStorageType_); } if (encryptionConfig_ != null) { @@ -3324,22 +2856,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, location_); } if (state_ != com.google.bigtable.admin.v2.Cluster.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (serveNodes_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, serveNodes_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, serveNodes_); } - if (defaultStorageType_ - != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, defaultStorageType_); + if (defaultStorageType_ != com.google.bigtable.admin.v2.StorageType.STORAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, defaultStorageType_); } if (encryptionConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getEncryptionConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getEncryptionConfig()); } if (configCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3349,26 +2883,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Cluster)) { return super.equals(obj); } com.google.bigtable.admin.v2.Cluster other = (com.google.bigtable.admin.v2.Cluster) obj; - if (!getName().equals(other.getName())) return false; - if (!getLocation().equals(other.getLocation())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getLocation() + .equals(other.getLocation())) return false; if (state_ != other.state_) return false; - if (getServeNodes() != other.getServeNodes()) return false; + if (getServeNodes() + != other.getServeNodes()) return false; if (defaultStorageType_ != other.defaultStorageType_) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { - if (!getEncryptionConfig().equals(other.getEncryptionConfig())) return false; + if (!getEncryptionConfig() + .equals(other.getEncryptionConfig())) return false; } if (!getConfigCase().equals(other.getConfigCase())) return false; switch (configCase_) { case 7: - if (!getClusterConfig().equals(other.getClusterConfig())) return false; + if (!getClusterConfig() + .equals(other.getClusterConfig())) return false; break; case 0: default: @@ -3411,103 +2950,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Cluster parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Cluster parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster 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.Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Cluster parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Cluster parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Cluster prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A resizable group of nodes in a particular cloud location, capable
    * of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
@@ -3516,32 +3051,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Cluster}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Cluster)
       com.google.bigtable.admin.v2.ClusterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Cluster.class,
-              com.google.bigtable.admin.v2.Cluster.Builder.class);
+              com.google.bigtable.admin.v2.Cluster.class, com.google.bigtable.admin.v2.Cluster.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Cluster.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -3565,9 +3101,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Cluster_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Cluster_descriptor;
     }
 
     @java.lang.Override
@@ -3587,9 +3123,7 @@ public com.google.bigtable.admin.v2.Cluster build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Cluster buildPartial() {
       com.google.bigtable.admin.v2.Cluster result = new com.google.bigtable.admin.v2.Cluster(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -3613,15 +3147,17 @@ private void buildPartial0(com.google.bigtable.admin.v2.Cluster result) {
         result.defaultStorageType_ = defaultStorageType_;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.encryptionConfig_ =
-            encryptionConfigBuilder_ == null ? encryptionConfig_ : encryptionConfigBuilder_.build();
+        result.encryptionConfig_ = encryptionConfigBuilder_ == null
+            ? encryptionConfig_
+            : encryptionConfigBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
       result.configCase_ = configCase_;
       result.config_ = this.config_;
-      if (configCase_ == 7 && clusterConfigBuilder_ != null) {
+      if (configCase_ == 7 &&
+          clusterConfigBuilder_ != null) {
         result.config_ = clusterConfigBuilder_.build();
       }
     }
@@ -3630,39 +3166,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.Cluster result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Cluster) {
-        return mergeFrom((com.google.bigtable.admin.v2.Cluster) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Cluster)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -3694,15 +3229,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Cluster other) {
         mergeEncryptionConfig(other.getEncryptionConfig());
       }
       switch (other.getConfigCase()) {
-        case CLUSTER_CONFIG:
-          {
-            mergeClusterConfig(other.getClusterConfig());
-            break;
-          }
-        case CONFIG_NOT_SET:
-          {
-            break;
-          }
+        case CLUSTER_CONFIG: {
+          mergeClusterConfig(other.getClusterConfig());
+          break;
+        }
+        case CONFIG_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -3730,56 +3263,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                location_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                serveNodes_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                defaultStorageType_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 40
-            case 50:
-              {
-                input.readMessage(
-                    getEncryptionConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(getClusterConfigFieldBuilder().getBuilder(), extensionRegistry);
-                configCase_ = 7;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              location_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              serveNodes_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              defaultStorageType_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 40
+            case 50: {
+              input.readMessage(
+                  getEncryptionConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getClusterConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              configCase_ = 7;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3789,12 +3317,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int configCase_ = 0;
     private java.lang.Object config_;
-
-    public ConfigCase getConfigCase() {
-      return ConfigCase.forNumber(configCase_);
+    public ConfigCase
+        getConfigCase() {
+      return ConfigCase.forNumber(
+          configCase_);
     }
 
     public Builder clearConfig() {
@@ -3808,21 +3336,19 @@ public Builder clearConfig() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3831,22 +3357,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3854,37 +3379,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3894,22 +3412,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3919,8 +3433,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object location_ = ""; /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3928,16 +3440,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ public java.lang.String getLocation() { java.lang.Object ref = location_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); location_ = s; return s; @@ -3946,8 +3456,6 @@ public java.lang.String getLocation() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3955,17 +3463,16 @@ public java.lang.String getLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - public com.google.protobuf.ByteString getLocationBytes() { + public com.google.protobuf.ByteString + getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); location_ = b; return b; } else { @@ -3973,8 +3480,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -3982,25 +3487,19 @@ public com.google.protobuf.ByteString getLocationBytes() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The location to set. * @return This builder for chaining. */ - public Builder setLocation(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocation( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } location_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -4008,10 +3507,7 @@ public Builder setLocation(java.lang.String value) {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearLocation() { @@ -4021,8 +3517,6 @@ public Builder clearLocation() { return this; } /** - * - * *
      * Immutable. The location where this cluster's nodes and storage reside. For best
      * performance, clients should be located as close as possible to this
@@ -4030,17 +3524,13 @@ public Builder clearLocation() {
      * form `projects/{project}/locations/{zone}`.
      * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @param value The bytes for location to set. * @return This builder for chaining. */ - public Builder setLocationBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLocationBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); location_ = value; bitField0_ |= 0x00000002; @@ -4050,33 +3540,22 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -4087,35 +3566,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster.State getState() { - com.google.bigtable.admin.v2.Cluster.State result = - com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); + com.google.bigtable.admin.v2.Cluster.State result = com.google.bigtable.admin.v2.Cluster.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Cluster.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -4129,16 +3597,11 @@ public Builder setState(com.google.bigtable.admin.v2.Cluster.State value) { return this; } /** - * - * *
      * Output only. The current state of the cluster.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -4148,17 +3611,14 @@ public Builder clearState() { return this; } - private int serveNodes_; + private int serveNodes_ ; /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ @java.lang.Override @@ -4166,15 +3626,12 @@ public int getServeNodes() { return serveNodes_; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @param value The serveNodes to set. * @return This builder for chaining. */ @@ -4186,15 +3643,12 @@ public Builder setServeNodes(int value) { return this; } /** - * - * *
      * The number of nodes allocated to this cluster. More nodes enable higher
      * throughput and more consistent performance.
      * 
* * int32 serve_nodes = 4; - * * @return This builder for chaining. */ public Builder clearServeNodes() { @@ -4205,19 +3659,13 @@ public Builder clearServeNodes() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> - clusterConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> clusterConfigBuilder_; /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ @java.lang.Override @@ -4225,14 +3673,11 @@ public boolean hasClusterConfig() { return configCase_ == 7; } /** - * - * *
      * Configuration for this cluster.
      * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ @java.lang.Override @@ -4250,8 +3695,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig() { } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4272,8 +3715,6 @@ public Builder setClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConf return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4292,8 +3733,6 @@ public Builder setClusterConfig( return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4302,13 +3741,10 @@ public Builder setClusterConfig( */ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterConfig value) { if (clusterConfigBuilder_ == null) { - if (configCase_ == 7 - && config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { - config_ = - com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder( - (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) - .mergeFrom(value) - .buildPartial(); + if (configCase_ == 7 && + config_ != com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance()) { + config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.newBuilder((com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_) + .mergeFrom(value).buildPartial(); } else { config_ = value; } @@ -4324,8 +3760,6 @@ public Builder mergeClusterConfig(com.google.bigtable.admin.v2.Cluster.ClusterCo return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4349,8 +3783,6 @@ public Builder clearClusterConfig() { return this; } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4361,8 +3793,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder getClusterConf return getClusterConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4381,8 +3811,6 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon } } /** - * - * *
      * Configuration for this cluster.
      * 
@@ -4390,19 +3818,14 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder> getClusterConfigFieldBuilder() { if (clusterConfigBuilder_ == null) { if (!(configCase_ == 7)) { config_ = com.google.bigtable.admin.v2.Cluster.ClusterConfig.getDefaultInstance(); } - clusterConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.ClusterConfig, - com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, - com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( + clusterConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.ClusterConfig, com.google.bigtable.admin.v2.Cluster.ClusterConfig.Builder, com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder>( (com.google.bigtable.admin.v2.Cluster.ClusterConfig) config_, getParentForChildren(), isClean()); @@ -4415,35 +3838,24 @@ public com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterCon private int defaultStorageType_ = 0; /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ - @java.lang.Override - public int getDefaultStorageTypeValue() { + @java.lang.Override public int getDefaultStorageTypeValue() { return defaultStorageType_; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for defaultStorageType to set. * @return This builder for chaining. */ @@ -4454,37 +3866,26 @@ public Builder setDefaultStorageTypeValue(int value) { return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ @java.lang.Override public com.google.bigtable.admin.v2.StorageType getDefaultStorageType() { - com.google.bigtable.admin.v2.StorageType result = - com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); + com.google.bigtable.admin.v2.StorageType result = com.google.bigtable.admin.v2.StorageType.forNumber(defaultStorageType_); return result == null ? com.google.bigtable.admin.v2.StorageType.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The defaultStorageType to set. * @return This builder for chaining. */ @@ -4498,17 +3899,12 @@ public Builder setDefaultStorageType(com.google.bigtable.admin.v2.StorageType va return this; } /** - * - * *
      * Immutable. The type of storage used by this cluster to serve its
      * parent instance's tables, unless explicitly overridden.
      * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearDefaultStorageType() { @@ -4520,61 +3916,41 @@ public Builder clearDefaultStorageType() { private com.google.bigtable.admin.v2.Cluster.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> - encryptionConfigBuilder_; + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ public com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder setEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder setEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4588,15 +3964,11 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder setEncryptionConfig( com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder builderForValue) { @@ -4610,23 +3982,17 @@ public Builder setEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public Builder mergeEncryptionConfig( - com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { + public Builder mergeEncryptionConfig(com.google.bigtable.admin.v2.Cluster.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && encryptionConfig_ != null - && encryptionConfig_ - != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + encryptionConfig_ != null && + encryptionConfig_ != com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance()) { getEncryptionConfigBuilder().mergeFrom(value); } else { encryptionConfig_ = value; @@ -4639,15 +4005,11 @@ public Builder mergeEncryptionConfig( return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ public Builder clearEncryptionConfig() { bitField0_ = (bitField0_ & ~0x00000040); @@ -4660,73 +4022,55 @@ public Builder clearEncryptionConfig() { return this; } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder - getEncryptionConfigBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder getEncryptionConfigBuilder() { bitField0_ |= 0x00000040; onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ - public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder - getEncryptionConfigOrBuilder() { + public com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { - return encryptionConfig_ == null - ? com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() - : encryptionConfig_; + return encryptionConfig_ == null ? + com.google.bigtable.admin.v2.Cluster.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** - * - * *
      * Immutable. The encryption configuration for CMEK-protected clusters.
      * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { - encryptionConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster.EncryptionConfig, - com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, - com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( - getEncryptionConfig(), getParentForChildren(), isClean()); + encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster.EncryptionConfig, com.google.bigtable.admin.v2.Cluster.EncryptionConfig.Builder, com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder>( + getEncryptionConfig(), + getParentForChildren(), + isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4736,12 +4080,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Cluster) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Cluster) private static final com.google.bigtable.admin.v2.Cluster DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Cluster(); } @@ -4750,27 +4094,27 @@ public static com.google.bigtable.admin.v2.Cluster getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cluster parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cluster parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4785,4 +4129,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Cluster getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java index 409f06a149..07329a642d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ClusterOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface ClusterOrBuilder - extends +public interface ClusterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Cluster) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -60,16 +37,11 @@ public interface ClusterOrBuilder
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The location. */ java.lang.String getLocation(); /** - * - * *
    * Immutable. The location where this cluster's nodes and storage reside. For best
    * performance, clients should be located as close as possible to this
@@ -77,84 +49,61 @@ public interface ClusterOrBuilder
    * form `projects/{project}/locations/{zone}`.
    * 
* - * - * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } - * - * + * string location = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } * @return The bytes for location. */ - com.google.protobuf.ByteString getLocationBytes(); + com.google.protobuf.ByteString + getLocationBytes(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the cluster.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Cluster.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Cluster.State getState(); /** - * - * *
    * The number of nodes allocated to this cluster. More nodes enable higher
    * throughput and more consistent performance.
    * 
* * int32 serve_nodes = 4; - * * @return The serveNodes. */ int getServeNodes(); /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return Whether the clusterConfig field is set. */ boolean hasClusterConfig(); /** - * - * *
    * Configuration for this cluster.
    * 
* * .google.bigtable.admin.v2.Cluster.ClusterConfig cluster_config = 7; - * * @return The clusterConfig. */ com.google.bigtable.admin.v2.Cluster.ClusterConfig getClusterConfig(); /** - * - * *
    * Configuration for this cluster.
    * 
@@ -164,74 +113,50 @@ public interface ClusterOrBuilder com.google.bigtable.admin.v2.Cluster.ClusterConfigOrBuilder getClusterConfigOrBuilder(); /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for defaultStorageType. */ int getDefaultStorageTypeValue(); /** - * - * *
    * Immutable. The type of storage used by this cluster to serve its
    * parent instance's tables, unless explicitly overridden.
    * 
* - * - * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.StorageType default_storage_type = 5 [(.google.api.field_behavior) = IMMUTABLE]; * @return The defaultStorageType. */ com.google.bigtable.admin.v2.StorageType getDefaultStorageType(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; * @return The encryptionConfig. */ com.google.bigtable.admin.v2.Cluster.EncryptionConfig getEncryptionConfig(); /** - * - * *
    * Immutable. The encryption configuration for CMEK-protected clusters.
    * 
* - * - * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; - * + * .google.bigtable.admin.v2.Cluster.EncryptionConfig encryption_config = 6 [(.google.api.field_behavior) = IMMUTABLE]; */ com.google.bigtable.admin.v2.Cluster.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java index ad25a5c4f1..bf05b806b4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamily.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A set of columns within a table which share a common configuration.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ -public final class ColumnFamily extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ColumnFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ColumnFamily) ColumnFamilyOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ColumnFamily.newBuilder() to construct. private ColumnFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ColumnFamily() {} + private ColumnFamily() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ColumnFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } public static final int GC_RULE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.GcRule gcRule_; /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ @java.lang.Override @@ -83,8 +62,6 @@ public boolean hasGcRule() { return gcRule_ != null; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -95,7 +72,6 @@ public boolean hasGcRule() {
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ @java.lang.Override @@ -103,8 +79,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_; } /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -122,7 +96,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -134,7 +107,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (gcRule_ != null) {
       output.writeMessage(1, getGcRule());
     }
@@ -148,7 +122,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (gcRule_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getGcRule());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getGcRule());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -158,17 +133,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.ColumnFamily)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.ColumnFamily other =
-        (com.google.bigtable.admin.v2.ColumnFamily) obj;
+    com.google.bigtable.admin.v2.ColumnFamily other = (com.google.bigtable.admin.v2.ColumnFamily) obj;
 
     if (hasGcRule() != other.hasGcRule()) return false;
     if (hasGcRule()) {
-      if (!getGcRule().equals(other.getGcRule())) return false;
+      if (!getGcRule()
+          .equals(other.getGcRule())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -190,136 +165,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily 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.ColumnFamily parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.ColumnFamily parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.ColumnFamily parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.ColumnFamily prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * A set of columns within a table which share a common configuration.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ColumnFamily} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ColumnFamily) com.google.bigtable.admin.v2.ColumnFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ColumnFamily.class, - com.google.bigtable.admin.v2.ColumnFamily.Builder.class); + com.google.bigtable.admin.v2.ColumnFamily.class, com.google.bigtable.admin.v2.ColumnFamily.Builder.class); } // Construct using com.google.bigtable.admin.v2.ColumnFamily.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; } @java.lang.Override @@ -354,11 +325,8 @@ public com.google.bigtable.admin.v2.ColumnFamily build() { @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { - com.google.bigtable.admin.v2.ColumnFamily result = - new com.google.bigtable.admin.v2.ColumnFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ColumnFamily result = new com.google.bigtable.admin.v2.ColumnFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -366,7 +334,9 @@ public com.google.bigtable.admin.v2.ColumnFamily buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.gcRule_ = gcRuleBuilder_ == null ? gcRule_ : gcRuleBuilder_.build(); + result.gcRule_ = gcRuleBuilder_ == null + ? gcRule_ + : gcRuleBuilder_.build(); } } @@ -374,39 +344,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ColumnFamily result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ColumnFamily) { - return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily) other); + return mergeFrom((com.google.bigtable.admin.v2.ColumnFamily)other); } else { super.mergeFrom(other); return this; @@ -444,19 +413,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getGcRuleFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getGcRuleFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,18 +435,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.GcRule gcRule_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - gcRuleBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> gcRuleBuilder_; /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -488,15 +451,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ public boolean hasGcRule() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -507,7 +467,6 @@ public boolean hasGcRule() {
      * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ public com.google.bigtable.admin.v2.GcRule getGcRule() { @@ -518,8 +477,6 @@ public com.google.bigtable.admin.v2.GcRule getGcRule() { } } /** - * - * *
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -545,8 +502,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -558,7 +513,8 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule value) {
      *
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
-    public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
+    public Builder setGcRule(
+        com.google.bigtable.admin.v2.GcRule.Builder builderForValue) {
       if (gcRuleBuilder_ == null) {
         gcRule_ = builderForValue.build();
       } else {
@@ -569,8 +525,6 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -584,9 +538,9 @@ public Builder setGcRule(com.google.bigtable.admin.v2.GcRule.Builder builderForV
      */
     public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       if (gcRuleBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && gcRule_ != null
-            && gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          gcRule_ != null &&
+          gcRule_ != com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) {
           getGcRuleBuilder().mergeFrom(value);
         } else {
           gcRule_ = value;
@@ -599,8 +553,6 @@ public Builder mergeGcRule(com.google.bigtable.admin.v2.GcRule value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -623,8 +575,6 @@ public Builder clearGcRule() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -642,8 +592,6 @@ public com.google.bigtable.admin.v2.GcRule.Builder getGcRuleBuilder() {
       return getGcRuleFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -659,12 +607,11 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
       if (gcRuleBuilder_ != null) {
         return gcRuleBuilder_.getMessageOrBuilder();
       } else {
-        return gcRule_ == null ? com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
+        return gcRule_ == null ?
+            com.google.bigtable.admin.v2.GcRule.getDefaultInstance() : gcRule_;
       }
     }
     /**
-     *
-     *
      * 
      * Garbage collection rule specified as a protobuf.
      * Must serialize to at most 500 bytes.
@@ -677,24 +624,21 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getGcRuleOrBuilder() {
      * .google.bigtable.admin.v2.GcRule gc_rule = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule,
-            com.google.bigtable.admin.v2.GcRule.Builder,
-            com.google.bigtable.admin.v2.GcRuleOrBuilder>
+        com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> 
         getGcRuleFieldBuilder() {
       if (gcRuleBuilder_ == null) {
-        gcRuleBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.GcRule,
-                com.google.bigtable.admin.v2.GcRule.Builder,
-                com.google.bigtable.admin.v2.GcRuleOrBuilder>(
-                getGcRule(), getParentForChildren(), isClean());
+        gcRuleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>(
+                getGcRule(),
+                getParentForChildren(),
+                isClean());
         gcRule_ = null;
       }
       return gcRuleBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -704,12 +648,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ColumnFamily)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ColumnFamily)
   private static final com.google.bigtable.admin.v2.ColumnFamily DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ColumnFamily();
   }
@@ -718,27 +662,27 @@ public static com.google.bigtable.admin.v2.ColumnFamily getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ColumnFamily parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ColumnFamily parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -753,4 +697,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.ColumnFamily getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
index dc09a53406..5f7fedc0d7 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ColumnFamilyOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface ColumnFamilyOrBuilder
-    extends
+public interface ColumnFamilyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ColumnFamily)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -36,13 +18,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return Whether the gcRule field is set. */ boolean hasGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
@@ -53,13 +32,10 @@ public interface ColumnFamilyOrBuilder
    * 
* * .google.bigtable.admin.v2.GcRule gc_rule = 1; - * * @return The gcRule. */ com.google.bigtable.admin.v2.GcRule getGcRule(); /** - * - * *
    * Garbage collection rule specified as a protobuf.
    * Must serialize to at most 500 bytes.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
new file mode 100644
index 0000000000..5ec192d3c2
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java
@@ -0,0 +1,61 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/admin/v2/common.proto
+
+package com.google.bigtable.admin.v2;
+
+public final class CommonProto {
+  private CommonProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistryLite registry) {
+  }
+
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+    registerAllExtensions(
+        (com.google.protobuf.ExtensionRegistryLite) registry);
+  }
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n%google/bigtable/admin/v2/common.proto\022" +
+      "\030google.bigtable.admin.v2\032\037google/protob" +
+      "uf/timestamp.proto\"\213\001\n\021OperationProgress" +
+      "\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time" +
+      "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" +
+      "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" +
+      "*=\n\013StorageType\022\034\n\030STORAGE_TYPE_UNSPECIF" +
+      "IED\020\000\022\007\n\003SSD\020\001\022\007\n\003HDD\020\002B\323\001\n\034com.google.b" +
+      "igtable.admin.v2B\013CommonProtoP\001Z=google." +
+      "golang.org/genproto/googleapis/bigtable/" +
+      "admin/v2;admin\252\002\036Google.Cloud.Bigtable.A" +
+      "dmin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2" +
+      "\352\002\"Google::Cloud::Bigtable::Admin::V2b\006p" +
+      "roto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_admin_v2_OperationProgress_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_admin_v2_OperationProgress_descriptor,
+        new java.lang.String[] { "ProgressPercent", "StartTime", "EndTime", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
similarity index 71%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
index 67eb1e8f72..b01b1201a9 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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].
@@ -28,48 +11,43 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata}
  */
-public final class CopyBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupMetadata)
     CopyBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupMetadata.newBuilder() to construct.
   private CopyBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupMetadata_descriptor;
+  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
+    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);
+            com.google.bigtable.admin.v2.CopyBackupMetadata.class, com.google.bigtable.admin.v2.CopyBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -77,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ @java.lang.Override @@ -86,15 +63,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -102,15 +78,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -121,14 +98,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -136,25 +110,18 @@ 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_; + return sourceBackupInfo_ == null ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } /** - * - * *
    * Information about the source backup that is being copied from.
    * 
@@ -163,16 +130,12 @@ public com.google.bigtable.admin.v2.BackupInfo getSourceBackupInfo() { */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder() { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } 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]
@@ -180,7 +143,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -188,8 +150,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -197,18 +157,13 @@ public boolean hasProgress() {
    * 
* * .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_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -219,13 +174,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -237,7 +189,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -260,10 +213,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
     if (sourceBackupInfo_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceBackupInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getSourceBackupInfo());
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getProgress());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -273,22 +228,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupMetadata)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.CopyBackupMetadata other =
-        (com.google.bigtable.admin.v2.CopyBackupMetadata) obj;
+    com.google.bigtable.admin.v2.CopyBackupMetadata other = (com.google.bigtable.admin.v2.CopyBackupMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (hasSourceBackupInfo() != other.hasSourceBackupInfo()) return false;
     if (hasSourceBackupInfo()) {
-      if (!getSourceBackupInfo().equals(other.getSourceBackupInfo())) return false;
+      if (!getSourceBackupInfo()
+          .equals(other.getSourceBackupInfo())) return false;
     }
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -316,104 +273,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(java.nio.ByteBuffer data)
+  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)
+      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)
+      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);
+    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)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.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)
+      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)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CopyBackupMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.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);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.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);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the google.longrunning.Operation returned by
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -421,32 +373,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CopyBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.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;
+    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
+      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);
+              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() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +419,9 @@ public Builder clear() {
     }
 
     @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;
+    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
@@ -487,11 +440,8 @@ public com.google.bigtable.admin.v2.CopyBackupMetadata build() {
 
     @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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CopyBackupMetadata result = new com.google.bigtable.admin.v2.CopyBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -502,11 +452,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupMetadata resul
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceBackupInfo_ =
-            sourceBackupInfoBuilder_ == null ? sourceBackupInfo_ : sourceBackupInfoBuilder_.build();
+        result.sourceBackupInfo_ = sourceBackupInfoBuilder_ == null
+            ? sourceBackupInfo_
+            : sourceBackupInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
@@ -514,39 +467,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupMetadata resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CopyBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -554,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CopyBackupMetadata other) {
-      if (other == com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CopyBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -593,32 +544,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(
-                    getSourceBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -628,13 +578,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -642,13 +589,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -657,8 +604,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -666,14 +611,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -681,8 +627,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -690,22 +634,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -713,7 +653,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearName() { @@ -723,8 +662,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created through the copy operation.
      * Values are of the form
@@ -732,14 +669,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -749,47 +684,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_; + 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 ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * 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_; + 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.
      * 
@@ -810,8 +732,6 @@ public Builder setSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -830,8 +750,6 @@ public Builder setSourceBackupInfo( return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -840,9 +758,9 @@ public Builder setSourceBackupInfo( */ public Builder mergeSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (sourceBackupInfoBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sourceBackupInfo_ != null - && sourceBackupInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sourceBackupInfo_ != null && + sourceBackupInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { getSourceBackupInfoBuilder().mergeFrom(value); } else { sourceBackupInfo_ = value; @@ -855,8 +773,6 @@ public Builder mergeSourceBackupInfo(com.google.bigtable.admin.v2.BackupInfo val return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -874,8 +790,6 @@ public Builder clearSourceBackupInfo() { return this; } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -888,8 +802,6 @@ public com.google.bigtable.admin.v2.BackupInfo.Builder getSourceBackupInfoBuilde return getSourceBackupInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -900,14 +812,11 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui if (sourceBackupInfoBuilder_ != null) { return sourceBackupInfoBuilder_.getMessageOrBuilder(); } else { - return sourceBackupInfo_ == null - ? com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() - : sourceBackupInfo_; + return sourceBackupInfo_ == null ? + com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance() : sourceBackupInfo_; } } /** - * - * *
      * Information about the source backup that is being copied from.
      * 
@@ -915,17 +824,14 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui * .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> + 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()); + 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_; @@ -933,13 +839,8 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui 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_; + 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]
@@ -947,15 +848,12 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBui
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 3; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -963,21 +861,16 @@ public boolean hasProgress() {
      * 
* * .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_; + 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]
@@ -1000,8 +893,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1022,8 +913,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1034,9 +923,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && progress_ != null
-            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1049,8 +938,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1070,8 +957,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1086,8 +971,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1100,14 +983,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -1117,24 +997,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
      * .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>
+        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());
+        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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1144,12 +1021,12 @@ public final Builder mergeUnknownFields(
       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();
   }
@@ -1158,27 +1035,27 @@ 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 {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CopyBackupMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1193,4 +1070,6 @@ public com.google.protobuf.Parser getParserForType() {
   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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
index 036ee7f15b..9dcd0e68d2 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupMetadataOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
+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
@@ -33,13 +15,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created through the copy operation.
    * Values are of the form
@@ -47,38 +26,30 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * string name = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * 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.
    * 
@@ -88,8 +59,6 @@ public interface CopyBackupMetadataOrBuilder com.google.bigtable.admin.v2.BackupInfoOrBuilder getSourceBackupInfoOrBuilder(); /** - * - * *
    * The progress of the
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup]
@@ -97,13 +66,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .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]
@@ -111,13 +77,10 @@ public interface CopyBackupMetadataOrBuilder
    * 
* * .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]
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
similarity index 72%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
index 744ce55927..2f3ba8b88c 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest}
  */
-public final class CopyBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CopyBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CopyBackupRequest)
     CopyBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CopyBackupRequest.newBuilder() to construct.
   private CopyBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CopyBackupRequest() {
     parent_ = "";
     backupId_ = "";
@@ -46,42 +28,35 @@ private CopyBackupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CopyBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CopyBackupRequest_descriptor;
+  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
+    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);
+            com.google.bigtable.admin.v2.CopyBackupRequest.class, com.google.bigtable.admin.v2.CopyBackupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,12 +98,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -141,7 +111,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -150,15 +119,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -169,15 +137,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -186,12 +155,9 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } public static final int SOURCE_BACKUP_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceBackup_ = ""; /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -202,10 +168,7 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ @java.lang.Override @@ -214,15 +177,14 @@ public java.lang.String getSourceBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; } } /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -233,18 +195,17 @@ public java.lang.String getSourceBackup() {
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -255,8 +216,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { 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
@@ -265,9 +224,7 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ @java.lang.Override @@ -275,8 +232,6 @@ 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
@@ -285,9 +240,7 @@ public boolean hasExpireTime() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ @java.lang.Override @@ -295,8 +248,6 @@ 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
@@ -305,8 +256,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -314,7 +264,6 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -326,7 +275,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -358,7 +308,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourceBackup_); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getExpireTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getExpireTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -368,20 +319,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CopyBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CopyBackupRequest other = - (com.google.bigtable.admin.v2.CopyBackupRequest) 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 (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; + if (!getSourceBackup() + .equals(other.getSourceBackup())) return false; if (hasExpireTime() != other.hasExpireTime()) return false; if (hasExpireTime()) { - if (!getExpireTime().equals(other.getExpireTime())) return false; + if (!getExpireTime() + .equals(other.getExpireTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -409,104 +363,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom(java.nio.ByteBuffer data) + 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) + 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) + 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); + 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) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.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) + 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) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CopyBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.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); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.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); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CopyBackup][google.bigtable.admin.v2.BigtableTableAdmin.CopyBackup].
@@ -514,32 +463,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CopyBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.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;
+    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
+      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);
+              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() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -556,9 +506,9 @@ public Builder clear() {
     }
 
     @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;
+    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
@@ -577,11 +527,8 @@ public com.google.bigtable.admin.v2.CopyBackupRequest build() {
 
     @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);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CopyBackupRequest result = new com.google.bigtable.admin.v2.CopyBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -598,7 +545,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupRequest result
         result.sourceBackup_ = sourceBackup_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.expireTime_ = expireTimeBuilder_ == null ? expireTime_ : expireTimeBuilder_.build();
+        result.expireTime_ = expireTimeBuilder_ == null
+            ? expireTime_
+            : expireTimeBuilder_.build();
       }
     }
 
@@ -606,39 +555,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CopyBackupRequest result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CopyBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CopyBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -691,37 +639,34 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                backupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceBackup_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              backupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sourceBackup_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getExpireTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -731,29 +676,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -762,25 +702,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -788,43 +725,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -834,25 +760,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the destination cluster that will contain the backup
      * copy. The cluster must already exists. Values are of the form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -862,8 +782,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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
@@ -874,13 +792,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -889,8 +807,6 @@ public 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
@@ -901,14 +817,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -916,8 +833,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * 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
@@ -928,22 +843,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the new backup. The `backup_id` along with `parent`
      * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -954,7 +865,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -964,8 +874,6 @@ public Builder clearBackupId() { 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
@@ -976,14 +884,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -993,8 +899,6 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { 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.
@@ -1005,16 +909,14 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ public java.lang.String getSourceBackup() { java.lang.Object ref = sourceBackup_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceBackup_ = s; return s; @@ -1023,8 +925,6 @@ public 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.
@@ -1035,17 +935,16 @@ public java.lang.String getSourceBackup() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - public com.google.protobuf.ByteString getSourceBackupBytes() { + public com.google.protobuf.ByteString + getSourceBackupBytes() { java.lang.Object ref = sourceBackup_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceBackup_ = b; return b; } else { @@ -1053,8 +952,6 @@ public com.google.protobuf.ByteString getSourceBackupBytes() { } } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1065,25 +962,19 @@ public com.google.protobuf.ByteString getSourceBackupBytes() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceBackup_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1094,10 +985,7 @@ public Builder setSourceBackup(java.lang.String value) {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceBackup() { @@ -1107,8 +995,6 @@ public Builder clearSourceBackup() { return this; } /** - * - * *
      * Required. The source backup to be copied from.
      * The source backup needs to be in READY state for it to be copied.
@@ -1119,17 +1005,13 @@ public Builder clearSourceBackup() {
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceBackup to set. * @return This builder for chaining. */ - public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceBackup_ = value; bitField0_ |= 0x00000004; @@ -1139,13 +1021,8 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1154,17 +1031,13 @@ public Builder setSourceBackupBytes(com.google.protobuf.ByteString value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1173,23 +1046,17 @@ public boolean hasExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ public com.google.protobuf.Timestamp getExpireTime() { if (expireTimeBuilder_ == null) { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } else { return expireTimeBuilder_.getMessage(); } } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1198,8 +1065,7 @@ public com.google.protobuf.Timestamp getExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -1215,8 +1081,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp 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
@@ -1225,10 +1089,10 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setExpireTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (expireTimeBuilder_ == null) { expireTime_ = builderForValue.build(); } else { @@ -1239,8 +1103,6 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal 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
@@ -1249,14 +1111,13 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && expireTime_ != null - && expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + expireTime_ != null && + expireTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getExpireTimeBuilder().mergeFrom(value); } else { expireTime_ = value; @@ -1269,8 +1130,6 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp 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
@@ -1279,8 +1138,7 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExpireTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1293,8 +1151,6 @@ public Builder clearExpireTime() { 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
@@ -1303,8 +1159,7 @@ public Builder clearExpireTime() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { bitField0_ |= 0x00000008; @@ -1312,8 +1167,6 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { 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
@@ -1322,21 +1175,17 @@ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { if (expireTimeBuilder_ != null) { return expireTimeBuilder_.getMessageOrBuilder(); } else { - return expireTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : expireTime_; + return expireTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } } /** - * - * *
      * Required. Required. The expiration time of the copied backup with
      * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -1345,28 +1194,24 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() {
      * by the backup.
      * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getExpireTimeFieldBuilder() { if (expireTimeBuilder_ == null) { - expireTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getExpireTime(), getParentForChildren(), isClean()); + expireTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getExpireTime(), + getParentForChildren(), + isClean()); expireTime_ = null; } return expireTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1376,12 +1221,12 @@ public final Builder mergeUnknownFields( 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(); } @@ -1390,27 +1235,27 @@ 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 { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CopyBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,4 +1270,6 @@ public com.google.protobuf.Parser getParserForType() { 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/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java index ba72ae1dfb..4ccafcff3e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CopyBackupRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 +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 exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the destination cluster that will contain the backup
    * copy. The cluster must already exists. Values are of the form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -69,13 +42,10 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the new backup. The `backup_id` along with `parent`
    * are combined as {parent}/backups/{backup_id} to create the full backup
@@ -86,14 +56,12 @@ public interface CopyBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -104,16 +72,11 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceBackup. */ java.lang.String getSourceBackup(); /** - * - * *
    * Required. The source backup to be copied from.
    * The source backup needs to be in READY state for it to be copied.
@@ -124,17 +87,13 @@ public interface CopyBackupRequestOrBuilder
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* - * - * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_backup = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceBackup. */ - com.google.protobuf.ByteString getSourceBackupBytes(); + com.google.protobuf.ByteString + getSourceBackupBytes(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -143,15 +102,11 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -160,15 +115,11 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** - * - * *
    * Required. Required. The expiration time of the copied backup with
    * microsecond granularity that must be at least 6 hours and at most 30 days
@@ -177,8 +128,7 @@ public interface CopyBackupRequestOrBuilder
    * by the backup.
    * 
* - * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.Timestamp expire_time = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java index 07fb8ea84b..b76e1d033a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ -public final class CreateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateAppProfileRequest) CreateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateAppProfileRequest.newBuilder() to construct. private CreateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateAppProfileRequest() { parent_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private CreateAppProfileRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -161,15 +129,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,17 +149,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int APP_PROFILE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -198,55 +162,39 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int IGNORE_WARNINGS_FIELD_NUMBER = 4; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -255,7 +203,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -296,10 +244,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_); } if (appProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getAppProfile()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -309,21 +259,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateAppProfileRequest other = - (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; + com.google.bigtable.admin.v2.CreateAppProfileRequest other = (com.google.bigtable.admin.v2.CreateAppProfileRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -344,142 +297,139 @@ public int hashCode() { hash = (53 * hash) + getAppProfile().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest 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.CreateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateAppProfileRequest) com.google.bigtable.admin.v2.CreateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateAppProfileRequest.class, - com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.CreateAppProfileRequest.class, com.google.bigtable.admin.v2.CreateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -496,9 +446,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; } @java.lang.Override @@ -517,11 +467,8 @@ public com.google.bigtable.admin.v2.CreateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.CreateAppProfileRequest result = - new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateAppProfileRequest result = new com.google.bigtable.admin.v2.CreateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -535,7 +482,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -546,39 +495,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -586,8 +534,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -630,37 +577,34 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000008; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -670,29 +614,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -701,25 +640,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -727,43 +663,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -773,25 +698,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new app profile.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -801,8 +720,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -810,13 +727,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -825,8 +742,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -834,14 +749,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -849,8 +765,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -858,22 +772,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -881,7 +791,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -891,8 +800,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new app profile within its
      * instance, e.g., just `myprofile` rather than
@@ -900,14 +807,12 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -917,61 +822,42 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -987,18 +873,15 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -1009,22 +892,18 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -1037,16 +916,12 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1059,16 +934,12 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000004; @@ -1076,65 +947,50 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile to be created.
      * Fields marked `OutputOnly` will be ignored.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1142,14 +998,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1161,14 +1014,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when creating the app profile.
      * 
* * bool ignore_warnings = 4; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1177,9 +1027,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1189,12 +1039,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateAppProfileRequest) private static final com.google.bigtable.admin.v2.CreateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateAppProfileRequest(); } @@ -1203,27 +1053,27 @@ public static com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1238,4 +1088,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java index 7136d83eed..53eb21e24d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateAppProfileRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateAppProfileRequestOrBuilder - extends +public interface CreateAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the new app profile.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -66,13 +39,10 @@ public interface CreateAppProfileRequestOrBuilder
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * Required. The ID to be used when referring to the new app profile within its
    * instance, e.g., just `myprofile` rather than
@@ -80,64 +50,47 @@ public interface CreateAppProfileRequestOrBuilder
    * 
* * string app_profile_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ boolean hasAppProfile(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ com.google.bigtable.admin.v2.AppProfile getAppProfile(); /** - * - * *
    * Required. The app profile to be created.
    * Fields marked `OutputOnly` will be ignored.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); /** - * - * *
    * If true, ignore safety checks when creating the app profile.
    * 
* * bool ignore_warnings = 4; - * * @return The ignoreWarnings. */ boolean getIgnoreWarnings(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java index 48d66de4b0..1b43ddb2e6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 operation returned by
  * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
  */
-public final class CreateBackupMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateBackupMetadata)
     CreateBackupMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupMetadata.newBuilder() to construct.
   private CreateBackupMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupMetadata() {
     name_ = "";
     sourceTable_ = "";
@@ -45,38 +27,33 @@ private CreateBackupMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-            com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -85,29 +62,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -116,18 +93,14 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int SOURCE_TABLE_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceTable_ = ""; /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The sourceTable. */ @java.lang.Override @@ -136,29 +109,29 @@ public java.lang.String getSourceTable() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; } } /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -169,14 +142,11 @@ public com.google.protobuf.ByteString getSourceTableBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -184,14 +154,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ @java.lang.Override @@ -199,8 +166,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -215,14 +180,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -230,14 +192,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ @java.lang.Override @@ -245,8 +204,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -259,7 +216,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -271,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -300,10 +257,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceTable_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -313,23 +272,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateBackupMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateBackupMetadata other = - (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; + com.google.bigtable.admin.v2.CreateBackupMetadata other = (com.google.bigtable.admin.v2.CreateBackupMetadata) obj; - if (!getName().equals(other.getName())) return false; - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -360,103 +322,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateBackupMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateBackupMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -464,32 +421,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateBackupMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateBackupMetadata)
       com.google.bigtable.admin.v2.CreateBackupMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateBackupMetadata.class,
-              com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateBackupMetadata.class, com.google.bigtable.admin.v2.CreateBackupMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateBackupMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -510,9 +468,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -531,11 +489,8 @@ public com.google.bigtable.admin.v2.CreateBackupMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupMetadata result =
-          new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateBackupMetadata result = new com.google.bigtable.admin.v2.CreateBackupMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -549,10 +504,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
         result.sourceTable_ = sourceTable_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -560,39 +519,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupMetadata res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -600,8 +558,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupMetadata other) {
-      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateBackupMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -644,37 +601,36 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                sourceTable_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              sourceTable_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -684,25 +640,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -711,21 +664,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -733,35 +685,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -771,21 +716,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the backup being created.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -795,20 +736,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceTable_ = ""; /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The sourceTable. */ public java.lang.String getSourceTable() { java.lang.Object ref = sourceTable_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceTable_ = s; return s; @@ -817,21 +756,20 @@ public java.lang.String getSourceTable() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ - public com.google.protobuf.ByteString getSourceTableBytes() { + public com.google.protobuf.ByteString + getSourceTableBytes() { java.lang.Object ref = sourceTable_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceTable_ = b; return b; } else { @@ -839,35 +777,28 @@ public com.google.protobuf.ByteString getSourceTableBytes() { } } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTable(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTable( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceTable_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @return This builder for chaining. */ public Builder clearSourceTable() { @@ -877,21 +808,17 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * The name of the table the backup is created from.
      * 
* * string source_table = 2; - * * @param value The bytes for sourceTable to set. * @return This builder for chaining. */ - public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceTableBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceTable_ = value; bitField0_ |= 0x00000002; @@ -901,33 +828,24 @@ public Builder setSourceTableBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -938,8 +856,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -960,15 +876,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 3; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -979,8 +894,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -989,9 +902,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1004,8 +917,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1023,8 +934,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1037,8 +946,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1049,12 +956,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -1062,17 +968,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1080,33 +983,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1117,8 +1011,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1139,15 +1031,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 4; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1158,8 +1049,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1168,9 +1057,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1183,8 +1072,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1202,8 +1089,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1216,8 +1101,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1228,12 +1111,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1241,24 +1123,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1268,12 +1147,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateBackupMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateBackupMetadata) private static final com.google.bigtable.admin.v2.CreateBackupMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateBackupMetadata(); } @@ -1282,27 +1161,27 @@ public static com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,4 +1196,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java index d522d95b6f..2e0e876d7c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupMetadataOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CreateBackupMetadataOrBuilder - extends +public interface CreateBackupMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateBackupMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the backup being created.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The sourceTable. */ java.lang.String getSourceTable(); /** - * - * *
    * The name of the table the backup is created from.
    * 
* * string source_table = 2; - * * @return The bytes for sourceTable. */ - com.google.protobuf.ByteString getSourceTableBytes(); + com.google.protobuf.ByteString + getSourceTableBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 3; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -109,32 +75,24 @@ public interface CreateBackupMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 4; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java index dc1ad7b4b7..e83d9acc1e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateBackupRequest}
  */
-public final class CreateBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateBackupRequest)
     CreateBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateBackupRequest.newBuilder() to construct.
   private CreateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateBackupRequest() {
     parent_ = "";
     backupId_ = "";
@@ -45,42 +27,35 @@ private CreateBackupRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateBackupRequest.class,
-            com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * 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
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -124,12 +97,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int BACKUP_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object backupId_ = ""; /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -140,7 +110,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ @java.lang.Override @@ -149,15 +118,14 @@ public java.lang.String getBackupId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; } } /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -168,15 +136,16 @@ public java.lang.String getBackupId() {
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -187,15 +156,11 @@ public com.google.protobuf.ByteString getBackupIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Backup backup_; /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -203,15 +168,11 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -219,14 +180,11 @@ public com.google.bigtable.admin.v2.Backup getBackup() { return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { @@ -234,7 +192,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -272,7 +230,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, backupId_); } if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getBackup()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -282,19 +241,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateBackupRequest other = - (com.google.bigtable.admin.v2.CreateBackupRequest) obj; + com.google.bigtable.admin.v2.CreateBackupRequest other = (com.google.bigtable.admin.v2.CreateBackupRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getBackupId().equals(other.getBackupId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getBackupId() + .equals(other.getBackupId())) return false; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -320,104 +281,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup].
@@ -425,32 +381,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateBackupRequest)
       com.google.bigtable.admin.v2.CreateBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateBackupRequest.class,
-              com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateBackupRequest.class, com.google.bigtable.admin.v2.CreateBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +423,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -487,11 +444,8 @@ public com.google.bigtable.admin.v2.CreateBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateBackupRequest result =
-          new com.google.bigtable.admin.v2.CreateBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateBackupRequest result = new com.google.bigtable.admin.v2.CreateBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -505,7 +459,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu
         result.backupId_ = backupId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build();
+        result.backup_ = backupBuilder_ == null
+            ? backup_
+            : backupBuilder_.build();
       }
     }
 
@@ -513,39 +469,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -553,8 +508,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateBackupRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -594,31 +548,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                backupId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              backupId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -628,29 +580,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * 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
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -659,25 +606,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * 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
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -685,43 +629,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. 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
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -731,25 +664,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * 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
      * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -759,8 +686,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object backupId_ = ""; /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -771,13 +696,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ public java.lang.String getBackupId() { java.lang.Object ref = backupId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); backupId_ = s; return s; @@ -786,8 +711,6 @@ public java.lang.String getBackupId() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -798,14 +721,15 @@ public java.lang.String getBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - public com.google.protobuf.ByteString getBackupIdBytes() { + public com.google.protobuf.ByteString + getBackupIdBytes() { java.lang.Object ref = backupId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); backupId_ = b; return b; } else { @@ -813,8 +737,6 @@ public com.google.protobuf.ByteString getBackupIdBytes() { } } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -825,22 +747,18 @@ public com.google.protobuf.ByteString getBackupIdBytes() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The backupId to set. * @return This builder for chaining. */ - public Builder setBackupId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } backupId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -851,7 +769,6 @@ public Builder setBackupId(java.lang.String value) {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearBackupId() { @@ -861,8 +778,6 @@ public Builder clearBackupId() { return this; } /** - * - * *
      * Required. The id of the backup to be created. The `backup_id` along with
      * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -873,14 +788,12 @@ public Builder clearBackupId() {
      * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for backupId to set. * @return This builder for chaining. */ - public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); backupId_ = value; bitField0_ |= 0x00000002; @@ -890,35 +803,24 @@ public Builder setBackupIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Backup backup_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> - backupBuilder_; + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_; /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -929,14 +831,11 @@ public com.google.bigtable.admin.v2.Backup getBackup() { } } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { @@ -952,16 +851,14 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -972,20 +869,17 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -998,14 +892,11 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1018,14 +909,11 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000004; @@ -1033,51 +921,43 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to create.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1087,12 +967,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateBackupRequest) private static final com.google.bigtable.admin.v2.CreateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateBackupRequest(); } @@ -1101,27 +981,27 @@ public static com.google.bigtable.admin.v2.CreateBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1136,4 +1016,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java index 055f036a19..2592e79d6f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateBackupRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CreateBackupRequestOrBuilder - extends +public interface CreateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. 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
    * of the form `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -69,13 +42,10 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The backupId. */ java.lang.String getBackupId(); /** - * - * *
    * Required. The id of the backup to be created. The `backup_id` along with
    * the parent `parent` are combined as {parent}/backups/{backup_id} to create
@@ -86,46 +56,35 @@ public interface CreateBackupRequestOrBuilder
    * 
* * string backup_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for backupId. */ - com.google.protobuf.ByteString getBackupIdBytes(); + com.google.protobuf.ByteString + getBackupIdBytes(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.bigtable.admin.v2.Backup getBackup(); /** - * - * *
    * Required. The backup to create.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java index 57fa50711b..a9a42cb964 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadata.java @@ -1,97 +1,74 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ -public final class CreateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata) CreateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterMetadata.newBuilder() to construct. private CreateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateClusterMetadata() {} + private CreateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } - public interface TableProgressOrBuilder - extends + public interface TableProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ long getEstimatedSizeBytes(); /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -99,75 +76,71 @@ public interface TableProgressOrBuilder
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ long getEstimatedCopiedBytes(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState(); } /** - * - * *
    * Progress info for copying a table's data to the new cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class TableProgress extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class TableProgress extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) TableProgressOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use TableProgress.newBuilder() to construct. private TableProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private TableProgress() { state_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TableProgress(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - /** Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** STATE_UNSPECIFIED = 0; */ + /** + * Protobuf enum {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + * STATE_UNSPECIFIED = 0; + */ STATE_UNSPECIFIED(0), /** - * - * *
        * The table has not yet begun copying to the new cluster.
        * 
@@ -176,8 +149,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -186,8 +157,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COPYING(2), /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -196,8 +165,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ COMPLETED(3), /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -210,11 +177,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       UNRECOGNIZED(-1),
       ;
 
-      /** STATE_UNSPECIFIED = 0; */
+      /**
+       * STATE_UNSPECIFIED = 0;
+       */
       public static final int STATE_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * The table has not yet begun copying to the new cluster.
        * 
@@ -223,8 +190,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
        * The table is actively being copied to the new cluster.
        * 
@@ -233,8 +198,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COPYING_VALUE = 2; /** - * - * *
        * The table has been fully copied to the new cluster.
        * 
@@ -243,8 +206,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETED_VALUE = 3; /** - * - * *
        * The table was deleted before it finished copying to the new cluster.
        * Note that tables deleted after completion will stay marked as
@@ -255,6 +216,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int CANCELLED_VALUE = 4;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -279,55 +241,51 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_UNSPECIFIED;
-          case 1:
-            return PENDING;
-          case 2:
-            return COPYING;
-          case 3:
-            return COMPLETED;
-          case 4:
-            return CANCELLED;
-          default:
-            return null;
+          case 0: return STATE_UNSPECIFIED;
+          case 1: return PENDING;
+          case 2: return COPYING;
+          case 3: return COMPLETED;
+          case 4: return CANCELLED;
+          default: return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap
+          internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          State> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final State[] VALUES = values();
 
-      public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+      public static State valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -347,14 +305,11 @@ private State(int value) {
     public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER = 2;
     private long estimatedSizeBytes_ = 0L;
     /**
-     *
-     *
      * 
      * Estimate of the size of the table to be copied.
      * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -365,8 +320,6 @@ public long getEstimatedSizeBytes() { public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER = 3; private long estimatedCopiedBytes_ = 0L; /** - * - * *
      * Estimate of the number of bytes copied so far for this table.
      * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -374,7 +327,6 @@ public long getEstimatedSizeBytes() {
      * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -386,29 +338,21 @@ public long getEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,17 +364,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (estimatedSizeBytes_ != 0L) { output.writeInt64(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { output.writeInt64(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } getUnknownFields().writeTo(output); @@ -443,16 +385,16 @@ public int getSerializedSize() { size = 0; if (estimatedSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, estimatedSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, estimatedSizeBytes_); } if (estimatedCopiedBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, estimatedCopiedBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, estimatedCopiedBytes_); } - if (state_ - != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State - .STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -462,16 +404,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other = (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) obj; - if (getEstimatedSizeBytes() != other.getEstimatedSizeBytes()) return false; - if (getEstimatedCopiedBytes() != other.getEstimatedCopiedBytes()) return false; + if (getEstimatedSizeBytes() + != other.getEstimatedSizeBytes()) return false; + if (getEstimatedCopiedBytes() + != other.getEstimatedCopiedBytes()) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -485,9 +428,11 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ESTIMATED_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedSizeBytes()); hash = (37 * hash) + ESTIMATED_COPIED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEstimatedCopiedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedCopiedBytes()); hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_; hash = (29 * hash) + getUnknownFields().hashCode(); @@ -496,95 +441,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress 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.CreateClusterMetadata.TableProgress parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - 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.CreateClusterMetadata.TableProgress 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.CreateClusterMetadata.TableProgress parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -594,42 +533,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Progress info for copying a table's data to the new cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata.TableProgress} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.class, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -641,16 +577,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance(); + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance(); } @java.lang.Override @@ -664,17 +598,13 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress build() @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = - new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { + private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.estimatedSizeBytes_ = estimatedSizeBytes_; @@ -691,53 +621,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) { - return mergeFrom( - (com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { - if (other - == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress other) { + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()) return this; if (other.getEstimatedSizeBytes() != 0L) { setEstimatedSizeBytes(other.getEstimatedSizeBytes()); } @@ -773,31 +696,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 16: - { - estimatedSizeBytes_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 16 - case 24: - { - estimatedCopiedBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 24 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 16: { + estimatedSizeBytes_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 16 + case 24: { + estimatedCopiedBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 24 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -807,19 +726,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long estimatedSizeBytes_; + private long estimatedSizeBytes_ ; /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return The estimatedSizeBytes. */ @java.lang.Override @@ -827,14 +742,11 @@ public long getEstimatedSizeBytes() { return estimatedSizeBytes_; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @param value The estimatedSizeBytes to set. * @return This builder for chaining. */ @@ -846,14 +758,11 @@ public Builder setEstimatedSizeBytes(long value) { return this; } /** - * - * *
        * Estimate of the size of the table to be copied.
        * 
* * int64 estimated_size_bytes = 2; - * * @return This builder for chaining. */ public Builder clearEstimatedSizeBytes() { @@ -863,10 +772,8 @@ public Builder clearEstimatedSizeBytes() { return this; } - private long estimatedCopiedBytes_; + private long estimatedCopiedBytes_ ; /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -874,7 +781,6 @@ public Builder clearEstimatedSizeBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return The estimatedCopiedBytes. */ @java.lang.Override @@ -882,8 +788,6 @@ public long getEstimatedCopiedBytes() { return estimatedCopiedBytes_; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -891,7 +795,6 @@ public long getEstimatedCopiedBytes() {
        * 
* * int64 estimated_copied_bytes = 3; - * * @param value The estimatedCopiedBytes to set. * @return This builder for chaining. */ @@ -903,8 +806,6 @@ public Builder setEstimatedCopiedBytes(long value) { return this; } /** - * - * *
        * Estimate of the number of bytes copied so far for this table.
        * This will eventually reach 'estimated_size_bytes' unless the table copy
@@ -912,7 +813,6 @@ public Builder setEstimatedCopiedBytes(long value) {
        * 
* * int64 estimated_copied_bytes = 3; - * * @return This builder for chaining. */ public Builder clearEstimatedCopiedBytes() { @@ -925,16 +825,13 @@ public Builder clearEstimatedCopiedBytes() { private int state_ = 0; /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -946,26 +843,19 @@ public Builder setStateValue(int value) { } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State getState() { - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber( - state_); - return result == null - ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State result = com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.forNumber(state_); + return result == null ? com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State.UNRECOGNIZED : result; } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState( - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { + public Builder setState(com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State value) { if (value == null) { throw new NullPointerException(); } @@ -976,7 +866,6 @@ public Builder setState( } /** * .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4; - * * @return This builder for chaining. */ public Builder clearState() { @@ -985,7 +874,6 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -998,44 +886,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata.TableProgress) - private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress(); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstance() { + public static com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TableProgress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TableProgress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1047,23 +932,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -1071,25 +953,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -1098,22 +973,17 @@ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -1121,14 +991,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -1136,8 +1003,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -1152,14 +1017,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -1167,14 +1029,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -1182,8 +1041,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -1196,44 +1053,32 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } public static final int TABLES_FIELD_NUMBER = 4; - private static final class TablesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - .getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - internalGetTables() { + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; + private com.google.protobuf.MapField + internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TablesDefaultEntryHolder.defaultEntry); } return tables_; } - public int getTablesCount() { return internalGetTables().getMap().size(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1245,28 +1090,23 @@ public int getTablesCount() {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().getMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1278,19 +1118,13 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getMap(); } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1302,27 +1136,20 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -1334,19 +1161,14 @@ public boolean containsTables(java.lang.String key) {
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1354,7 +1176,6 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTable } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1366,7 +1187,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -1376,8 +1198,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (finishTime_ != null) { output.writeMessage(3, getFinishTime()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetTables(), TablesDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetTables(), + TablesDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -1388,26 +1214,26 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); - } - for (java.util.Map.Entry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - entry : internalGetTables().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - TablesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, tables__); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); + } + for (java.util.Map.Entry entry + : internalGetTables().getMap().entrySet()) { + com.google.protobuf.MapEntry + tables__ = TablesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, tables__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1417,27 +1243,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterMetadata other = - (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; + com.google.bigtable.admin.v2.CreateClusterMetadata other = (com.google.bigtable.admin.v2.CreateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } - if (!internalGetTables().equals(other.internalGetTables())) return false; + if (!internalGetTables().equals( + other.internalGetTables())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1471,155 +1300,153 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata 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.CreateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterMetadata) com.google.bigtable.admin.v2.CreateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableTables(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterMetadata.class, - com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateClusterMetadata.class, com.google.bigtable.admin.v2.CreateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1644,9 +1471,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; } @java.lang.Override @@ -1665,11 +1492,8 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateClusterMetadata result = - new com.google.bigtable.admin.v2.CreateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterMetadata result = new com.google.bigtable.admin.v2.CreateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1677,15 +1501,19 @@ public com.google.bigtable.admin.v2.CreateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.tables_ = internalGetTables(); @@ -1697,39 +1525,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -1737,8 +1564,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -1748,7 +1574,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterMetadata othe if (other.hasFinishTime()) { mergeFinishTime(other.getFinishTime()); } - internalGetMutableTables().mergeFrom(other.internalGetTables()); + internalGetMutableTables().mergeFrom( + other.internalGetTables()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1776,46 +1603,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry< - java.lang.String, - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables__ = - input.readMessage( - TablesDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableTables() - .getMutableMap() - .put(tables__.getKey(), tables__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + tables__ = input.readMessage( + TablesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableTables().getMutableMap().put( + tables__.getKey(), tables__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1825,52 +1648,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1891,8 +1700,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequ return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1911,8 +1718,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1921,10 +1726,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1937,8 +1741,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateClusterRe return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1956,8 +1758,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1970,27 +1770,21 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateCluster operation.
      * 
@@ -1998,17 +1792,14 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateClusterRequest, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder, - com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateClusterRequest, com.google.bigtable.admin.v2.CreateClusterRequest.Builder, com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -2016,47 +1807,34 @@ public com.google.bigtable.admin.v2.CreateClusterRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2077,15 +1855,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -2096,8 +1873,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2106,9 +1881,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -2121,8 +1896,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2140,8 +1913,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2154,8 +1925,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2166,14 +1935,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -2181,17 +1947,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -2199,47 +1962,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2260,15 +2010,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -2279,8 +2028,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2289,9 +2036,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -2304,8 +2051,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2323,8 +2068,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2337,8 +2080,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2349,14 +2090,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -2364,40 +2102,34 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - tables_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables_; + private com.google.protobuf.MapField internalGetTables() { if (tables_ == null) { - return com.google.protobuf.MapField.emptyMapField(TablesDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + TablesDefaultEntryHolder.defaultEntry); } return tables_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + private com.google.protobuf.MapField internalGetMutableTables() { if (tables_ == null) { - tables_ = com.google.protobuf.MapField.newMapField(TablesDefaultEntryHolder.defaultEntry); + tables_ = com.google.protobuf.MapField.newMapField( + TablesDefaultEntryHolder.defaultEntry); } if (!tables_.isMutable()) { tables_ = tables_.copy(); @@ -2406,13 +2138,10 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { onChanged(); return tables_; } - public int getTablesCount() { return internalGetTables().getMap().size(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2424,28 +2153,23 @@ public int getTablesCount() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public boolean containsTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetTables().getMap().containsKey(key); } - /** Use {@link #getTablesMap()} instead. */ + /** + * Use {@link #getTablesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTables() { + public java.util.Map getTables() { return getTablesMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2457,19 +2181,13 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - getTablesMap() { + public java.util.Map getTablesMap() { return internalGetTables().getMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2481,27 +2199,20 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress - getTablesOrDefault( - java.lang.String key, - /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + public /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( + java.lang.String key, + /* nullable */ +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2513,33 +2224,26 @@ public boolean containsTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - map = internalGetTables().getMap(); + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetTables().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearTables() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableTables().getMutableMap().clear(); + internalGetMutableTables().getMutableMap() + .clear(); return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2551,28 +2255,25 @@ public Builder clearTables() {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ - public Builder removeTables(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableTables().getMutableMap().remove(key); + public Builder removeTables( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableTables().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> + public java.util.Map getMutableTables() { bitField0_ |= 0x00000008; return internalGetMutableTables().getMutableMap(); } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2584,26 +2285,19 @@ public Builder removeTables(java.lang.String key) {
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putTables( java.lang.String key, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableTables().getMutableMap().put(key, value); + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableTables().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Keys: the full `name` of each table that existed in the instance when
      * CreateCluster was first called, i.e.
@@ -2615,21 +2309,18 @@ public Builder putTables(
      * newly-created cluster so far.
      * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ public Builder putAllTables( - java.util.Map< - java.lang.String, com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> - values) { - internalGetMutableTables().getMutableMap().putAll(values); + java.util.Map values) { + internalGetMutableTables().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2639,12 +2330,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterMetadata) private static final com.google.bigtable.admin.v2.CreateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterMetadata(); } @@ -2653,27 +2344,27 @@ public static com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2688,4 +2379,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java index ccd247493d..0268892546 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateClusterMetadataOrBuilder - extends +public interface CreateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
* * .google.bigtable.admin.v2.CreateClusterRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateClusterRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateCluster operation.
    * 
@@ -59,32 +35,24 @@ public interface CreateClusterMetadataOrBuilder com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -129,8 +89,6 @@ public interface CreateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -142,14 +100,10 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ int getTablesCount(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -161,18 +115,17 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; + */ + boolean containsTables( + java.lang.String key); + /** + * Use {@link #getTablesMap()} instead. */ - boolean containsTables(java.lang.String key); - /** Use {@link #getTablesMap()} instead. */ @java.lang.Deprecated java.util.Map - getTables(); + getTables(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -184,15 +137,11 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ java.util.Map - getTablesMap(); + getTablesMap(); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -204,18 +153,14 @@ public interface CreateClusterMetadataOrBuilder
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); +com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress defaultValue); /** - * - * *
    * Keys: the full `name` of each table that existed in the instance when
    * CreateCluster was first called, i.e.
@@ -227,9 +172,7 @@ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrDefa
    * newly-created cluster so far.
    * 
* - * - * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; - * + * map<string, .google.bigtable.admin.v2.CreateClusterMetadata.TableProgress> tables = 4; */ com.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress getTablesOrThrow( java.lang.String key); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java index 500fed6ab7..23d4646131 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ -public final class CreateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateClusterRequest) CreateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateClusterRequest.newBuilder() to construct. private CreateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateClusterRequest() { parent_ = ""; clusterId_ = ""; @@ -44,42 +26,35 @@ private CreateClusterRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -123,12 +96,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -136,7 +106,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ @java.lang.Override @@ -145,15 +114,14 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -161,15 +129,16 @@ public java.lang.String getClusterId() {
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -180,16 +149,12 @@ public com.google.protobuf.ByteString getClusterIdBytes() { public static final int CLUSTER_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -197,16 +162,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -214,15 +175,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -230,7 +188,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -242,7 +199,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -268,7 +226,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_); } if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getCluster()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -278,19 +237,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateClusterRequest other = - (com.google.bigtable.admin.v2.CreateClusterRequest) obj; + com.google.bigtable.admin.v2.CreateClusterRequest other = (com.google.bigtable.admin.v2.CreateClusterRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -317,135 +278,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest 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.CreateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateClusterRequest) com.google.bigtable.admin.v2.CreateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateClusterRequest.class, - com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.CreateClusterRequest.class, com.google.bigtable.admin.v2.CreateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -461,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; } @java.lang.Override @@ -482,11 +439,8 @@ public com.google.bigtable.admin.v2.CreateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.CreateClusterRequest result = - new com.google.bigtable.admin.v2.CreateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateClusterRequest result = new com.google.bigtable.admin.v2.CreateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,7 +454,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res result.clusterId_ = clusterId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } } @@ -508,39 +464,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -548,8 +503,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateClusterRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -589,31 +543,29 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - clusterId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + clusterId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -623,29 +575,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -654,25 +601,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -680,43 +624,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -726,25 +659,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the new cluster.
      * Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -754,8 +681,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -763,13 +688,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -778,8 +703,6 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -787,14 +710,15 @@ public java.lang.String getClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -802,8 +726,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -811,22 +733,18 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -834,7 +752,6 @@ public Builder setClusterId(java.lang.String value) {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -844,8 +761,6 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new cluster within its instance,
      * e.g., just `mycluster` rather than
@@ -853,14 +768,12 @@ public Builder clearClusterId() {
      * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; @@ -870,61 +783,42 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -940,18 +834,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -962,22 +853,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -990,16 +877,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1012,16 +895,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000004; @@ -1029,57 +908,45 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The cluster to be created.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1089,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateClusterRequest) private static final com.google.bigtable.admin.v2.CreateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateClusterRequest(); } @@ -1103,27 +970,27 @@ public static com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1138,4 +1005,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java index f5cc680bf0..5acbfb75b7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateClusterRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateClusterRequestOrBuilder - extends +public interface CreateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the new cluster.
    * Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -66,13 +39,10 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Required. The ID to be used when referring to the new cluster within its instance,
    * e.g., just `mycluster` rather than
@@ -80,49 +50,38 @@ public interface CreateClusterRequestOrBuilder
    * 
* * string cluster_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.bigtable.admin.v2.Cluster getCluster(); /** - * - * *
    * Required. The cluster to be created.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java index e740777743..534f5ac489 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ -public final class CreateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceMetadata) CreateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceMetadata.newBuilder() to construct. private CreateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CreateInstanceMetadata() {} + private CreateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
@@ -105,22 +77,17 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -128,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -143,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -159,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -174,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -189,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -203,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -235,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceMetadata other = - (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; + com.google.bigtable.admin.v2.CreateInstanceMetadata other = (com.google.bigtable.admin.v2.CreateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -300,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceMetadata) com.google.bigtable.admin.v2.CreateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceMetadata.class, - com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceMetadata.class, com.google.bigtable.admin.v2.CreateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; } @java.lang.Override @@ -473,11 +428,8 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceMetadata result = - new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceMetadata result = new com.google.bigtable.admin.v2.CreateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,15 +437,19 @@ public com.google.bigtable.admin.v2.CreateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -501,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -541,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -578,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.CreateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -678,8 +620,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceReq return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -698,8 +638,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -708,10 +646,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -724,8 +661,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateInstanceR return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -743,8 +678,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -757,27 +690,21 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this CreateInstance operation.
      * 
@@ -785,17 +712,14 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.CreateInstanceRequest, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, - com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.CreateInstanceRequest, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder, com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -803,47 +727,34 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest.Builder getOriginalReq private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -864,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -883,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -893,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -908,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -927,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -941,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -953,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -968,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -986,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1047,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1066,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1076,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1091,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1110,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1124,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1136,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1151,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1178,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceMetadata) private static final com.google.bigtable.admin.v2.CreateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceMetadata(); } @@ -1192,27 +1060,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1227,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java index 017fb9208f..32c5925514 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateInstanceMetadataOrBuilder - extends +public interface CreateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
* * .google.bigtable.admin.v2.CreateInstanceRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateInstanceRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateInstance operation.
    * 
@@ -59,32 +35,24 @@ public interface CreateInstanceMetadataOrBuilder com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface CreateInstanceMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java similarity index 63% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java index 78d905eda9..9db22e018e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.CreateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ -public final class CreateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateInstanceRequest) CreateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateInstanceRequest.newBuilder() to construct. private CreateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateInstanceRequest() { parent_ = ""; instanceId_ = ""; @@ -44,52 +26,46 @@ private CreateInstanceRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -98,32 +74,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -132,12 +106,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int INSTANCE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object instanceId_ = ""; /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -145,7 +116,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ @java.lang.Override @@ -154,15 +124,14 @@ public java.lang.String getInstanceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; } } /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -170,15 +139,16 @@ public java.lang.String getInstanceId() {
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ @java.lang.Override - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -189,17 +159,12 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { public static final int INSTANCE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -207,78 +172,58 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int CLUSTERS_FIELD_NUMBER = 4; - private static final class ClustersDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Cluster> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Cluster> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField - clusters_; - - private com.google.protobuf.MapField - internalGetClusters() { + internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } - public int getClustersCount() { return internalGetClusters().getMap().size(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -287,26 +232,23 @@ public int getClustersCount() {
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().getMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -315,17 +257,13 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getMap(); } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -334,25 +272,20 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -361,15 +294,12 @@ public java.util.Map get
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); if (!map.containsKey(key)) { @@ -379,7 +309,6 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +320,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -401,8 +331,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (instance_ != null) { output.writeMessage(3, getInstance()); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetClusters(), ClustersDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetClusters(), + ClustersDefaultEntryHolder.defaultEntry, + 4); getUnknownFields().writeTo(output); } @@ -419,18 +353,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, instanceId_); } if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getInstance()); } - for (java.util.Map.Entry entry : - internalGetClusters().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusters().getMap().entrySet()) { com.google.protobuf.MapEntry - clusters__ = - ClustersDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, clusters__); + clusters__ = ClustersDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, clusters__); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -440,21 +374,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateInstanceRequest other = - (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; + com.google.bigtable.admin.v2.CreateInstanceRequest other = (com.google.bigtable.admin.v2.CreateInstanceRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getInstanceId().equals(other.getInstanceId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getInstanceId() + .equals(other.getInstanceId())) return false; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } - if (!internalGetClusters().equals(other.internalGetClusters())) return false; + if (!internalGetClusters().equals( + other.internalGetClusters())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -484,155 +421,153 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.CreateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.CreateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateInstanceRequest) com.google.bigtable.admin.v2.CreateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return internalGetClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { case 4: return internalGetMutableClusters(); default: - throw new RuntimeException("Invalid map field number: " + number); + throw new RuntimeException( + "Invalid map field number: " + number); } } - @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateInstanceRequest.class, - com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.CreateInstanceRequest.class, com.google.bigtable.admin.v2.CreateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -649,9 +584,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor; } @java.lang.Override @@ -670,11 +605,8 @@ public com.google.bigtable.admin.v2.CreateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.CreateInstanceRequest result = - new com.google.bigtable.admin.v2.CreateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateInstanceRequest result = new com.google.bigtable.admin.v2.CreateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -688,7 +620,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re result.instanceId_ = instanceId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.clusters_ = internalGetClusters(); @@ -700,39 +634,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -740,8 +673,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateInstanceRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -755,7 +687,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateInstanceRequest othe if (other.hasInstance()) { mergeInstance(other.getInstance()); } - internalGetMutableClusters().mergeFrom(other.internalGetClusters()); + internalGetMutableClusters().mergeFrom( + other.internalGetClusters()); bitField0_ |= 0x00000008; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -783,44 +716,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - instanceId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - com.google.protobuf.MapEntry - clusters__ = - input.readMessage( - ClustersDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableClusters() - .getMutableMap() - .put(clusters__.getKey(), clusters__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + instanceId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + com.google.protobuf.MapEntry + clusters__ = input.readMessage( + ClustersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableClusters().getMutableMap().put( + clusters__.getKey(), clusters__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -830,28 +757,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -860,24 +782,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -885,41 +804,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -929,24 +837,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project in which to create the new instance.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -956,8 +858,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object instanceId_ = ""; /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -965,13 +865,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ public java.lang.String getInstanceId() { java.lang.Object ref = instanceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceId_ = s; return s; @@ -980,8 +880,6 @@ public java.lang.String getInstanceId() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -989,14 +887,15 @@ public java.lang.String getInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - public com.google.protobuf.ByteString getInstanceIdBytes() { + public com.google.protobuf.ByteString + getInstanceIdBytes() { java.lang.Object ref = instanceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); instanceId_ = b; return b; } else { @@ -1004,8 +903,6 @@ public com.google.protobuf.ByteString getInstanceIdBytes() { } } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1013,22 +910,18 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } instanceId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1036,7 +929,6 @@ public Builder setInstanceId(java.lang.String value) {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInstanceId() { @@ -1046,8 +938,6 @@ public Builder clearInstanceId() { return this; } /** - * - * *
      * Required. The ID to be used when referring to the new instance within its project,
      * e.g., just `myinstance` rather than
@@ -1055,14 +945,12 @@ public Builder clearInstanceId() {
      * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for instanceId to set. * @return This builder for chaining. */ - public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInstanceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceId_ = value; bitField0_ |= 0x00000002; @@ -1072,61 +960,42 @@ public Builder setInstanceIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -1142,18 +1011,15 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -1164,22 +1030,18 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -1192,16 +1054,12 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1214,16 +1072,12 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000004; @@ -1231,71 +1085,58 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The instance to create.
      * Fields marked `OutputOnly` must be left blank.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; } - private com.google.protobuf.MapField - clusters_; - + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.Cluster> clusters_; private com.google.protobuf.MapField internalGetClusters() { if (clusters_ == null) { - return com.google.protobuf.MapField.emptyMapField(ClustersDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + ClustersDefaultEntryHolder.defaultEntry); } return clusters_; } - private com.google.protobuf.MapField internalGetMutableClusters() { if (clusters_ == null) { - clusters_ = - com.google.protobuf.MapField.newMapField(ClustersDefaultEntryHolder.defaultEntry); + clusters_ = com.google.protobuf.MapField.newMapField( + ClustersDefaultEntryHolder.defaultEntry); } if (!clusters_.isMutable()) { clusters_ = clusters_.copy(); @@ -1304,13 +1145,10 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { onChanged(); return clusters_; } - public int getClustersCount() { return internalGetClusters().getMap().size(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1319,26 +1157,23 @@ public int getClustersCount() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public boolean containsClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusters().getMap().containsKey(key); } - /** Use {@link #getClustersMap()} instead. */ + /** + * Use {@link #getClustersMap()} instead. + */ @java.lang.Override @java.lang.Deprecated public java.util.Map getClusters() { return getClustersMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1347,17 +1182,13 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.Map getClustersMap() { return internalGetClusters().getMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1366,25 +1197,20 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Cluster getClustersOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Cluster defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1393,15 +1219,12 @@ public java.util.Map get
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusters().getMap(); if (!map.containsKey(key)) { @@ -1409,15 +1232,13 @@ public com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String } return map.get(key); } - public Builder clearClusters() { bitField0_ = (bitField0_ & ~0x00000008); - internalGetMutableClusters().getMutableMap().clear(); + internalGetMutableClusters().getMutableMap() + .clear(); return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1426,18 +1247,18 @@ public Builder clearClusters() {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder removeClusters(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusters().getMutableMap().remove(key); + public Builder removeClusters( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusters().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusters() { @@ -1445,8 +1266,6 @@ public Builder removeClusters(java.lang.String key) { return internalGetMutableClusters().getMutableMap(); } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1455,24 +1274,19 @@ public Builder removeClusters(java.lang.String key) {
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cluster value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusters().getMutableMap().put(key, value); + public Builder putClusters( + java.lang.String key, + com.google.bigtable.admin.v2.Cluster value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusters().getMutableMap() + .put(key, value); bitField0_ |= 0x00000008; return this; } /** - * - * *
      * Required. The clusters to be created within the instance, mapped by desired
      * cluster ID, e.g., just `mycluster` rather than
@@ -1481,19 +1295,18 @@ public Builder putClusters(java.lang.String key, com.google.bigtable.admin.v2.Cl
      * Currently, at most four clusters can be specified.
      * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllClusters( java.util.Map values) { - internalGetMutableClusters().getMutableMap().putAll(values); + internalGetMutableClusters().getMutableMap() + .putAll(values); bitField0_ |= 0x00000008; return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1503,12 +1316,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateInstanceRequest) private static final com.google.bigtable.admin.v2.CreateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateInstanceRequest(); } @@ -1517,27 +1330,27 @@ public static com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1552,4 +1365,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java index bb363f5f50..32a0f3c3b8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateInstanceRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface CreateInstanceRequestOrBuilder - extends +public interface CreateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the project in which to create the new instance.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -64,13 +37,10 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The instanceId. */ java.lang.String getInstanceId(); /** - * - * *
    * Required. The ID to be used when referring to the new instance within its project,
    * e.g., just `myinstance` rather than
@@ -78,58 +48,42 @@ public interface CreateInstanceRequestOrBuilder
    * 
* * string instance_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for instanceId. */ - com.google.protobuf.ByteString getInstanceIdBytes(); + com.google.protobuf.ByteString + getInstanceIdBytes(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.bigtable.admin.v2.Instance getInstance(); /** - * - * *
    * Required. The instance to create.
    * Fields marked `OutputOnly` must be left blank.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -138,14 +92,10 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ int getClustersCount(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -154,17 +104,17 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + boolean containsClusters( + java.lang.String key); + /** + * Use {@link #getClustersMap()} instead. */ - boolean containsClusters(java.lang.String key); - /** Use {@link #getClustersMap()} instead. */ @java.lang.Deprecated - java.util.Map getClusters(); + java.util.Map + getClusters(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -173,14 +123,11 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.Map getClustersMap(); + java.util.Map + getClustersMap(); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -189,18 +136,14 @@ public interface CreateInstanceRequestOrBuilder
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ /* nullable */ - com.google.bigtable.admin.v2.Cluster getClustersOrDefault( +com.google.bigtable.admin.v2.Cluster getClustersOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Cluster defaultValue); +com.google.bigtable.admin.v2.Cluster defaultValue); /** - * - * *
    * Required. The clusters to be created within the instance, mapped by desired
    * cluster ID, e.g., just `mycluster` rather than
@@ -209,9 +152,8 @@ com.google.bigtable.admin.v2.Cluster getClustersOrDefault(
    * Currently, at most four clusters can be specified.
    * 
* - * - * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; - * + * map<string, .google.bigtable.admin.v2.Cluster> clusters = 4 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.admin.v2.Cluster getClustersOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Cluster getClustersOrThrow( + java.lang.String key); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java index 36fdc7c87b..8df5196895 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 metadata for the Operation returned by CreateTableFromSnapshot.
  *
@@ -32,52 +15,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
  */
-public final class CreateTableFromSnapshotMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
     CreateTableFromSnapshotMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotMetadata.newBuilder() to construct.
-  private CreateTableFromSnapshotMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private CreateTableFromSnapshotMetadata() {}
+  private CreateTableFromSnapshotMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
   }
 
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -85,26 +63,19 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
@@ -113,24 +84,18 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-      getOriginalRequestOrBuilder() {
-    return originalRequest_ == null
-        ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-        : originalRequest_;
+  public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
+    return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
   }
 
   public static final int REQUEST_TIME_FIELD_NUMBER = 2;
   private com.google.protobuf.Timestamp requestTime_;
   /**
-   *
-   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -138,14 +103,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -153,8 +115,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -169,14 +129,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -184,14 +141,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -199,8 +153,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -213,7 +165,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,7 +176,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -245,13 +197,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -261,25 +216,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -310,104 +267,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata 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.CreateTableFromSnapshotMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by CreateTableFromSnapshot.
    *
@@ -419,32 +370,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -468,14 +420,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance();
     }
 
@@ -490,28 +441,28 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
       }
     }
 
@@ -519,39 +470,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,9 +509,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata other) {
-      if (other
-          == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -597,31 +545,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -631,54 +581,40 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
      * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -686,8 +622,7 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRe
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder setOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder setOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -701,8 +636,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -722,8 +655,6 @@ public Builder setOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -731,14 +662,11 @@ public Builder setOriginalRequest(
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public Builder mergeOriginalRequest(
-        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
+    public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest value) {
       if (originalRequestBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && originalRequest_ != null
-            && originalRequest_
-                != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest
-                    .getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          originalRequest_ != null &&
+          originalRequest_ != com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) {
           getOriginalRequestBuilder().mergeFrom(value);
         } else {
           originalRequest_ = value;
@@ -751,8 +679,6 @@ public Builder mergeOriginalRequest(
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -771,8 +697,6 @@ public Builder clearOriginalRequest() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -780,15 +704,12 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder
-        getOriginalRequestBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder getOriginalRequestBuilder() {
       bitField0_ |= 0x00000001;
       onChanged();
       return getOriginalRequestFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -796,19 +717,15 @@ public Builder clearOriginalRequest() {
      *
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
-    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-        getOriginalRequestOrBuilder() {
+    public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder() {
       if (originalRequestBuilder_ != null) {
         return originalRequestBuilder_.getMessageOrBuilder();
       } else {
-        return originalRequest_ == null
-            ? com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()
-            : originalRequest_;
+        return originalRequest_ == null ?
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance() : originalRequest_;
       }
     }
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this CreateTableFromSnapshot
      * operation.
@@ -817,17 +734,14 @@ public Builder clearOriginalRequest() {
      * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder> 
         getOriginalRequestFieldBuilder() {
       if (originalRequestBuilder_ == null) {
-        originalRequestBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder,
-                com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
-                getOriginalRequest(), getParentForChildren(), isClean());
+        originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder>(
+                getOriginalRequest(),
+                getParentForChildren(),
+                isClean());
         originalRequest_ = null;
       }
       return originalRequestBuilder_;
@@ -835,47 +749,34 @@ public Builder clearOriginalRequest() {
 
     private com.google.protobuf.Timestamp requestTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        requestTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_;
     /**
-     *
-     *
      * 
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -896,15 +797,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -915,8 +815,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -925,9 +823,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -940,8 +838,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -959,8 +855,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -973,8 +867,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -985,14 +877,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -1000,17 +889,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -1018,47 +904,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1079,15 +952,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1098,8 +970,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1108,9 +978,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1123,8 +993,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1142,8 +1010,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1156,8 +1022,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1168,14 +1032,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1183,24 +1044,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1210,13 +1068,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) - private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata(); } @@ -1225,27 +1082,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,4 +1117,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.CreateTableFromSnapshotMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java index f9d8284fc5..b33b0422f9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotMetadataOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CreateTableFromSnapshotMetadataOrBuilder - extends +public interface CreateTableFromSnapshotMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableFromSnapshotMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
    * 
* * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this CreateTableFromSnapshot
    * operation.
@@ -59,36 +35,27 @@ public interface CreateTableFromSnapshotMetadataOrBuilder
    *
    * .google.bigtable.admin.v2.CreateTableFromSnapshotRequest original_request = 1;
    */
-  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder
-      getOriginalRequestOrBuilder();
+  com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder getOriginalRequestOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -98,32 +65,24 @@ public interface CreateTableFromSnapshotMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java index 03c9da72c9..2d3dcf1f77 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
@@ -33,17 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
  */
-public final class CreateTableFromSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableFromSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
     CreateTableFromSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableFromSnapshotRequest.newBuilder() to construct.
-  private CreateTableFromSnapshotRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private CreateTableFromSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTableFromSnapshotRequest() {
     parent_ = "";
     tableId_ = "";
@@ -52,41 +33,34 @@ private CreateTableFromSnapshotRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableFromSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -95,32 +69,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,19 +101,15 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * 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]; - * * @return The tableId. */ @java.lang.Override @@ -150,30 +118,30 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * 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]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -182,12 +150,9 @@ public com.google.protobuf.ByteString getTableIdBytes() { } public static final int SOURCE_SNAPSHOT_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object sourceSnapshot_ = ""; /** - * - * *
    * 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
@@ -195,10 +160,7 @@ public com.google.protobuf.ByteString getTableIdBytes() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ @java.lang.Override @@ -207,15 +169,14 @@ public java.lang.String getSourceSnapshot() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; } } /** - * - * *
    * 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
@@ -223,18 +184,17 @@ public java.lang.String getSourceSnapshot() {
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -243,7 +203,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +214,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -291,17 +251,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = - (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; + com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other = (com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTableId().equals(other.getTableId())) return false; - if (!getSourceSnapshot().equals(other.getSourceSnapshot())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; + if (!getSourceSnapshot() + .equals(other.getSourceSnapshot())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -325,104 +287,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest 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.CreateTableFromSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
@@ -435,32 +391,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableFromSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableFromSnapshotRequest)
       com.google.bigtable.admin.v2.CreateTableFromSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class,
-              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.class, com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -472,9 +429,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableFromSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -493,11 +450,8 @@ public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result =
-          new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest result = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -519,39 +473,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableFromSnapshotR
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,8 +512,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -602,31 +554,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                sourceSnapshot_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              sourceSnapshot_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,28 +584,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -666,24 +609,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -691,41 +631,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -735,24 +664,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -762,21 +685,19 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * 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]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -785,22 +706,21 @@ public java.lang.String getTableId() { } } /** - * - * *
      * 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]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -808,37 +728,30 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * 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]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * 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]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -848,22 +761,18 @@ public Builder clearTableId() { return this; } /** - * - * *
      * 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]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -873,8 +782,6 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object sourceSnapshot_ = ""; /** - * - * *
      * 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
@@ -882,16 +789,14 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ public java.lang.String getSourceSnapshot() { java.lang.Object ref = sourceSnapshot_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceSnapshot_ = s; return s; @@ -900,8 +805,6 @@ public java.lang.String getSourceSnapshot() { } } /** - * - * *
      * 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
@@ -909,17 +812,16 @@ public java.lang.String getSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ - public com.google.protobuf.ByteString getSourceSnapshotBytes() { + public com.google.protobuf.ByteString + getSourceSnapshotBytes() { java.lang.Object ref = sourceSnapshot_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceSnapshot_ = b; return b; } else { @@ -927,8 +829,6 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() { } } /** - * - * *
      * 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
@@ -936,25 +836,19 @@ public com.google.protobuf.ByteString getSourceSnapshotBytes() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshot(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshot( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * 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
@@ -962,10 +856,7 @@ public Builder setSourceSnapshot(java.lang.String value) {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearSourceSnapshot() { @@ -975,8 +866,6 @@ public Builder clearSourceSnapshot() { return this; } /** - * - * *
      * 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
@@ -984,26 +873,22 @@ public Builder clearSourceSnapshot() {
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for sourceSnapshot to set. * @return This builder for chaining. */ - public Builder setSourceSnapshotBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceSnapshotBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceSnapshot_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1013,12 +898,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) private static final com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest(); } @@ -1027,27 +912,27 @@ public static com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTableFromSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTableFromSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,4 +947,6 @@ public com.google.protobuf.Parser getParserForTy public com.google.bigtable.admin.v2.CreateTableFromSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java index 767bffe049..027ffbf38d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableFromSnapshotRequestOrBuilder.java @@ -1,89 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CreateTableFromSnapshotRequestOrBuilder - extends +public interface CreateTableFromSnapshotRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableFromSnapshotRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The 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]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * 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]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * 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
@@ -91,16 +59,11 @@ public interface CreateTableFromSnapshotRequestOrBuilder
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The sourceSnapshot. */ java.lang.String getSourceSnapshot(); /** - * - * *
    * 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
@@ -108,11 +71,9 @@ public interface CreateTableFromSnapshotRequestOrBuilder
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string source_snapshot = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for sourceSnapshot. */ - com.google.protobuf.ByteString getSourceSnapshotBytes(); + com.google.protobuf.ByteString + getSourceSnapshotBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java index ae89f8028b..4755e25ec1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest}
  */
-public final class CreateTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest)
     CreateTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateTableRequest.newBuilder() to construct.
   private CreateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateTableRequest() {
     parent_ = "";
     tableId_ = "";
@@ -46,98 +28,86 @@ private CreateTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.CreateTableRequest.class,
-            com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
   }
 
-  public interface SplitOrBuilder
-      extends
+  public interface SplitOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest.Split)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ com.google.protobuf.ByteString getKey(); } /** - * - * *
    * An initial split point for a newly created table.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Split extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Split extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.CreateTableRequest.Split) SplitOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Split.newBuilder() to construct. private Split(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Split() { key_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Split(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } public static final int KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Row key to use as an initial tablet boundary.
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -146,7 +116,6 @@ public com.google.protobuf.ByteString getKey() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!key_.isEmpty()) { output.writeBytes(1, key_); } @@ -172,7 +142,8 @@ public int getSerializedSize() { size = 0; if (!key_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, key_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -182,15 +153,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split)) { return super.equals(obj); } - com.google.bigtable.admin.v2.CreateTableRequest.Split other = - (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; + com.google.bigtable.admin.v2.CreateTableRequest.Split other = (com.google.bigtable.admin.v2.CreateTableRequest.Split) obj; - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -210,94 +181,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split 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.CreateTableRequest.Split parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.CreateTableRequest.Split parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -307,41 +273,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * An initial split point for a newly created table.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest.Split} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest.Split) com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.CreateTableRequest.Split.class, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); + com.google.bigtable.admin.v2.CreateTableRequest.Split.class, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder.class); } // Construct using com.google.bigtable.admin.v2.CreateTableRequest.Split.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -351,9 +315,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_Split_descriptor; } @java.lang.Override @@ -372,11 +336,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split build() { @java.lang.Override public com.google.bigtable.admin.v2.CreateTableRequest.Split buildPartial() { - com.google.bigtable.admin.v2.CreateTableRequest.Split result = - new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.CreateTableRequest.Split result = new com.google.bigtable.admin.v2.CreateTableRequest.Split(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -392,41 +353,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest.Split public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest.Split) { - return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split) other); + return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest.Split)other); } else { super.mergeFrom(other); return this; @@ -434,8 +392,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest.Split other) { - if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance()) return this; if (other.getKey() != com.google.protobuf.ByteString.EMPTY) { setKey(other.getKey()); } @@ -465,19 +422,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - key_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + key_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -487,19 +442,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -507,35 +458,27 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Row key to use as an initial tablet boundary.
        * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -544,7 +487,6 @@ public Builder clearKey() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -557,12 +499,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest.Split) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest.Split) private static final com.google.bigtable.admin.v2.CreateTableRequest.Split DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest.Split(); } @@ -571,28 +513,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Split parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Split parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -607,24 +548,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.CreateTableRequest.Split getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -633,32 +569,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -667,12 +601,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -680,7 +611,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -689,15 +619,14 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -705,15 +634,16 @@ public java.lang.String getTableId() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -724,15 +654,11 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int TABLE_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.Table table_; /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -740,15 +666,11 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -756,14 +678,11 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -771,12 +690,9 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { } public static final int INITIAL_SPLITS_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private java.util.List initialSplits_; /** - * - * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -799,13 +715,10 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
-      getInitialSplitsList() {
+  public java.util.List getInitialSplitsList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -828,13 +741,11 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getInitialSplitsOrBuilderList() {
     return initialSplits_;
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -861,8 +772,6 @@ public int getInitialSplitsCount() {
     return initialSplits_.size();
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -889,8 +798,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
     return initialSplits_.get(index);
   }
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -919,7 +826,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -931,7 +837,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
     }
@@ -960,10 +867,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableId_);
     }
     if (table_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTable());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getTable());
     }
     for (int i = 0; i < initialSplits_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, initialSplits_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, initialSplits_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -973,21 +882,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.CreateTableRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.CreateTableRequest other =
-        (com.google.bigtable.admin.v2.CreateTableRequest) obj;
+    com.google.bigtable.admin.v2.CreateTableRequest other = (com.google.bigtable.admin.v2.CreateTableRequest) obj;
 
-    if (!getParent().equals(other.getParent())) return false;
-    if (!getTableId().equals(other.getTableId())) return false;
+    if (!getParent()
+        .equals(other.getParent())) return false;
+    if (!getTableId()
+        .equals(other.getTableId())) return false;
     if (hasTable() != other.hasTable()) return false;
     if (hasTable()) {
-      if (!getTable().equals(other.getTable())) return false;
+      if (!getTable()
+          .equals(other.getTable())) return false;
     }
-    if (!getInitialSplitsList().equals(other.getInitialSplitsList())) return false;
+    if (!getInitialSplitsList()
+        .equals(other.getInitialSplitsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1016,104 +928,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest 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.CreateTableRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.CreateTableRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.CreateTableRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.CreateTableRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
@@ -1121,32 +1028,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.CreateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.CreateTableRequest)
       com.google.bigtable.admin.v2.CreateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.CreateTableRequest.class,
-              com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.CreateTableRequest.class, com.google.bigtable.admin.v2.CreateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.CreateTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1169,9 +1077,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_CreateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -1190,18 +1098,14 @@ public com.google.bigtable.admin.v2.CreateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.CreateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.CreateTableRequest result =
-          new com.google.bigtable.admin.v2.CreateTableRequest(this);
+      com.google.bigtable.admin.v2.CreateTableRequest result = new com.google.bigtable.admin.v2.CreateTableRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.CreateTableRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.CreateTableRequest result) {
       if (initialSplitsBuilder_ == null) {
         if (((bitField0_ & 0x00000008) != 0)) {
           initialSplits_ = java.util.Collections.unmodifiableList(initialSplits_);
@@ -1222,7 +1126,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
         result.tableId_ = tableId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
       }
     }
 
@@ -1230,39 +1136,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.CreateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.CreateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.CreateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1270,8 +1175,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.CreateTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -1303,10 +1207,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.CreateTableRequest other)
             initialSplitsBuilder_ = null;
             initialSplits_ = other.initialSplits_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            initialSplitsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getInitialSplitsFieldBuilder()
-                    : null;
+            initialSplitsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getInitialSplitsFieldBuilder() : null;
           } else {
             initialSplitsBuilder_.addAllMessages(other.initialSplits_);
           }
@@ -1338,45 +1241,42 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                com.google.bigtable.admin.v2.CreateTableRequest.Split m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
-                        extensionRegistry);
-                if (initialSplitsBuilder_ == null) {
-                  ensureInitialSplitsIsMutable();
-                  initialSplits_.add(m);
-                } else {
-                  initialSplitsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              com.google.bigtable.admin.v2.CreateTableRequest.Split m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.CreateTableRequest.Split.parser(),
+                      extensionRegistry);
+              if (initialSplitsBuilder_ == null) {
+                ensureInitialSplitsIsMutable();
+                initialSplits_.add(m);
+              } else {
+                initialSplitsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1386,28 +1286,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -1416,24 +1311,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -1441,41 +1333,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -1485,24 +1366,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance in which to create the table.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -1512,8 +1387,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1521,13 +1394,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -1536,8 +1409,6 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1545,14 +1416,15 @@ public java.lang.String getTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -1560,8 +1432,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1569,22 +1439,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1592,7 +1458,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -1602,8 +1467,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The name by which the new table should be referred to within the
      * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -1611,14 +1474,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -1628,35 +1489,24 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Table table_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> - tableBuilder_; + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_; /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -1667,14 +1517,11 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -1690,16 +1537,14 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -1710,20 +1555,17 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -1736,14 +1578,11 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1756,14 +1595,11 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000004; @@ -1771,70 +1607,54 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The Table to create.
      * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; } private java.util.List initialSplits_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInitialSplitsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - initialSplits_ = - new java.util.ArrayList( - initialSplits_); + initialSplits_ = new java.util.ArrayList(initialSplits_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.CreateTableRequest.Split, - com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, - com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> - initialSplitsBuilder_; + com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> initialSplitsBuilder_; /** - * - * *
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1856,8 +1676,7 @@ private void ensureInitialSplitsIsMutable() {
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsList() {
+    public java.util.List getInitialSplitsList() {
       if (initialSplitsBuilder_ == null) {
         return java.util.Collections.unmodifiableList(initialSplits_);
       } else {
@@ -1865,8 +1684,6 @@ private void ensureInitialSplitsIsMutable() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1896,8 +1713,6 @@ public int getInitialSplitsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1927,8 +1742,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(in
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -1965,8 +1778,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2000,8 +1811,6 @@ public Builder setInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2037,8 +1846,6 @@ public Builder addInitialSplits(com.google.bigtable.admin.v2.CreateTableRequest.
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2075,8 +1882,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2110,8 +1915,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2145,8 +1948,6 @@ public Builder addInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2169,11 +1970,11 @@ public Builder addInitialSplits(
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public Builder addAllInitialSplits(
-        java.lang.Iterable
-            values) {
+        java.lang.Iterable values) {
       if (initialSplitsBuilder_ == null) {
         ensureInitialSplitsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, initialSplits_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, initialSplits_);
         onChanged();
       } else {
         initialSplitsBuilder_.addAllMessages(values);
@@ -2181,8 +1982,6 @@ public Builder addAllInitialSplits(
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2215,8 +2014,6 @@ public Builder clearInitialSplits() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2249,8 +2046,6 @@ public Builder removeInitialSplits(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2277,8 +2072,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
       return getInitialSplitsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2303,14 +2096,11 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder getInitialS
     public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitialSplitsOrBuilder(
         int index) {
       if (initialSplitsBuilder_ == null) {
-        return initialSplits_.get(index);
-      } else {
+        return initialSplits_.get(index);  } else {
         return initialSplitsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2332,8 +2122,8 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsOrBuilderList() {
+    public java.util.List 
+         getInitialSplitsOrBuilderList() {
       if (initialSplitsBuilder_ != null) {
         return initialSplitsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2341,8 +2131,6 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
       }
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2365,12 +2153,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder getInitial
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder() {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2394,13 +2180,10 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      */
     public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialSplitsBuilder(
         int index) {
-      return getInitialSplitsFieldBuilder()
-          .addBuilder(
-              index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
+      return getInitialSplitsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.CreateTableRequest.Split.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The optional list of row keys that will be used to initially split the
      * table into several tablets (tablets are similar to HBase regions).
@@ -2422,22 +2205,16 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
      *
      * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
      */
-    public java.util.List
-        getInitialSplitsBuilderList() {
+    public java.util.List 
+         getInitialSplitsBuilderList() {
       return getInitialSplitsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.CreateTableRequest.Split,
-            com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-            com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>
+        com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder> 
         getInitialSplitsFieldBuilder() {
       if (initialSplitsBuilder_ == null) {
-        initialSplitsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.CreateTableRequest.Split,
-                com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder,
-                com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
+        initialSplitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.CreateTableRequest.Split, com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder, com.google.bigtable.admin.v2.CreateTableRequest.SplitOrBuilder>(
                 initialSplits_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -2446,9 +2223,9 @@ public com.google.bigtable.admin.v2.CreateTableRequest.Split.Builder addInitialS
       }
       return initialSplitsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2458,12 +2235,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.CreateTableRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.CreateTableRequest)
   private static final com.google.bigtable.admin.v2.CreateTableRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.CreateTableRequest();
   }
@@ -2472,27 +2249,27 @@ public static com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CreateTableRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CreateTableRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2507,4 +2284,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.CreateTableRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
index ff21da27a7..0a788fa681 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CreateTableRequestOrBuilder.java
@@ -1,62 +1,35 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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 CreateTableRequestOrBuilder
-    extends
+public interface CreateTableRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CreateTableRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance in which to create the table.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -64,13 +37,10 @@ public interface CreateTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Required. The name by which the new table should be referred to within the
    * parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
@@ -78,52 +48,39 @@ public interface CreateTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** - * - * *
    * Required. The Table to create.
    * 
* - * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** - * - * *
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -145,10 +102,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List getInitialSplitsList();
+  java.util.List 
+      getInitialSplitsList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -172,8 +128,6 @@ public interface CreateTableRequestOrBuilder
    */
   com.google.bigtable.admin.v2.CreateTableRequest.Split getInitialSplits(int index);
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -197,8 +151,6 @@ public interface CreateTableRequestOrBuilder
    */
   int getInitialSplitsCount();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
@@ -220,11 +172,9 @@ public interface CreateTableRequestOrBuilder
    *
    * repeated .google.bigtable.admin.v2.CreateTableRequest.Split initial_splits = 4;
    */
-  java.util.List
+  java.util.List 
       getInitialSplitsOrBuilderList();
   /**
-   *
-   *
    * 
    * The optional list of row keys that will be used to initially split the
    * table into several tablets (tablets are similar to HBase regions).
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
similarity index 66%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
index 99ca75309c..eb6ccd694e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequest.java
@@ -1,83 +1,58 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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_instance_admin.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Request message for BigtableInstanceAdmin.DeleteAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ -public final class DeleteAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) DeleteAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteAppProfileRequest.newBuilder() to construct. private DeleteAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -122,14 +95,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 2; private boolean ignoreWarnings_ = false; /** - * - * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -138,7 +108,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -150,7 +119,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -170,7 +140,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -180,16 +151,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteAppProfileRequest other = - (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; + com.google.bigtable.admin.v2.DeleteAppProfileRequest other = (com.google.bigtable.admin.v2.DeleteAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -204,142 +176,139 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest 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.DeleteAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteAppProfileRequest) com.google.bigtable.admin.v2.DeleteAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, - com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteAppProfileRequest.class, com.google.bigtable.admin.v2.DeleteAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -350,9 +319,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; } @java.lang.Override @@ -371,11 +340,8 @@ public com.google.bigtable.admin.v2.DeleteAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteAppProfileRequest result = - new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteAppProfileRequest result = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -394,39 +360,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -434,8 +399,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -470,25 +434,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -498,28 +459,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -528,24 +484,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -553,41 +506,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -597,24 +539,18 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the app profile to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -622,16 +558,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -639,14 +572,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -658,14 +588,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * Required. If true, ignore safety checks when deleting the app profile.
      * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -674,9 +601,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -686,12 +613,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteAppProfileRequest) private static final com.google.bigtable.admin.v2.DeleteAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteAppProfileRequest(); } @@ -700,27 +627,27 @@ public static com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,4 +662,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java similarity index 51% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java index 3a098ba3f5..6dfe84de7d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteAppProfileRequestOrBuilder.java @@ -1,68 +1,40 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface DeleteAppProfileRequestOrBuilder - extends +public interface DeleteAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the app profile to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. If true, ignore safety checks when deleting the app profile.
    * 
* * bool ignore_warnings = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The ignoreWarnings. */ boolean getIgnoreWarnings(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java index f58d86efbc..ead9a2dee2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteBackupRequest}
  */
-public final class DeleteBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteBackupRequest)
     DeleteBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteBackupRequest.newBuilder() to construct.
   private DeleteBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteBackupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteBackupRequest.class,
-            com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup to delete.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteBackupRequest other = - (com.google.bigtable.admin.v2.DeleteBackupRequest) obj; + com.google.bigtable.admin.v2.DeleteBackupRequest other = (com.google.bigtable.admin.v2.DeleteBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup].
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteBackupRequest)
       com.google.bigtable.admin.v2.DeleteBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteBackupRequest.class,
-              com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteBackupRequest.class, com.google.bigtable.admin.v2.DeleteBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.DeleteBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteBackupRequest result =
-          new com.google.bigtable.admin.v2.DeleteBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteBackupRequest result = new com.google.bigtable.admin.v2.DeleteBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteBackupRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup to delete.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteBackupRequest) private static final com.google.bigtable.admin.v2.DeleteBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteBackupRequest(); } @@ -616,27 +553,27 @@ public static com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java new file mode 100644 index 0000000000..fb163957d0 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup to delete.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java index f537f96f47..d73d154db4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ -public final class DeleteClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteClusterRequest) DeleteClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteClusterRequest.newBuilder() to construct. private DeleteClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster to be deleted. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteClusterRequest other = - (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; + com.google.bigtable.admin.v2.DeleteClusterRequest other = (com.google.bigtable.admin.v2.DeleteClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest 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.DeleteClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteClusterRequest) com.google.bigtable.admin.v2.DeleteClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteClusterRequest.class, - com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteClusterRequest.class, com.google.bigtable.admin.v2.DeleteClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.DeleteClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteClusterRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteClusterRequest result = - new com.google.bigtable.admin.v2.DeleteClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteClusterRequest result = new com.google.bigtable.admin.v2.DeleteClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteClusterRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteClusterRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteClusterRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the cluster to be deleted. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteClusterRequest) private static final com.google.bigtable.admin.v2.DeleteClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteClusterRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java new file mode 100644 index 0000000000..ceb031d253 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the cluster to be deleted. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java index 9da3c6d2f2..f506aed541 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.DeleteInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ -public final class DeleteInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteInstanceRequest) DeleteInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteInstanceRequest.newBuilder() to construct. private DeleteInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to be deleted.
    * Values are of the form `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteInstanceRequest other = - (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; + com.google.bigtable.admin.v2.DeleteInstanceRequest other = (com.google.bigtable.admin.v2.DeleteInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.DeleteInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.DeleteInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteInstanceRequest) com.google.bigtable.admin.v2.DeleteInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.DeleteInstanceRequest.class, - com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.DeleteInstanceRequest.class, com.google.bigtable.admin.v2.DeleteInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.DeleteInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.DeleteInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.DeleteInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.DeleteInstanceRequest result = - new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.DeleteInstanceRequest result = new com.google.bigtable.admin.v2.DeleteInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteInstanceRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.DeleteInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.DeleteInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.DeleteInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to be deleted.
      * Values are of the form `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteInstanceRequest) private static final com.google.bigtable.admin.v2.DeleteInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteInstanceRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..8fbd66b41d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface DeleteInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the instance to be deleted.
+   * Values are of the form `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java index 46b20514d0..d61943d579 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
  */
-public final class DeleteSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
     DeleteSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteSnapshotRequest.newBuilder() to construct.
   private DeleteSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-            com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the snapshot to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteSnapshotRequest other = - (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; + com.google.bigtable.admin.v2.DeleteSnapshotRequest other = (com.google.bigtable.admin.v2.DeleteSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -192,103 +165,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest 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.DeleteSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
@@ -301,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteSnapshotRequest)
       com.google.bigtable.admin.v2.DeleteSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class,
-              com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteSnapshotRequest.class, com.google.bigtable.admin.v2.DeleteSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -357,11 +326,8 @@ public com.google.bigtable.admin.v2.DeleteSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteSnapshotRequest result =
-          new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteSnapshotRequest result = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -377,39 +343,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteSnapshotRequest re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +414,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +434,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +460,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +483,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +518,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the snapshot to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteSnapshotRequest) private static final com.google.bigtable.admin.v2.DeleteSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteSnapshotRequest(); } @@ -626,27 +563,27 @@ public static com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..62fe94e7df --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the snapshot to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java index d4af38ab3c..659186f79f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
  */
-public final class DeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DeleteTableRequest)
     DeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DeleteTableRequest.newBuilder() to construct.
   private DeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DeleteTableRequest.class,
-            com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be deleted.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DeleteTableRequest other = - (com.google.bigtable.admin.v2.DeleteTableRequest) obj; + com.google.bigtable.admin.v2.DeleteTableRequest other = (com.google.bigtable.admin.v2.DeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest 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.DeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DeleteTableRequest)
       com.google.bigtable.admin.v2.DeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DeleteTableRequest.class,
-              com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.DeleteTableRequest.class, com.google.bigtable.admin.v2.DeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.DeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.DeleteTableRequest result =
-          new com.google.bigtable.admin.v2.DeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DeleteTableRequest result = new com.google.bigtable.admin.v2.DeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.DeleteTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be deleted.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DeleteTableRequest) private static final com.google.bigtable.admin.v2.DeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DeleteTableRequest(); } @@ -616,27 +553,27 @@ public static com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..8dd5db9569 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 DeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be deleted.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java index b92749e338..92a0e29917 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -28,55 +11,49 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
  */
-public final class DropRowRangeRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DropRowRangeRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.DropRowRangeRequest)
     DropRowRangeRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DropRowRangeRequest.newBuilder() to construct.
   private DropRowRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DropRowRangeRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DropRowRangeRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-            com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+            com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
   }
 
   private int targetCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object target_;
-
   public enum TargetCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     ROW_KEY_PREFIX(2),
     DELETE_ALL_DATA_FROM_TABLE(3),
     TARGET_NOT_SET(0);
     private final int value;
-
     private TargetCase(int value) {
       this.value = value;
     }
@@ -92,43 +69,34 @@ public static TargetCase valueOf(int value) {
 
     public static TargetCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return ROW_KEY_PREFIX;
-        case 3:
-          return DELETE_ALL_DATA_FROM_TABLE;
-        case 0:
-          return TARGET_NOT_SET;
-        default:
-          return null;
+        case 2: return ROW_KEY_PREFIX;
+        case 3: return DELETE_ALL_DATA_FROM_TABLE;
+        case 0: return TARGET_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public TargetCase getTargetCase() {
-    return TargetCase.forNumber(targetCase_);
+  public TargetCase
+  getTargetCase() {
+    return TargetCase.forNumber(
+        targetCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -137,33 +105,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -173,15 +139,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int ROW_KEY_PREFIX_FIELD_NUMBER = 2; /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ @java.lang.Override @@ -189,15 +152,12 @@ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ @java.lang.Override @@ -210,14 +170,11 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { public static final int DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER = 3; /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ @java.lang.Override @@ -225,14 +182,11 @@ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ @java.lang.Override @@ -244,7 +198,6 @@ public boolean getDeleteAllDataFromTable() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,15 +209,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (targetCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) target_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - output.writeBool(3, (boolean) ((java.lang.Boolean) target_)); + output.writeBool( + 3, (boolean)((java.lang.Boolean) target_)); } getUnknownFields().writeTo(output); } @@ -279,14 +235,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (targetCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) target_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) target_); } if (targetCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 3, (boolean) ((java.lang.Boolean) target_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 3, (boolean)((java.lang.Boolean) target_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -296,22 +252,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.DropRowRangeRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.DropRowRangeRequest other = - (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; + com.google.bigtable.admin.v2.DropRowRangeRequest other = (com.google.bigtable.admin.v2.DropRowRangeRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getTargetCase().equals(other.getTargetCase())) return false; switch (targetCase_) { case 2: - if (!getRowKeyPrefix().equals(other.getRowKeyPrefix())) return false; + if (!getRowKeyPrefix() + .equals(other.getRowKeyPrefix())) return false; break; case 3: - if (getDeleteAllDataFromTable() != other.getDeleteAllDataFromTable()) return false; + if (getDeleteAllDataFromTable() + != other.getDeleteAllDataFromTable()) return false; break; case 0: default: @@ -336,7 +294,8 @@ public int hashCode() { break; case 3: hash = (37 * hash) + DELETE_ALL_DATA_FROM_TABLE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeleteAllDataFromTable()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeleteAllDataFromTable()); break; case 0: default: @@ -346,104 +305,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest 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.DropRowRangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.DropRowRangeRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.DropRowRangeRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.DropRowRangeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
@@ -451,32 +405,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.DropRowRangeRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.DropRowRangeRequest)
       com.google.bigtable.admin.v2.DropRowRangeRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.DropRowRangeRequest.class,
-              com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
+              com.google.bigtable.admin.v2.DropRowRangeRequest.class, com.google.bigtable.admin.v2.DropRowRangeRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.DropRowRangeRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -488,9 +443,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_DropRowRangeRequest_descriptor;
     }
 
     @java.lang.Override
@@ -509,11 +464,8 @@ public com.google.bigtable.admin.v2.DropRowRangeRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.DropRowRangeRequest buildPartial() {
-      com.google.bigtable.admin.v2.DropRowRangeRequest result =
-          new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.DropRowRangeRequest result = new com.google.bigtable.admin.v2.DropRowRangeRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -535,39 +487,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.DropRowRangeRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.DropRowRangeRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.DropRowRangeRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -575,28 +526,24 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.DropRowRangeRequest other) {
-      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.DropRowRangeRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
       switch (other.getTargetCase()) {
-        case ROW_KEY_PREFIX:
-          {
-            setRowKeyPrefix(other.getRowKeyPrefix());
-            break;
-          }
-        case DELETE_ALL_DATA_FROM_TABLE:
-          {
-            setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
-            break;
-          }
-        case TARGET_NOT_SET:
-          {
-            break;
-          }
+        case ROW_KEY_PREFIX: {
+          setRowKeyPrefix(other.getRowKeyPrefix());
+          break;
+        }
+        case DELETE_ALL_DATA_FROM_TABLE: {
+          setDeleteAllDataFromTable(other.getDeleteAllDataFromTable());
+          break;
+        }
+        case TARGET_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -624,31 +571,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                target_ = input.readBytes();
-                targetCase_ = 2;
-                break;
-              } // case 18
-            case 24:
-              {
-                target_ = input.readBool();
-                targetCase_ = 3;
-                break;
-              } // case 24
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              target_ = input.readBytes();
+              targetCase_ = 2;
+              break;
+            } // case 18
+            case 24: {
+              target_ = input.readBool();
+              targetCase_ = 3;
+              break;
+            } // case 24
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -658,12 +601,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int targetCase_ = 0;
     private java.lang.Object target_;
-
-    public TargetCase getTargetCase() {
-      return TargetCase.forNumber(targetCase_);
+    public TargetCase
+        getTargetCase() {
+      return TargetCase.forNumber(
+          targetCase_);
     }
 
     public Builder clearTarget() {
@@ -677,24 +620,20 @@ public Builder clearTarget() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -703,25 +642,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -729,43 +665,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -775,25 +700,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table on which to drop a range of rows.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -802,30 +721,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ public boolean hasRowKeyPrefix() { return targetCase_ == 2; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ public com.google.protobuf.ByteString getRowKeyPrefix() { @@ -835,37 +748,29 @@ public com.google.protobuf.ByteString getRowKeyPrefix() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @param value The rowKeyPrefix to set. * @return This builder for chaining. */ public Builder setRowKeyPrefix(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } targetCase_ = 2; target_ = value; onChanged(); return this; } /** - * - * *
      * Delete all rows that start with this row key prefix. Prefix cannot be
      * zero length.
      * 
* * bytes row_key_prefix = 2; - * * @return This builder for chaining. */ public Builder clearRowKeyPrefix() { @@ -878,28 +783,22 @@ public Builder clearRowKeyPrefix() { } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ public boolean hasDeleteAllDataFromTable() { return targetCase_ == 3; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ public boolean getDeleteAllDataFromTable() { @@ -909,14 +808,11 @@ public boolean getDeleteAllDataFromTable() { return false; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @param value The deleteAllDataFromTable to set. * @return This builder for chaining. */ @@ -928,14 +824,11 @@ public Builder setDeleteAllDataFromTable(boolean value) { return this; } /** - * - * *
      * Delete all rows in the table. Setting this to false is a no-op.
      * 
* * bool delete_all_data_from_table = 3; - * * @return This builder for chaining. */ public Builder clearDeleteAllDataFromTable() { @@ -946,9 +839,9 @@ public Builder clearDeleteAllDataFromTable() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -958,12 +851,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.DropRowRangeRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.DropRowRangeRequest) private static final com.google.bigtable.admin.v2.DropRowRangeRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.DropRowRangeRequest(); } @@ -972,27 +865,27 @@ public static com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DropRowRangeRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DropRowRangeRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1007,4 +900,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.DropRowRangeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java index 268f9bce23..6881cd4667 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DropRowRangeRequestOrBuilder.java @@ -1,109 +1,72 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 DropRowRangeRequestOrBuilder - extends +public interface DropRowRangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DropRowRangeRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table on which to drop a range of rows.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return Whether the rowKeyPrefix field is set. */ boolean hasRowKeyPrefix(); /** - * - * *
    * Delete all rows that start with this row key prefix. Prefix cannot be
    * zero length.
    * 
* * bytes row_key_prefix = 2; - * * @return The rowKeyPrefix. */ com.google.protobuf.ByteString getRowKeyPrefix(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return Whether the deleteAllDataFromTable field is set. */ boolean hasDeleteAllDataFromTable(); /** - * - * *
    * Delete all rows in the table. Setting this to false is a no-op.
    * 
* * bool delete_all_data_from_table = 3; - * * @return The deleteAllDataFromTable. */ boolean getDeleteAllDataFromTable(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java index 5f70d0f713..f840ae465f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfo.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Encryption information for a given resource.
  * If this resource is protected with customer managed encryption, the in-use
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.EncryptionInfo}
  */
-public final class EncryptionInfo extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EncryptionInfo extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.EncryptionInfo)
     EncryptionInfoOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EncryptionInfo.newBuilder() to construct.
   private EncryptionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EncryptionInfo() {
     encryptionType_ = 0;
     kmsKeyVersion_ = "";
@@ -47,38 +29,34 @@ private EncryptionInfo() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EncryptionInfo();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.EncryptionInfo.class,
-            com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+            com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible encryption types for a resource.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.EncryptionInfo.EncryptionType} */ - public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { + public enum EncryptionType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -87,8 +65,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_TYPE_UNSPECIFIED(0), /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -99,8 +75,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     GOOGLE_DEFAULT_ENCRYPTION(1),
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -118,8 +92,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Encryption type was not specified, though data at rest remains encrypted.
      * 
@@ -128,8 +100,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The data backing this resource is encrypted at rest with a key that is
      * fully managed by Google. No key version or status will be populated.
@@ -140,8 +110,6 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GOOGLE_DEFAULT_ENCRYPTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * The data backing this resource is encrypted at rest with a key that is
      * managed by the customer.
@@ -156,6 +124,7 @@ public enum EncryptionType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUSTOMER_MANAGED_ENCRYPTION_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -180,49 +149,49 @@ public static EncryptionType valueOf(int value) {
      */
     public static EncryptionType forNumber(int value) {
       switch (value) {
-        case 0:
-          return ENCRYPTION_TYPE_UNSPECIFIED;
-        case 1:
-          return GOOGLE_DEFAULT_ENCRYPTION;
-        case 2:
-          return CUSTOMER_MANAGED_ENCRYPTION;
-        default:
-          return null;
+        case 0: return ENCRYPTION_TYPE_UNSPECIFIED;
+        case 1: return GOOGLE_DEFAULT_ENCRYPTION;
+        case 2: return CUSTOMER_MANAGED_ENCRYPTION;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
-
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public EncryptionType findValueByNumber(int number) {
-            return EncryptionType.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        EncryptionType> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public EncryptionType findValueByNumber(int number) {
+              return EncryptionType.forNumber(number);
+            }
+          };
+
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.EncryptionInfo.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final EncryptionType[] VALUES = values();
 
-    public static EncryptionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static EncryptionType valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -242,58 +211,39 @@ private EncryptionType(int value) {
   public static final int ENCRYPTION_TYPE_FIELD_NUMBER = 3;
   private int encryptionType_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } public static final int ENCRYPTION_STATUS_FIELD_NUMBER = 4; private com.google.rpc.Status encryptionStatus_; /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ @java.lang.Override @@ -301,60 +251,43 @@ public boolean hasEncryptionStatus() { return encryptionStatus_ != null; } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ @java.lang.Override public com.google.rpc.Status getEncryptionStatus() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } public static final int KMS_KEY_VERSION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ @java.lang.Override @@ -363,32 +296,30 @@ public java.lang.String getKmsKeyVersion() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; } } /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -397,7 +328,6 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,13 +339,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { + if (encryptionType_ != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, encryptionType_); } if (encryptionStatus_ != null) { @@ -433,13 +362,13 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, kmsKeyVersion_); } - if (encryptionType_ - != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, encryptionType_); + if (encryptionType_ != com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.ENCRYPTION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, encryptionType_); } if (encryptionStatus_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEncryptionStatus()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEncryptionStatus()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -449,20 +378,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.EncryptionInfo)) { return super.equals(obj); } - com.google.bigtable.admin.v2.EncryptionInfo other = - (com.google.bigtable.admin.v2.EncryptionInfo) obj; + com.google.bigtable.admin.v2.EncryptionInfo other = (com.google.bigtable.admin.v2.EncryptionInfo) obj; if (encryptionType_ != other.encryptionType_) return false; if (hasEncryptionStatus() != other.hasEncryptionStatus()) return false; if (hasEncryptionStatus()) { - if (!getEncryptionStatus().equals(other.getEncryptionStatus())) return false; + if (!getEncryptionStatus() + .equals(other.getEncryptionStatus())) return false; } - if (!getKmsKeyVersion().equals(other.getKmsKeyVersion())) return false; + if (!getKmsKeyVersion() + .equals(other.getKmsKeyVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -487,104 +417,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.EncryptionInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.EncryptionInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.EncryptionInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Encryption information for a given resource.
    * If this resource is protected with customer managed encryption, the in-use
@@ -594,32 +519,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.EncryptionInfo}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.EncryptionInfo)
       com.google.bigtable.admin.v2.EncryptionInfoOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.EncryptionInfo.class,
-              com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
+              com.google.bigtable.admin.v2.EncryptionInfo.class, com.google.bigtable.admin.v2.EncryptionInfo.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.EncryptionInfo.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -635,9 +561,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor;
     }
 
     @java.lang.Override
@@ -656,11 +582,8 @@ public com.google.bigtable.admin.v2.EncryptionInfo build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.EncryptionInfo buildPartial() {
-      com.google.bigtable.admin.v2.EncryptionInfo result =
-          new com.google.bigtable.admin.v2.EncryptionInfo(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.EncryptionInfo result = new com.google.bigtable.admin.v2.EncryptionInfo(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -671,8 +594,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
         result.encryptionType_ = encryptionType_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.encryptionStatus_ =
-            encryptionStatusBuilder_ == null ? encryptionStatus_ : encryptionStatusBuilder_.build();
+        result.encryptionStatus_ = encryptionStatusBuilder_ == null
+            ? encryptionStatus_
+            : encryptionStatusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.kmsKeyVersion_ = kmsKeyVersion_;
@@ -683,39 +607,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.EncryptionInfo result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.EncryptionInfo) {
-        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo) other);
+        return mergeFrom((com.google.bigtable.admin.v2.EncryptionInfo)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -761,32 +684,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                kmsKeyVersion_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 24:
-              {
-                encryptionType_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(
-                    getEncryptionStatusFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              kmsKeyVersion_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 24: {
+              encryptionType_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getEncryptionStatusFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -796,38 +716,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int encryptionType_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ - @java.lang.Override - public int getEncryptionTypeValue() { + @java.lang.Override public int getEncryptionTypeValue() { return encryptionType_; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for encryptionType to set. * @return This builder for chaining. */ @@ -838,42 +746,28 @@ public Builder setEncryptionTypeValue(int value) { return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType() { - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); - return result == null - ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType result = com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.forNumber(encryptionType_); + return result == null ? com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The encryptionType to set. * @return This builder for chaining. */ - public Builder setEncryptionType( - com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { + public Builder setEncryptionType(com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType value) { if (value == null) { throw new NullPointerException(); } @@ -883,16 +777,11 @@ public Builder setEncryptionType( return this; } /** - * - * *
      * Output only. The type of encryption used to protect this resource.
      * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearEncryptionType() { @@ -904,59 +793,45 @@ public Builder clearEncryptionType() { private com.google.rpc.Status encryptionStatus_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - encryptionStatusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> encryptionStatusBuilder_; /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ public boolean hasEncryptionStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ public com.google.rpc.Status getEncryptionStatus() { if (encryptionStatusBuilder_ == null) { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } else { return encryptionStatusBuilder_.getMessage(); } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { @@ -972,18 +847,16 @@ public Builder setEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setEncryptionStatus( + com.google.rpc.Status.Builder builderForValue) { if (encryptionStatusBuilder_ == null) { encryptionStatus_ = builderForValue.build(); } else { @@ -994,22 +867,19 @@ public Builder setEncryptionStatus(com.google.rpc.Status.Builder builderForValue return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { if (encryptionStatusBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && encryptionStatus_ != null - && encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + encryptionStatus_ != null && + encryptionStatus_ != com.google.rpc.Status.getDefaultInstance()) { getEncryptionStatusBuilder().mergeFrom(value); } else { encryptionStatus_ = value; @@ -1022,16 +892,13 @@ public Builder mergeEncryptionStatus(com.google.rpc.Status value) { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionStatus() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1044,16 +911,13 @@ public Builder clearEncryptionStatus() { return this; } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { bitField0_ |= 0x00000002; @@ -1061,48 +925,40 @@ public com.google.rpc.Status.Builder getEncryptionStatusBuilder() { return getEncryptionStatusFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { if (encryptionStatusBuilder_ != null) { return encryptionStatusBuilder_.getMessageOrBuilder(); } else { - return encryptionStatus_ == null - ? com.google.rpc.Status.getDefaultInstance() - : encryptionStatus_; + return encryptionStatus_ == null ? + com.google.rpc.Status.getDefaultInstance() : encryptionStatus_; } } /** - * - * *
      * Output only. The status of encrypt/decrypt calls on underlying data for
      * this resource. Regardless of status, the existing data is always encrypted
      * at rest.
      * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getEncryptionStatusFieldBuilder() { if (encryptionStatusBuilder_ == null) { - encryptionStatusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>( - getEncryptionStatus(), getParentForChildren(), isClean()); + encryptionStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getEncryptionStatus(), + getParentForChildren(), + isClean()); encryptionStatus_ = null; } return encryptionStatusBuilder_; @@ -1110,23 +966,19 @@ public com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder() { private java.lang.Object kmsKeyVersion_ = ""; /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ public java.lang.String getKmsKeyVersion() { java.lang.Object ref = kmsKeyVersion_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyVersion_ = s; return s; @@ -1135,24 +987,21 @@ public java.lang.String getKmsKeyVersion() { } } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - public com.google.protobuf.ByteString getKmsKeyVersionBytes() { + public com.google.protobuf.ByteString + getKmsKeyVersionBytes() { java.lang.Object ref = kmsKeyVersion_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyVersion_ = b; return b; } else { @@ -1160,41 +1009,30 @@ public com.google.protobuf.ByteString getKmsKeyVersionBytes() { } } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersion(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersion( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearKmsKeyVersion() { @@ -1204,33 +1042,27 @@ public Builder clearKmsKeyVersion() { return this; } /** - * - * *
      * Output only. The version of the Cloud KMS key specified in the parent
      * cluster that is in use for the data underlying this table.
      * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @param value The bytes for kmsKeyVersion to set. * @return This builder for chaining. */ - public Builder setKmsKeyVersionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKmsKeyVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kmsKeyVersion_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1240,12 +1072,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.EncryptionInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.EncryptionInfo) private static final com.google.bigtable.admin.v2.EncryptionInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.EncryptionInfo(); } @@ -1254,27 +1086,27 @@ public static com.google.bigtable.admin.v2.EncryptionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EncryptionInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EncryptionInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1289,4 +1121,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.EncryptionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java similarity index 59% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java index aca12bced4..ebe6358320 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/EncryptionInfoOrBuilder.java @@ -1,129 +1,83 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface EncryptionInfoOrBuilder - extends +public interface EncryptionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.EncryptionInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for encryptionType. */ int getEncryptionTypeValue(); /** - * - * *
    * Output only. The type of encryption used to protect this resource.
    * 
* - * - * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.EncryptionInfo.EncryptionType encryption_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionType. */ com.google.bigtable.admin.v2.EncryptionInfo.EncryptionType getEncryptionType(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the encryptionStatus field is set. */ boolean hasEncryptionStatus(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The encryptionStatus. */ com.google.rpc.Status getEncryptionStatus(); /** - * - * *
    * Output only. The status of encrypt/decrypt calls on underlying data for
    * this resource. Regardless of status, the existing data is always encrypted
    * at rest.
    * 
* - * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.rpc.Status encryption_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.rpc.StatusOrBuilder getEncryptionStatusOrBuilder(); /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The kmsKeyVersion. */ java.lang.String getKmsKeyVersion(); /** - * - * *
    * Output only. The version of the Cloud KMS key specified in the parent
    * cluster that is in use for the data underlying this table.
    * 
* - * - * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } - * - * + * string kms_key_version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... } * @return The bytes for kmsKeyVersion. */ - com.google.protobuf.ByteString getKmsKeyVersionBytes(); + com.google.protobuf.ByteString + getKmsKeyVersionBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java index f1d91ba8b7..48d7d58d18 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRule.java @@ -1,83 +1,61 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Rule for determining which cells to delete during garbage collection.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ -public final class GcRule extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GcRule extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule) GcRuleOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GcRule.newBuilder() to construct. private GcRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GcRule() {} + private GcRule() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GcRule(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } - public interface IntersectionOrBuilder - extends + public interface IntersectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Intersection) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -86,8 +64,6 @@ public interface IntersectionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -96,77 +72,68 @@ public interface IntersectionOrBuilder */ int getRulesCount(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching all of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Intersection extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Intersection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Intersection) IntersectionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Intersection.newBuilder() to construct. private Intersection(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Intersection() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Intersection(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -178,8 +145,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -187,13 +152,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -205,8 +168,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -218,8 +179,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Only delete cells which would be deleted by every element of `rules`.
      * 
@@ -227,12 +186,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +203,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -258,7 +218,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -268,15 +229,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Intersection)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Intersection other = - (com.google.bigtable.admin.v2.GcRule.Intersection) obj; + com.google.bigtable.admin.v2.GcRule.Intersection other = (com.google.bigtable.admin.v2.GcRule.Intersection) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -298,93 +259,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection 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.GcRule.Intersection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Intersection parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Intersection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Intersection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -394,41 +351,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching all of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Intersection} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Intersection) com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Intersection.class, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); + com.google.bigtable.admin.v2.GcRule.Intersection.class, com.google.bigtable.admin.v2.GcRule.Intersection.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -444,9 +399,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; } @java.lang.Override @@ -465,18 +420,14 @@ public com.google.bigtable.admin.v2.GcRule.Intersection build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection buildPartial() { - com.google.bigtable.admin.v2.GcRule.Intersection result = - new com.google.bigtable.admin.v2.GcRule.Intersection(this); + com.google.bigtable.admin.v2.GcRule.Intersection result = new com.google.bigtable.admin.v2.GcRule.Intersection(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.GcRule.Intersection result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.GcRule.Intersection result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -496,41 +447,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Intersection resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Intersection) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Intersection)other); } else { super.mergeFrom(other); return this; @@ -538,8 +486,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) { - if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) return this; if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { @@ -558,10 +505,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Intersection other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -593,26 +539,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -622,28 +567,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -658,8 +596,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -674,8 +610,6 @@ public int getRulesCount() { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -690,15 +624,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -712,8 +645,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -732,8 +663,6 @@ public Builder setRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -754,15 +683,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -776,15 +704,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -795,8 +722,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -815,8 +740,6 @@ public Builder addRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -827,7 +750,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -835,8 +759,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -854,8 +776,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -873,44 +793,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -918,8 +833,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
@@ -927,52 +840,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Only delete cells which would be deleted by every element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -985,12 +892,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Intersection) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Intersection) private static final com.google.bigtable.admin.v2.GcRule.Intersection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Intersection(); } @@ -999,28 +906,27 @@ public static com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Intersection parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Intersection parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1035,26 +941,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Intersection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface UnionOrBuilder - extends + public interface UnionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule.Union) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1063,8 +966,6 @@ public interface UnionOrBuilder */ com.google.bigtable.admin.v2.GcRule getRules(int index); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1073,77 +974,68 @@ public interface UnionOrBuilder */ int getRulesCount(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - java.util.List getRulesOrBuilderList(); + java.util.List + getRulesOrBuilderList(); /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index); } /** - * - * *
    * A GcRule which deletes cells matching any of the given rules.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Union extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Union extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GcRule.Union) UnionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Union.newBuilder() to construct. private Union(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Union() { rules_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Union(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } public static final int RULES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1155,8 +1047,6 @@ public java.util.List getRulesList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1164,13 +1054,11 @@ public java.util.List getRulesList() { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1182,8 +1070,6 @@ public int getRulesCount() { return rules_.size(); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1195,8 +1081,6 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { return rules_.get(index); } /** - * - * *
      * Delete cells which would be deleted by any element of `rules`.
      * 
@@ -1204,12 +1088,12 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1221,7 +1105,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rules_.size(); i++) { output.writeMessage(1, rules_.get(i)); } @@ -1235,7 +1120,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, rules_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1245,15 +1131,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule.Union)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GcRule.Union other = - (com.google.bigtable.admin.v2.GcRule.Union) obj; + com.google.bigtable.admin.v2.GcRule.Union other = (com.google.bigtable.admin.v2.GcRule.Union) obj; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1274,94 +1160,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union 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.GcRule.Union parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule.Union parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule.Union parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule.Union prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1371,41 +1253,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A GcRule which deletes cells matching any of the given rules.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule.Union} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule.Union) com.google.bigtable.admin.v2.GcRule.UnionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.Union.class, - com.google.bigtable.admin.v2.GcRule.Union.Builder.class); + com.google.bigtable.admin.v2.GcRule.Union.class, com.google.bigtable.admin.v2.GcRule.Union.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.Union.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1421,9 +1301,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; } @java.lang.Override @@ -1442,12 +1322,9 @@ public com.google.bigtable.admin.v2.GcRule.Union build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union buildPartial() { - com.google.bigtable.admin.v2.GcRule.Union result = - new com.google.bigtable.admin.v2.GcRule.Union(this); + com.google.bigtable.admin.v2.GcRule.Union result = new com.google.bigtable.admin.v2.GcRule.Union(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1472,41 +1349,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule.Union result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule.Union) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule.Union)other); } else { super.mergeFrom(other); return this; @@ -1533,10 +1407,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule.Union other) { rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -1568,26 +1441,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.GcRule m = - input.readMessage( - com.google.bigtable.admin.v2.GcRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.GcRule m = + input.readMessage( + com.google.bigtable.admin.v2.GcRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1597,28 +1469,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> rulesBuilder_; /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1633,8 +1498,6 @@ public java.util.List getRulesList() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1649,8 +1512,6 @@ public int getRulesCount() { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1665,15 +1526,14 @@ public com.google.bigtable.admin.v2.GcRule getRules(int index) { } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder setRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1687,8 +1547,6 @@ public Builder setRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1707,8 +1565,6 @@ public Builder setRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1729,15 +1585,14 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { + public Builder addRules( + int index, com.google.bigtable.admin.v2.GcRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1751,15 +1606,14 @@ public Builder addRules(int index, com.google.bigtable.admin.v2.GcRule value) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.admin.v2.GcRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1770,8 +1624,6 @@ public Builder addRules(com.google.bigtable.admin.v2.GcRule.Builder builderForVa return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1790,8 +1642,6 @@ public Builder addRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1802,7 +1652,8 @@ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1810,8 +1661,6 @@ public Builder addAllRules( return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1829,8 +1678,6 @@ public Builder clearRules() { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1848,44 +1695,39 @@ public Builder removeRules(int index) { return this; } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.admin.v2.GcRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1893,8 +1735,6 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) } } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
@@ -1902,52 +1742,46 @@ public com.google.bigtable.admin.v2.GcRuleOrBuilder getRulesOrBuilder(int index) * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); + public com.google.bigtable.admin.v2.GcRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.GcRule.getDefaultInstance()); } /** - * - * *
        * Delete cells which would be deleted by any element of `rules`.
        * 
* * repeated .google.bigtable.admin.v2.GcRule rules = 1; */ - public java.util.List getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder> + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule, - com.google.bigtable.admin.v2.GcRule.Builder, - com.google.bigtable.admin.v2.GcRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule, com.google.bigtable.admin.v2.GcRule.Builder, com.google.bigtable.admin.v2.GcRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1960,12 +1794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule.Union) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule.Union) private static final com.google.bigtable.admin.v2.GcRule.Union DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule.Union(); } @@ -1974,28 +1808,27 @@ public static com.google.bigtable.admin.v2.GcRule.Union getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Union parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Union parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2010,16 +1843,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule.Union getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int ruleCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object rule_; - public enum RuleCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAX_NUM_VERSIONS(1), MAX_AGE(2), @@ -2027,7 +1858,6 @@ public enum RuleCase UNION(4), RULE_NOT_SET(0); private final int value; - private RuleCase(int value) { this.value = value; } @@ -2043,40 +1873,32 @@ public static RuleCase valueOf(int value) { public static RuleCase forNumber(int value) { switch (value) { - case 1: - return MAX_NUM_VERSIONS; - case 2: - return MAX_AGE; - case 3: - return INTERSECTION; - case 4: - return UNION; - case 0: - return RULE_NOT_SET; - default: - return null; + case 1: return MAX_NUM_VERSIONS; + case 2: return MAX_AGE; + case 3: return INTERSECTION; + case 4: return UNION; + case 0: return RULE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public static final int MAX_NUM_VERSIONS_FIELD_NUMBER = 1; /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ @java.lang.Override @@ -2084,14 +1906,11 @@ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ @java.lang.Override @@ -2104,8 +1923,6 @@ public int getMaxNumVersions() { public static final int MAX_AGE_FIELD_NUMBER = 2; /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2113,7 +1930,6 @@ public int getMaxNumVersions() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2121,8 +1937,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2130,19 +1944,16 @@ public boolean hasMaxAge() {
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override public com.google.protobuf.Duration getMaxAge() { if (ruleCase_ == 2) { - return (com.google.protobuf.Duration) rule_; + return (com.google.protobuf.Duration) rule_; } return com.google.protobuf.Duration.getDefaultInstance(); } /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -2154,21 +1965,18 @@ public com.google.protobuf.Duration getMaxAge() {
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     if (ruleCase_ == 2) {
-      return (com.google.protobuf.Duration) rule_;
+       return (com.google.protobuf.Duration) rule_;
     }
     return com.google.protobuf.Duration.getDefaultInstance();
   }
 
   public static final int INTERSECTION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -2176,26 +1984,21 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
@@ -2205,21 +2008,18 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersectionOrBuilder() { if (ruleCase_ == 3) { - return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; + return (com.google.bigtable.admin.v2.GcRule.Intersection) rule_; } return com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } public static final int UNION_FIELD_NUMBER = 4; /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -2227,26 +2027,21 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override public com.google.bigtable.admin.v2.GcRule.Union getUnion() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
@@ -2256,13 +2051,12 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { if (ruleCase_ == 4) { - return (com.google.bigtable.admin.v2.GcRule.Union) rule_; + return (com.google.bigtable.admin.v2.GcRule.Union) rule_; } return com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2274,9 +2068,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (ruleCase_ == 1) { - output.writeInt32(1, (int) ((java.lang.Integer) rule_)); + output.writeInt32( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { output.writeMessage(2, (com.google.protobuf.Duration) rule_); @@ -2297,24 +2093,21 @@ public int getSerializedSize() { size = 0; if (ruleCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 1, (int) ((java.lang.Integer) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 1, (int)((java.lang.Integer) rule_)); } if (ruleCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.protobuf.Duration) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.protobuf.Duration) rule_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.GcRule.Intersection) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.admin.v2.GcRule.Union) rule_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2324,7 +2117,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GcRule)) { return super.equals(obj); @@ -2334,16 +2127,20 @@ public boolean equals(final java.lang.Object obj) { if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 1: - if (getMaxNumVersions() != other.getMaxNumVersions()) return false; + if (getMaxNumVersions() + != other.getMaxNumVersions()) return false; break; case 2: - if (!getMaxAge().equals(other.getMaxAge())) return false; + if (!getMaxAge() + .equals(other.getMaxAge())) return false; break; case 3: - if (!getIntersection().equals(other.getIntersection())) return false; + if (!getIntersection() + .equals(other.getIntersection())) return false; break; case 4: - if (!getUnion().equals(other.getUnion())) return false; + if (!getUnion() + .equals(other.getUnion())) return false; break; case 0: default: @@ -2384,135 +2181,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GcRule parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.GcRule parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule 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.GcRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GcRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GcRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GcRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Rule for determining which cells to delete during garbage collection.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GcRule} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GcRule) com.google.bigtable.admin.v2.GcRuleOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GcRule.class, - com.google.bigtable.admin.v2.GcRule.Builder.class); + com.google.bigtable.admin.v2.GcRule.class, com.google.bigtable.admin.v2.GcRule.Builder.class); } // Construct using com.google.bigtable.admin.v2.GcRule.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2532,9 +2326,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_GcRule_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_GcRule_descriptor; } @java.lang.Override @@ -2554,9 +2348,7 @@ public com.google.bigtable.admin.v2.GcRule build() { @java.lang.Override public com.google.bigtable.admin.v2.GcRule buildPartial() { com.google.bigtable.admin.v2.GcRule result = new com.google.bigtable.admin.v2.GcRule(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -2569,13 +2361,16 @@ private void buildPartial0(com.google.bigtable.admin.v2.GcRule result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { result.ruleCase_ = ruleCase_; result.rule_ = this.rule_; - if (ruleCase_ == 2 && maxAgeBuilder_ != null) { + if (ruleCase_ == 2 && + maxAgeBuilder_ != null) { result.rule_ = maxAgeBuilder_.build(); } - if (ruleCase_ == 3 && intersectionBuilder_ != null) { + if (ruleCase_ == 3 && + intersectionBuilder_ != null) { result.rule_ = intersectionBuilder_.build(); } - if (ruleCase_ == 4 && unionBuilder_ != null) { + if (ruleCase_ == 4 && + unionBuilder_ != null) { result.rule_ = unionBuilder_.build(); } } @@ -2584,39 +2379,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.GcRule result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GcRule) { - return mergeFrom((com.google.bigtable.admin.v2.GcRule) other); + return mergeFrom((com.google.bigtable.admin.v2.GcRule)other); } else { super.mergeFrom(other); return this; @@ -2626,30 +2420,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.admin.v2.GcRule other) { if (other == com.google.bigtable.admin.v2.GcRule.getDefaultInstance()) return this; switch (other.getRuleCase()) { - case MAX_NUM_VERSIONS: - { - setMaxNumVersions(other.getMaxNumVersions()); - break; - } - case MAX_AGE: - { - mergeMaxAge(other.getMaxAge()); - break; - } - case INTERSECTION: - { - mergeIntersection(other.getIntersection()); - break; - } - case UNION: - { - mergeUnion(other.getUnion()); - break; - } - case RULE_NOT_SET: - { - break; - } + case MAX_NUM_VERSIONS: { + setMaxNumVersions(other.getMaxNumVersions()); + break; + } + case MAX_AGE: { + mergeMaxAge(other.getMaxAge()); + break; + } + case INTERSECTION: { + mergeIntersection(other.getIntersection()); + break; + } + case UNION: { + mergeUnion(other.getUnion()); + break; + } + case RULE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -2677,37 +2466,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - rule_ = input.readInt32(); - ruleCase_ = 1; - break; - } // case 8 - case 18: - { - input.readMessage(getMaxAgeFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getIntersectionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getUnionFieldBuilder().getBuilder(), extensionRegistry); - ruleCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + rule_ = input.readInt32(); + ruleCase_ = 1; + break; + } // case 8 + case 18: { + input.readMessage( + getMaxAgeFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getIntersectionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getUnionFieldBuilder().getBuilder(), + extensionRegistry); + ruleCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2717,12 +2507,12 @@ public Builder mergeFrom( } // finally return this; } - private int ruleCase_ = 0; private java.lang.Object rule_; - - public RuleCase getRuleCase() { - return RuleCase.forNumber(ruleCase_); + public RuleCase + getRuleCase() { + return RuleCase.forNumber( + ruleCase_); } public Builder clearRule() { @@ -2735,28 +2525,22 @@ public Builder clearRule() { private int bitField0_; /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ public boolean hasMaxNumVersions() { return ruleCase_ == 1; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ public int getMaxNumVersions() { @@ -2766,14 +2550,11 @@ public int getMaxNumVersions() { return 0; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @param value The maxNumVersions to set. * @return This builder for chaining. */ @@ -2785,14 +2566,11 @@ public Builder setMaxNumVersions(int value) { return this; } /** - * - * *
      * Delete all cells in a column except the most recent N.
      * 
* * int32 max_num_versions = 1; - * * @return This builder for chaining. */ public Builder clearMaxNumVersions() { @@ -2805,13 +2583,8 @@ public Builder clearMaxNumVersions() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - maxAgeBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxAgeBuilder_; /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2819,7 +2592,6 @@ public Builder clearMaxNumVersions() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ @java.lang.Override @@ -2827,8 +2599,6 @@ public boolean hasMaxAge() { return ruleCase_ == 2; } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2836,7 +2606,6 @@ public boolean hasMaxAge() {
      * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ @java.lang.Override @@ -2854,8 +2623,6 @@ public com.google.protobuf.Duration getMaxAge() { } } /** - * - * *
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2878,8 +2645,6 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2888,7 +2653,8 @@ public Builder setMaxAge(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration max_age = 2;
      */
-    public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setMaxAge(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (maxAgeBuilder_ == null) {
         rule_ = builderForValue.build();
         onChanged();
@@ -2899,8 +2665,6 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2911,11 +2675,10 @@ public Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       if (maxAgeBuilder_ == null) {
-        if (ruleCase_ == 2 && rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
-          rule_ =
-              com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (ruleCase_ == 2 &&
+            rule_ != com.google.protobuf.Duration.getDefaultInstance()) {
+          rule_ = com.google.protobuf.Duration.newBuilder((com.google.protobuf.Duration) rule_)
+              .mergeFrom(value).buildPartial();
         } else {
           rule_ = value;
         }
@@ -2931,8 +2694,6 @@ public Builder mergeMaxAge(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2958,8 +2719,6 @@ public Builder clearMaxAge() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2972,8 +2731,6 @@ public com.google.protobuf.Duration.Builder getMaxAgeBuilder() {
       return getMaxAgeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -2994,8 +2751,6 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Delete cells in a column older than the given age.
      * Values must be at least one millisecond, and will be truncated to
@@ -3005,20 +2760,17 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
      * .google.protobuf.Duration max_age = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getMaxAgeFieldBuilder() {
       if (maxAgeBuilder_ == null) {
         if (!(ruleCase_ == 2)) {
           rule_ = com.google.protobuf.Duration.getDefaultInstance();
         }
-        maxAgeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                (com.google.protobuf.Duration) rule_, getParentForChildren(), isClean());
+        maxAgeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                (com.google.protobuf.Duration) rule_,
+                getParentForChildren(),
+                isClean());
         rule_ = null;
       }
       ruleCase_ = 2;
@@ -3027,19 +2779,13 @@ public com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.GcRule.Intersection,
-            com.google.bigtable.admin.v2.GcRule.Intersection.Builder,
-            com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>
-        intersectionBuilder_;
+        com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> intersectionBuilder_;
     /**
-     *
-     *
      * 
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ @java.lang.Override @@ -3047,14 +2793,11 @@ public boolean hasIntersection() { return ruleCase_ == 3; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ @java.lang.Override @@ -3072,8 +2815,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection getIntersection() { } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3094,8 +2835,6 @@ public Builder setIntersection(com.google.bigtable.admin.v2.GcRule.Intersection return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3114,8 +2853,6 @@ public Builder setIntersection( return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3124,13 +2861,10 @@ public Builder setIntersection( */ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersection value) { if (intersectionBuilder_ == null) { - if (ruleCase_ == 3 - && rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Intersection) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 3 && + rule_ != com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.newBuilder((com.google.bigtable.admin.v2.GcRule.Intersection) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3146,8 +2880,6 @@ public Builder mergeIntersection(com.google.bigtable.admin.v2.GcRule.Intersectio return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3171,8 +2903,6 @@ public Builder clearIntersection() { return this; } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3183,8 +2913,6 @@ public com.google.bigtable.admin.v2.GcRule.Intersection.Builder getIntersectionB return getIntersectionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3203,8 +2931,6 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } } /** - * - * *
      * Delete cells that would be deleted by every nested rule.
      * 
@@ -3212,19 +2938,14 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder> getIntersectionFieldBuilder() { if (intersectionBuilder_ == null) { if (!(ruleCase_ == 3)) { rule_ = com.google.bigtable.admin.v2.GcRule.Intersection.getDefaultInstance(); } - intersectionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Intersection, - com.google.bigtable.admin.v2.GcRule.Intersection.Builder, - com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( + intersectionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Intersection, com.google.bigtable.admin.v2.GcRule.Intersection.Builder, com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Intersection) rule_, getParentForChildren(), isClean()); @@ -3236,19 +2957,13 @@ public com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersection } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> - unionBuilder_; + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> unionBuilder_; /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ @java.lang.Override @@ -3256,14 +2971,11 @@ public boolean hasUnion() { return ruleCase_ == 4; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ @java.lang.Override @@ -3281,8 +2993,6 @@ public com.google.bigtable.admin.v2.GcRule.Union getUnion() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3303,15 +3013,14 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; */ - public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { + public Builder setUnion( + com.google.bigtable.admin.v2.GcRule.Union.Builder builderForValue) { if (unionBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); @@ -3322,8 +3031,6 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3332,13 +3039,10 @@ public Builder setUnion(com.google.bigtable.admin.v2.GcRule.Union.Builder builde */ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { if (unionBuilder_ == null) { - if (ruleCase_ == 4 - && rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { - rule_ = - com.google.bigtable.admin.v2.GcRule.Union.newBuilder( - (com.google.bigtable.admin.v2.GcRule.Union) rule_) - .mergeFrom(value) - .buildPartial(); + if (ruleCase_ == 4 && + rule_ != com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance()) { + rule_ = com.google.bigtable.admin.v2.GcRule.Union.newBuilder((com.google.bigtable.admin.v2.GcRule.Union) rule_) + .mergeFrom(value).buildPartial(); } else { rule_ = value; } @@ -3354,8 +3058,6 @@ public Builder mergeUnion(com.google.bigtable.admin.v2.GcRule.Union value) { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3379,8 +3081,6 @@ public Builder clearUnion() { return this; } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3391,8 +3091,6 @@ public com.google.bigtable.admin.v2.GcRule.Union.Builder getUnionBuilder() { return getUnionFieldBuilder().getBuilder(); } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3411,8 +3109,6 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { } } /** - * - * *
      * Delete cells that would be deleted by any nested rule.
      * 
@@ -3420,19 +3116,14 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { * .google.bigtable.admin.v2.GcRule.Union union = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder> getUnionFieldBuilder() { if (unionBuilder_ == null) { if (!(ruleCase_ == 4)) { rule_ = com.google.bigtable.admin.v2.GcRule.Union.getDefaultInstance(); } - unionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.GcRule.Union, - com.google.bigtable.admin.v2.GcRule.Union.Builder, - com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( + unionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.GcRule.Union, com.google.bigtable.admin.v2.GcRule.Union.Builder, com.google.bigtable.admin.v2.GcRule.UnionOrBuilder>( (com.google.bigtable.admin.v2.GcRule.Union) rule_, getParentForChildren(), isClean()); @@ -3442,9 +3133,9 @@ public com.google.bigtable.admin.v2.GcRule.UnionOrBuilder getUnionOrBuilder() { onChanged(); return unionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3454,12 +3145,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GcRule) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GcRule) private static final com.google.bigtable.admin.v2.GcRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GcRule(); } @@ -3468,27 +3159,27 @@ public static com.google.bigtable.admin.v2.GcRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GcRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GcRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3503,4 +3194,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GcRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java index 6739a21528..3c5ae5c140 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GcRuleOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface GcRuleOrBuilder - extends +public interface GcRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GcRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return Whether the maxNumVersions field is set. */ boolean hasMaxNumVersions(); /** - * - * *
    * Delete all cells in a column except the most recent N.
    * 
* * int32 max_num_versions = 1; - * * @return The maxNumVersions. */ int getMaxNumVersions(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -58,13 +34,10 @@ public interface GcRuleOrBuilder
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return Whether the maxAge field is set. */ boolean hasMaxAge(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -72,13 +45,10 @@ public interface GcRuleOrBuilder
    * 
* * .google.protobuf.Duration max_age = 2; - * * @return The maxAge. */ com.google.protobuf.Duration getMaxAge(); /** - * - * *
    * Delete cells in a column older than the given age.
    * Values must be at least one millisecond, and will be truncated to
@@ -90,32 +60,24 @@ public interface GcRuleOrBuilder
   com.google.protobuf.DurationOrBuilder getMaxAgeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return Whether the intersection field is set. */ boolean hasIntersection(); /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Intersection intersection = 3; - * * @return The intersection. */ com.google.bigtable.admin.v2.GcRule.Intersection getIntersection(); /** - * - * *
    * Delete cells that would be deleted by every nested rule.
    * 
@@ -125,32 +87,24 @@ public interface GcRuleOrBuilder com.google.bigtable.admin.v2.GcRule.IntersectionOrBuilder getIntersectionOrBuilder(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return Whether the union field is set. */ boolean hasUnion(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
* * .google.bigtable.admin.v2.GcRule.Union union = 4; - * * @return The union. */ com.google.bigtable.admin.v2.GcRule.Union getUnion(); /** - * - * *
    * Delete cells that would be deleted by any nested rule.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java similarity index 62% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java index 1ed7c3e7bd..1532fe5aee 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -28,59 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
  */
-public final class GenerateConsistencyTokenRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
     GenerateConsistencyTokenRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenRequest.newBuilder() to construct.
-  private GenerateConsistencyTokenRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -160,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,104 +160,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest 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.GenerateConsistencyTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -293,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenRequest)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -328,14 +295,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance();
     }
 
@@ -350,17 +316,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -371,39 +333,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -411,9 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -445,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -467,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -498,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -524,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -570,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * 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, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -607,13 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest(); } @@ -622,27 +553,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,4 +588,6 @@ public com.google.protobuf.Parser getParserForT public com.google.bigtable.admin.v2.GenerateConsistencyTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java new file mode 100644 index 0000000000..729db81550 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GenerateConsistencyTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * 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, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * 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, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java index 96bcd88bb2..a16f237689 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -28,55 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
  */
-public final class GenerateConsistencyTokenResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateConsistencyTokenResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
     GenerateConsistencyTokenResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateConsistencyTokenResponse.newBuilder() to construct.
-  private GenerateConsistencyTokenResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateConsistencyTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateConsistencyTokenResponse() {
     consistencyToken_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateConsistencyTokenResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+            com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
   }
 
   public static final int CONSISTENCY_TOKEN_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object consistencyToken_ = "";
   /**
-   *
-   *
    * 
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ @java.lang.Override @@ -85,29 +61,29 @@ public java.lang.String getConsistencyToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; } } /** - * - * *
    * The generated consistency token.
    * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ @java.lang.Override - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -116,7 +92,6 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -128,7 +103,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(consistencyToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, consistencyToken_); } @@ -152,15 +128,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = - (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; + com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other = (com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) obj; - if (!getConsistencyToken().equals(other.getConsistencyToken())) return false; + if (!getConsistencyToken() + .equals(other.getConsistencyToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -180,104 +156,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse 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.GenerateConsistencyTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
@@ -285,32 +255,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GenerateConsistencyTokenResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GenerateConsistencyTokenResponse)
       com.google.bigtable.admin.v2.GenerateConsistencyTokenResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class,
-              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
+              com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.class, com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,14 +291,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GenerateConsistencyTokenResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse
-        getDefaultInstanceForType() {
+    public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() {
       return com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance();
     }
 
@@ -342,17 +312,13 @@ public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse buildPartial() {
-      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result =
-          new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
+    private void buildPartial0(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.consistencyToken_ = consistencyToken_;
@@ -363,39 +329,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -403,9 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse other) {
-      if (other
-          == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse.getDefaultInstance()) return this;
       if (!other.getConsistencyToken().isEmpty()) {
         consistencyToken_ = other.consistencyToken_;
         bitField0_ |= 0x00000001;
@@ -437,19 +400,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                consistencyToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              consistencyToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -459,25 +420,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object consistencyToken_ = "";
     /**
-     *
-     *
      * 
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The consistencyToken. */ public java.lang.String getConsistencyToken() { java.lang.Object ref = consistencyToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); consistencyToken_ = s; return s; @@ -486,21 +444,20 @@ public java.lang.String getConsistencyToken() { } } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return The bytes for consistencyToken. */ - public com.google.protobuf.ByteString getConsistencyTokenBytes() { + public com.google.protobuf.ByteString + getConsistencyTokenBytes() { java.lang.Object ref = consistencyToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); consistencyToken_ = b; return b; } else { @@ -508,35 +465,28 @@ public com.google.protobuf.ByteString getConsistencyTokenBytes() { } } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @param value The consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @return This builder for chaining. */ public Builder clearConsistencyToken() { @@ -546,30 +496,26 @@ public Builder clearConsistencyToken() { return this; } /** - * - * *
      * The generated consistency token.
      * 
* * string consistency_token = 1; - * * @param value The bytes for consistencyToken to set. * @return This builder for chaining. */ - public Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setConsistencyTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); consistencyToken_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -579,13 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) - private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse(); } @@ -594,27 +539,27 @@ public static com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateConsistencyTokenResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateConsistencyTokenResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -629,4 +574,6 @@ public com.google.protobuf.Parser getParserFor public com.google.bigtable.admin.v2.GenerateConsistencyTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java new file mode 100644 index 0000000000..082dce3212 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java @@ -0,0 +1,29 @@ +// 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 GenerateConsistencyTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The generated consistency token.
+   * 
+ * + * string consistency_token = 1; + * @return The consistencyToken. + */ + java.lang.String getConsistencyToken(); + /** + *
+   * The generated consistency token.
+   * 
+ * + * string consistency_token = 1; + * @return The bytes for consistencyToken. + */ + com.google.protobuf.ByteString + getConsistencyTokenBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java index 7e2d9e2c82..3686734ee7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ -public final class GetAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetAppProfileRequest) GetAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetAppProfileRequest.newBuilder() to construct. private GetAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetAppProfileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested app profile. Values are of the form
    * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetAppProfileRequest other = - (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; + com.google.bigtable.admin.v2.GetAppProfileRequest other = (com.google.bigtable.admin.v2.GetAppProfileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,135 +157,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest 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.GetAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetAppProfileRequest) com.google.bigtable.admin.v2.GetAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetAppProfileRequest.class, - com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.GetAppProfileRequest.class, com.google.bigtable.admin.v2.GetAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.GetAppProfileRequest result = - new com.google.bigtable.admin.v2.GetAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetAppProfileRequest result = new com.google.bigtable.admin.v2.GetAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetAppProfileRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetAppProfileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested app profile. Values are of the form
      * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetAppProfileRequest) private static final com.google.bigtable.admin.v2.GetAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetAppProfileRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java new file mode 100644 index 0000000000..2ed3f34aa3 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetAppProfileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetAppProfileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested app profile. Values are of the form
+   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java index fbbc04583a..bf3e6be50b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetBackupRequest}
  */
-public final class GetBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetBackupRequest)
     GetBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetBackupRequest.newBuilder() to construct.
   private GetBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetBackupRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetBackupRequest.class,
-            com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the backup.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetBackupRequest other = - (com.google.bigtable.admin.v2.GetBackupRequest) obj; + com.google.bigtable.admin.v2.GetBackupRequest other = (com.google.bigtable.admin.v2.GetBackupRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,104 +159,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup].
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetBackupRequest)
       com.google.bigtable.admin.v2.GetBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetBackupRequest.class,
-              com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetBackupRequest.class, com.google.bigtable.admin.v2.GetBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.GetBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetBackupRequest result =
-          new com.google.bigtable.admin.v2.GetBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetBackupRequest result = new com.google.bigtable.admin.v2.GetBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetBackupRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -439,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -492,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -518,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -564,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the backup.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetBackupRequest) private static final com.google.bigtable.admin.v2.GetBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetBackupRequest(); } @@ -615,27 +553,27 @@ public static com.google.bigtable.admin.v2.GetBackupRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -650,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java new file mode 100644 index 0000000000..ee25cfddc0 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetBackupRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetBackupRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the backup.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java index 87bd016968..b4b468798a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ -public final class GetClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetClusterRequest) GetClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetClusterRequest.newBuilder() to construct. private GetClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetClusterRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested cluster. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetClusterRequest other = - (com.google.bigtable.admin.v2.GetClusterRequest) obj; + com.google.bigtable.admin.v2.GetClusterRequest other = (com.google.bigtable.admin.v2.GetClusterRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest 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.GetClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetClusterRequest) com.google.bigtable.admin.v2.GetClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetClusterRequest.class, - com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); + com.google.bigtable.admin.v2.GetClusterRequest.class, com.google.bigtable.admin.v2.GetClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetClusterRequest buildPartial() { - com.google.bigtable.admin.v2.GetClusterRequest result = - new com.google.bigtable.admin.v2.GetClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetClusterRequest result = new com.google.bigtable.admin.v2.GetClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetClusterRequest result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -435,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -457,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -487,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -512,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -556,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested cluster. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -592,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetClusterRequest) private static final com.google.bigtable.admin.v2.GetClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetClusterRequest(); } @@ -606,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java new file mode 100644 index 0000000000..de11736bdd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetClusterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetClusterRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested cluster. Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java index 9206fe6aef..3649fb85e1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequest.java @@ -1,83 +1,58 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.GetInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ -public final class GetInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetInstanceRequest) GetInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetInstanceRequest.newBuilder() to construct. private GetInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetInstanceRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -86,32 +61,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested instance. Values are of the form
    * `projects/{project}/instances/{instance}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -120,7 +93,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -132,7 +104,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -156,15 +129,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetInstanceRequest other = - (com.google.bigtable.admin.v2.GetInstanceRequest) obj; + com.google.bigtable.admin.v2.GetInstanceRequest other = (com.google.bigtable.admin.v2.GetInstanceRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -183,136 +156,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.GetInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.GetInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetInstanceRequest) com.google.bigtable.admin.v2.GetInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.GetInstanceRequest.class, - com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.GetInstanceRequest.class, com.google.bigtable.admin.v2.GetInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.GetInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -322,9 +291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; } @java.lang.Override @@ -343,11 +312,8 @@ public com.google.bigtable.admin.v2.GetInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.GetInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.GetInstanceRequest result = - new com.google.bigtable.admin.v2.GetInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.GetInstanceRequest result = new com.google.bigtable.admin.v2.GetInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -363,39 +329,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetInstanceRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.GetInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.GetInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -403,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.GetInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.GetInstanceRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -436,19 +400,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -458,28 +420,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -488,24 +445,21 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -513,41 +467,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -557,33 +500,27 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested instance. Values are of the form
      * `projects/{project}/instances/{instance}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -593,12 +530,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetInstanceRequest) private static final com.google.bigtable.admin.v2.GetInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetInstanceRequest(); } @@ -607,27 +544,27 @@ public static com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -642,4 +579,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java new file mode 100644 index 0000000000..5f46e6ad12 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java @@ -0,0 +1,31 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface GetInstanceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetInstanceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested instance. Values are of the form
+   * `projects/{project}/instances/{instance}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java index f5af0a39d3..d2ecc6d725 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -33,58 +16,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
  */
-public final class GetSnapshotRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetSnapshotRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetSnapshotRequest)
     GetSnapshotRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetSnapshotRequest.newBuilder() to construct.
   private GetSnapshotRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetSnapshotRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetSnapshotRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-            com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -93,33 +68,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested snapshot.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -128,7 +101,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -140,7 +112,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -164,15 +137,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetSnapshotRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetSnapshotRequest other = - (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; + com.google.bigtable.admin.v2.GetSnapshotRequest other = (com.google.bigtable.admin.v2.GetSnapshotRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -191,104 +164,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest 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.GetSnapshotRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetSnapshotRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetSnapshotRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetSnapshotRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
@@ -301,32 +269,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetSnapshotRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetSnapshotRequest)
       com.google.bigtable.admin.v2.GetSnapshotRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetSnapshotRequest.class,
-              com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetSnapshotRequest.class, com.google.bigtable.admin.v2.GetSnapshotRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetSnapshotRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -336,9 +305,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetSnapshotRequest_descriptor;
     }
 
     @java.lang.Override
@@ -357,11 +326,8 @@ public com.google.bigtable.admin.v2.GetSnapshotRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetSnapshotRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetSnapshotRequest result =
-          new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetSnapshotRequest result = new com.google.bigtable.admin.v2.GetSnapshotRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -377,39 +343,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetSnapshotRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetSnapshotRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetSnapshotRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,8 +382,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.GetSnapshotRequest other) {
-      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.GetSnapshotRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -450,19 +414,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -472,29 +434,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -503,25 +460,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,43 +483,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -575,34 +518,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested snapshot.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -612,12 +549,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetSnapshotRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetSnapshotRequest) private static final com.google.bigtable.admin.v2.GetSnapshotRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetSnapshotRequest(); } @@ -626,27 +563,27 @@ public static com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetSnapshotRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetSnapshotRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,4 +598,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetSnapshotRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java new file mode 100644 index 0000000000..af176c000d --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 GetSnapshotRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetSnapshotRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the requested snapshot.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java index 324b86085e..7301c1b83a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
  */
-public final class GetTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GetTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.GetTableRequest)
     GetTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GetTableRequest.newBuilder() to construct.
   private GetTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GetTableRequest() {
     name_ = "";
     view_ = 0;
@@ -45,42 +27,35 @@ private GetTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.GetTableRequest.class,
-            com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -126,42 +99,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -173,7 +136,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -193,7 +157,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -203,15 +168,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.GetTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.GetTableRequest other = - (com.google.bigtable.admin.v2.GetTableRequest) obj; + com.google.bigtable.admin.v2.GetTableRequest other = (com.google.bigtable.admin.v2.GetTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -233,104 +198,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest 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.GetTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.GetTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.GetTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.GetTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
@@ -338,32 +298,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.GetTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.GetTableRequest)
       com.google.bigtable.admin.v2.GetTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.GetTableRequest.class,
-              com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.GetTableRequest.class, com.google.bigtable.admin.v2.GetTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.GetTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,9 +335,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_GetTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -395,11 +356,8 @@ public com.google.bigtable.admin.v2.GetTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.GetTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.GetTableRequest result =
-          new com.google.bigtable.admin.v2.GetTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.GetTableRequest result = new com.google.bigtable.admin.v2.GetTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -418,39 +376,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.GetTableRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.GetTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.GetTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,25 +450,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -521,29 +475,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -552,25 +501,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -578,43 +524,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -624,25 +559,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the requested table.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -652,31 +581,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -687,33 +609,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -727,15 +642,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned table's fields.
      * Defaults to `SCHEMA_VIEW` if unspecified.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -744,9 +656,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +668,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.GetTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.GetTableRequest) private static final com.google.bigtable.admin.v2.GetTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.GetTableRequest(); } @@ -770,27 +682,27 @@ public static com.google.bigtable.admin.v2.GetTableRequest getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -805,4 +717,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.GetTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java index 3fb8ecacbe..a6f3f0e26d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetTableRequestOrBuilder.java @@ -1,84 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 GetTableRequestOrBuilder - extends +public interface GetTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the requested table.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view to be applied to the returned table's fields.
    * Defaults to `SCHEMA_VIEW` if unspecified.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ com.google.bigtable.admin.v2.Table.View getView(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java index 72cb91540b..b1a3ef3748 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTablet.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A tablet is a defined by a start and end key and is explained in
  * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -31,16 +14,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
  */
-public final class HotTablet extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class HotTablet extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.HotTablet)
     HotTabletOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use HotTablet.newBuilder() to construct.
   private HotTablet(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private HotTablet() {
     name_ = "";
     tableName_ = "";
@@ -50,39 +32,34 @@ private HotTablet() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new HotTablet();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.HotTablet.class,
-            com.google.bigtable.admin.v2.HotTablet.Builder.class);
+            com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -91,30 +68,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,19 +100,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int TABLE_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ @java.lang.Override @@ -144,30 +117,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -178,15 +151,11 @@ public com.google.protobuf.ByteString getTableNameBytes() { public static final int START_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -194,15 +163,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -210,14 +175,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -227,15 +189,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -243,15 +201,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -259,14 +213,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -274,18 +225,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } public static final int START_KEY_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object startKey_ = ""; /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ @java.lang.Override @@ -294,29 +241,29 @@ public java.lang.String getStartKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; } } /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The bytes for startKey. */ @java.lang.Override - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -325,18 +272,14 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } public static final int END_KEY_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object endKey_ = ""; /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ @java.lang.Override @@ -345,29 +288,29 @@ public java.lang.String getEndKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; } } /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The bytes for endKey. */ @java.lang.Override - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -378,8 +321,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() { public static final int NODE_CPU_USAGE_PERCENT_FIELD_NUMBER = 7; private float nodeCpuUsagePercent_ = 0F; /** - * - * *
    * Output only. The average CPU usage spent by a node on this tablet over the start_time to
    * end_time time range. The percentage is the amount of CPU used by the node
@@ -388,7 +329,6 @@ public com.google.protobuf.ByteString getEndKeyBytes() {
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -397,7 +337,6 @@ public float getNodeCpuUsagePercent() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -409,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -447,10 +387,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(startKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, startKey_); @@ -459,7 +401,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, endKey_); } if (java.lang.Float.floatToRawIntBits(nodeCpuUsagePercent_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeFloatSize(7, nodeCpuUsagePercent_); + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(7, nodeCpuUsagePercent_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -469,27 +412,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.HotTablet)) { return super.equals(obj); } com.google.bigtable.admin.v2.HotTablet other = (com.google.bigtable.admin.v2.HotTablet) obj; - if (!getName().equals(other.getName())) return false; - if (!getTableName().equals(other.getTableName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (!getStartKey().equals(other.getStartKey())) return false; - if (!getEndKey().equals(other.getEndKey())) return false; + if (!getStartKey() + .equals(other.getStartKey())) return false; + if (!getEndKey() + .equals(other.getEndKey())) return false; if (java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()) - != java.lang.Float.floatToIntBits(other.getNodeCpuUsagePercent())) return false; + != java.lang.Float.floatToIntBits( + other.getNodeCpuUsagePercent())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -518,110 +468,106 @@ public int hashCode() { hash = (37 * hash) + END_KEY_FIELD_NUMBER; hash = (53 * hash) + getEndKey().hashCode(); hash = (37 * hash) + NODE_CPU_USAGE_PERCENT_FIELD_NUMBER; - hash = (53 * hash) + java.lang.Float.floatToIntBits(getNodeCpuUsagePercent()); + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getNodeCpuUsagePercent()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.HotTablet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet 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.HotTablet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.HotTablet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.HotTablet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.HotTablet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A tablet is a defined by a start and end key and is explained in
    * https://cloud.google.com/bigtable/docs/overview#architecture and
@@ -632,32 +578,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.HotTablet}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.HotTablet)
       com.google.bigtable.admin.v2.HotTabletOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.HotTablet.class,
-              com.google.bigtable.admin.v2.HotTablet.Builder.class);
+              com.google.bigtable.admin.v2.HotTablet.class, com.google.bigtable.admin.v2.HotTablet.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.HotTablet.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -681,9 +628,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_HotTablet_descriptor;
     }
 
     @java.lang.Override
@@ -702,11 +649,8 @@ public com.google.bigtable.admin.v2.HotTablet build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.HotTablet buildPartial() {
-      com.google.bigtable.admin.v2.HotTablet result =
-          new com.google.bigtable.admin.v2.HotTablet(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.HotTablet result = new com.google.bigtable.admin.v2.HotTablet(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -720,10 +664,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
         result.tableName_ = tableName_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.startKey_ = startKey_;
@@ -740,39 +688,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.HotTablet result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.HotTablet) {
-        return mergeFrom((com.google.bigtable.admin.v2.HotTablet) other);
+        return mergeFrom((com.google.bigtable.admin.v2.HotTablet)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -836,55 +783,51 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                startKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 50:
-              {
-                endKey_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 50
-            case 61:
-              {
-                nodeCpuUsagePercent_ = input.readFloat();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 61
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              startKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 50: {
+              endKey_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 50
+            case 61: {
+              nodeCpuUsagePercent_ = input.readFloat();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 61
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -894,26 +837,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -922,22 +862,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -945,37 +884,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -985,22 +917,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the hot tablet. Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1010,21 +938,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableName_ = ""; /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1033,22 +959,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1056,37 +981,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTableName() { @@ -1096,22 +1014,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Name of the table that contains the tablet. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
      * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000002; @@ -1121,35 +1035,24 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1160,14 +1063,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -1183,16 +1083,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1203,20 +1101,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1229,14 +1124,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -1249,14 +1141,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; @@ -1264,44 +1153,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. The start time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -1309,35 +1190,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1348,14 +1218,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -1371,16 +1238,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1391,20 +1256,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1417,14 +1279,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1437,14 +1296,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; @@ -1452,44 +1308,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. The end time of the hot tablet.
      * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1497,20 +1345,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object startKey_ = ""; /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The startKey. */ public java.lang.String getStartKey() { java.lang.Object ref = startKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); startKey_ = s; return s; @@ -1519,21 +1365,20 @@ public java.lang.String getStartKey() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return The bytes for startKey. */ - public com.google.protobuf.ByteString getStartKeyBytes() { + public com.google.protobuf.ByteString + getStartKeyBytes() { java.lang.Object ref = startKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); startKey_ = b; return b; } else { @@ -1541,35 +1386,28 @@ public com.google.protobuf.ByteString getStartKeyBytes() { } } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The startKey to set. * @return This builder for chaining. */ - public Builder setStartKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } startKey_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @return This builder for chaining. */ public Builder clearStartKey() { @@ -1579,21 +1417,17 @@ public Builder clearStartKey() { return this; } /** - * - * *
      * Tablet Start Key (inclusive).
      * 
* * string start_key = 5; - * * @param value The bytes for startKey to set. * @return This builder for chaining. */ - public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStartKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); startKey_ = value; bitField0_ |= 0x00000010; @@ -1603,20 +1437,18 @@ public Builder setStartKeyBytes(com.google.protobuf.ByteString value) { private java.lang.Object endKey_ = ""; /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The endKey. */ public java.lang.String getEndKey() { java.lang.Object ref = endKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); endKey_ = s; return s; @@ -1625,21 +1457,20 @@ public java.lang.String getEndKey() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return The bytes for endKey. */ - public com.google.protobuf.ByteString getEndKeyBytes() { + public com.google.protobuf.ByteString + getEndKeyBytes() { java.lang.Object ref = endKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); endKey_ = b; return b; } else { @@ -1647,35 +1478,28 @@ public com.google.protobuf.ByteString getEndKeyBytes() { } } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The endKey to set. * @return This builder for chaining. */ - public Builder setEndKey(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKey( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } endKey_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @return This builder for chaining. */ public Builder clearEndKey() { @@ -1685,21 +1509,17 @@ public Builder clearEndKey() { return this; } /** - * - * *
      * Tablet End Key (inclusive).
      * 
* * string end_key = 6; - * * @param value The bytes for endKey to set. * @return This builder for chaining. */ - public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setEndKeyBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endKey_ = value; bitField0_ |= 0x00000020; @@ -1707,10 +1527,8 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) { return this; } - private float nodeCpuUsagePercent_; + private float nodeCpuUsagePercent_ ; /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1719,7 +1537,6 @@ public Builder setEndKeyBytes(com.google.protobuf.ByteString value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ @java.lang.Override @@ -1727,8 +1544,6 @@ public float getNodeCpuUsagePercent() { return nodeCpuUsagePercent_; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1737,7 +1552,6 @@ public float getNodeCpuUsagePercent() {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The nodeCpuUsagePercent to set. * @return This builder for chaining. */ @@ -1749,8 +1563,6 @@ public Builder setNodeCpuUsagePercent(float value) { return this; } /** - * - * *
      * Output only. The average CPU usage spent by a node on this tablet over the start_time to
      * end_time time range. The percentage is the amount of CPU used by the node
@@ -1759,7 +1571,6 @@ public Builder setNodeCpuUsagePercent(float value) {
      * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearNodeCpuUsagePercent() { @@ -1768,9 +1579,9 @@ public Builder clearNodeCpuUsagePercent() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1780,12 +1591,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.HotTablet) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.HotTablet) private static final com.google.bigtable.admin.v2.HotTablet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.HotTablet(); } @@ -1794,27 +1605,27 @@ public static com.google.bigtable.admin.v2.HotTablet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public HotTablet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public HotTablet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1829,4 +1640,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.HotTablet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java index 54a2486d44..4e2f9eb789 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/HotTabletOrBuilder.java @@ -1,211 +1,151 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface HotTabletOrBuilder - extends +public interface HotTabletOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.HotTablet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the hot tablet. Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/[a-zA-Z0-9_-]*`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Name of the table that contains the tablet. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
    * 
* * string table_name = 2 [(.google.api.resource_reference) = { ... } - * * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. The start time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. The end time of the hot tablet.
    * 
* - * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The startKey. */ java.lang.String getStartKey(); /** - * - * *
    * Tablet Start Key (inclusive).
    * 
* * string start_key = 5; - * * @return The bytes for startKey. */ - com.google.protobuf.ByteString getStartKeyBytes(); + com.google.protobuf.ByteString + getStartKeyBytes(); /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The endKey. */ java.lang.String getEndKey(); /** - * - * *
    * Tablet End Key (inclusive).
    * 
* * string end_key = 6; - * * @return The bytes for endKey. */ - com.google.protobuf.ByteString getEndKeyBytes(); + com.google.protobuf.ByteString + getEndKeyBytes(); /** - * - * *
    * Output only. The average CPU usage spent by a node on this tablet over the start_time to
    * end_time time range. The percentage is the amount of CPU used by the node
@@ -214,7 +154,6 @@ public interface HotTabletOrBuilder
    * 
* * float node_cpu_usage_percent = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The nodeCpuUsagePercent. */ float getNodeCpuUsagePercent(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java index 3d2c67a33a..3db29a94ea 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Instance.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
  * the resources that serve them.
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Instance}
  */
-public final class Instance extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Instance extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Instance)
     InstanceOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Instance.newBuilder() to construct.
   private Instance(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Instance() {
     name_ = "";
     displayName_ = "";
@@ -49,49 +31,46 @@ private Instance() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Instance();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 5:
         return internalGetLabels();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.InstanceProto
-        .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+    return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Instance.class,
-            com.google.bigtable.admin.v2.Instance.Builder.class);
+            com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of an instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the instance could not be determined.
      * 
@@ -100,8 +79,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -111,8 +88,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(1),
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -125,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the instance could not be determined.
      * 
@@ -135,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The instance has been successfully created and can serve requests
      * to its tables.
@@ -146,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 1;
     /**
-     *
-     *
      * 
      * The instance is currently being created, and may be destroyed
      * if the creation process encounters an error.
@@ -157,6 +126,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -181,49 +151,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -241,18 +211,15 @@ private State(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The type of the instance.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Instance.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -263,8 +230,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     TYPE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -274,8 +239,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     PRODUCTION(1),
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -288,8 +251,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The type of the instance is unspecified. If set when creating an
      * instance, a `PRODUCTION` instance will be created. If set when updating
@@ -300,8 +261,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TYPE_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * An instance meant for production use. `serve_nodes` must be set
      * on the cluster.
@@ -311,8 +270,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRODUCTION_VALUE = 1;
     /**
-     *
-     *
      * 
      * DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
      * a higher minimum node count than DEVELOPMENT.
@@ -322,6 +279,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEVELOPMENT_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -346,49 +304,49 @@ public static Type valueOf(int value) {
      */
     public static Type forNumber(int value) {
       switch (value) {
-        case 0:
-          return TYPE_UNSPECIFIED;
-        case 1:
-          return PRODUCTION;
-        case 2:
-          return DEVELOPMENT;
-        default:
-          return null;
+        case 0: return TYPE_UNSPECIFIED;
+        case 1: return PRODUCTION;
+        case 2: return DEVELOPMENT;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        Type> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public Type findValueByNumber(int number) {
+              return Type.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public Type findValueByNumber(int number) {
-            return Type.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Instance.getDescriptor().getEnumTypes().get(1);
     }
 
     private static final Type[] VALUES = values();
 
-    public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Type valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -407,19 +365,15 @@ private Type(int value) {
 
   private int bitField0_;
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -428,30 +382,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -460,12 +414,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int DISPLAY_NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object displayName_ = ""; /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -473,7 +424,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ @java.lang.Override @@ -482,15 +432,14 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -498,15 +447,16 @@ public java.lang.String getDisplayName() {
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -517,104 +467,84 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int STATE_FIELD_NUMBER = 3; private int state_ = 0; /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 4; private int type_ = 0; /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } public static final int LABELS_FIELD_NUMBER = 5; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.bigtable.admin.v2.InstanceProto - .internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -632,21 +562,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -668,8 +597,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -687,19 +614,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -717,11 +642,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 5;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -731,17 +656,13 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 7;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -749,17 +670,13 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -767,16 +684,13 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -786,14 +700,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int SATISFIES_PZS_FIELD_NUMBER = 8; private boolean satisfiesPzs_ = false; /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -801,14 +712,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -817,7 +725,6 @@ public boolean getSatisfiesPzs() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -829,7 +736,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -842,8 +750,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(4, type_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 5); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 5); if (createTime_ != null) { output.writeMessage(7, getCreateTime()); } @@ -866,26 +778,30 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_); } if (state_ != com.google.bigtable.admin.v2.Instance.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, state_); } if (type_ != com.google.bigtable.admin.v2.Instance.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, type_); - } - for (java.util.Map.Entry entry : - internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry labels__ = - LabelsDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, labels__); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, type_); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, labels__); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, satisfiesPzs_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(8, satisfiesPzs_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -895,25 +811,30 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Instance)) { return super.equals(obj); } com.google.bigtable.admin.v2.Instance other = (com.google.bigtable.admin.v2.Instance) obj; - if (!getName().equals(other.getName())) return false; - if (!getDisplayName().equals(other.getDisplayName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getDisplayName() + .equals(other.getDisplayName())) return false; if (state_ != other.state_) return false; if (type_ != other.type_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasSatisfiesPzs() != other.hasSatisfiesPzs()) return false; if (hasSatisfiesPzs()) { - if (getSatisfiesPzs() != other.getSatisfiesPzs()) return false; + if (getSatisfiesPzs() + != other.getSatisfiesPzs()) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -944,110 +865,107 @@ public int hashCode() { } if (hasSatisfiesPzs()) { hash = (37 * hash) + SATISFIES_PZS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSatisfiesPzs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSatisfiesPzs()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Instance parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Instance parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Instance parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Instance parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Instance parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Instance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
    * the resources that serve them.
@@ -1057,52 +975,55 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Instance}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Instance)
       com.google.bigtable.admin.v2.InstanceOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 5:
           return internalGetMutableLabels();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Instance.class,
-              com.google.bigtable.admin.v2.Instance.Builder.class);
+              com.google.bigtable.admin.v2.Instance.class, com.google.bigtable.admin.v2.Instance.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Instance.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1122,9 +1043,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.InstanceProto
-          .internal_static_google_bigtable_admin_v2_Instance_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.InstanceProto.internal_static_google_bigtable_admin_v2_Instance_descriptor;
     }
 
     @java.lang.Override
@@ -1143,11 +1064,8 @@ public com.google.bigtable.admin.v2.Instance build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Instance buildPartial() {
-      com.google.bigtable.admin.v2.Instance result =
-          new com.google.bigtable.admin.v2.Instance(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Instance result = new com.google.bigtable.admin.v2.Instance(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1171,7 +1089,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000040) != 0)) {
@@ -1185,39 +1105,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Instance result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Instance) {
-        return mergeFrom((com.google.bigtable.admin.v2.Instance) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Instance)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1242,7 +1161,8 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Instance other) {
       if (other.type_ != 0) {
         setTypeValue(other.getTypeValue());
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000010;
       if (other.hasCreateTime()) {
         mergeCreateTime(other.getCreateTime());
@@ -1276,61 +1196,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                displayName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                type_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 58:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 58
-            case 64:
-              {
-                satisfiesPzs_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 64
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              displayName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              type_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 58: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 58
+            case 64: {
+              satisfiesPzs_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 64
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1340,26 +1252,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1368,22 +1277,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1391,37 +1299,30 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1431,22 +1332,18 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the instance. Values are of the form
      * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1456,8 +1353,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1465,13 +1360,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -1480,8 +1375,6 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1489,14 +1382,15 @@ public java.lang.String getDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -1504,8 +1398,6 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1513,22 +1405,18 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } displayName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1536,7 +1424,6 @@ public Builder setDisplayName(java.lang.String value) {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearDisplayName() { @@ -1546,8 +1433,6 @@ public Builder clearDisplayName() { return this; } /** - * - * *
      * Required. The descriptive name for this instance as it appears in UIs.
      * Can be changed at any time, but should be kept globally unique
@@ -1555,14 +1440,12 @@ public Builder clearDisplayName() {
      * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); displayName_ = value; bitField0_ |= 0x00000002; @@ -1572,31 +1455,24 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1607,33 +1483,26 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.State getState() { - com.google.bigtable.admin.v2.Instance.State result = - com.google.bigtable.admin.v2.Instance.State.forNumber(state_); + com.google.bigtable.admin.v2.Instance.State result = com.google.bigtable.admin.v2.Instance.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Instance.State.UNRECOGNIZED : result; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1647,15 +1516,12 @@ public Builder setState(com.google.bigtable.admin.v2.Instance.State value) { return this; } /** - * - * *
      * (`OutputOnly`)
      * The current state of the instance.
      * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1667,29 +1533,22 @@ public Builder clearState() { private int type_ = 0; /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -1700,31 +1559,24 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance.Type getType() { - com.google.bigtable.admin.v2.Instance.Type result = - com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); + com.google.bigtable.admin.v2.Instance.Type result = com.google.bigtable.admin.v2.Instance.Type.forNumber(type_); return result == null ? com.google.bigtable.admin.v2.Instance.Type.UNRECOGNIZED : result; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @param value The type to set. * @return This builder for chaining. */ @@ -1738,14 +1590,11 @@ public Builder setType(com.google.bigtable.admin.v2.Instance.Type value) { return this; } /** - * - * *
      * The type of the instance. Defaults to `PRODUCTION`.
      * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return This builder for chaining. */ public Builder clearType() { @@ -1755,19 +1604,21 @@ public Builder clearType() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1776,13 +1627,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1800,21 +1648,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1836,8 +1683,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1855,19 +1700,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1885,25 +1728,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 5;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000010);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1920,22 +1761,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000010;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1952,20 +1794,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000010;
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels are a flexible and lightweight mechanism for organizing cloud
      * resources into groups that reflect a customer's organizational needs and
@@ -1982,72 +1821,55 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 5;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000010;
       return this;
     }
 
     private com.google.protobuf.Timestamp createTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        createTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_;
     /**
-     *
-     *
      * 
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2063,19 +1885,16 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -2086,23 +1905,19 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000020) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -2115,17 +1930,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000020); @@ -2138,17 +1949,13 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000020; @@ -2156,67 +1963,52 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. A server-assigned timestamp representing when this Instance was created.
      * For instances created before this field was added (August 2021), this value
      * is `seconds: 0, nanos: 1`.
      * 
* - * - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; } - private boolean satisfiesPzs_; + private boolean satisfiesPzs_ ; /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ @java.lang.Override @@ -2224,14 +2016,11 @@ public boolean hasSatisfiesPzs() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ @java.lang.Override @@ -2239,14 +2028,11 @@ public boolean getSatisfiesPzs() { return satisfiesPzs_; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The satisfiesPzs to set. * @return This builder for chaining. */ @@ -2258,14 +2044,11 @@ public Builder setSatisfiesPzs(boolean value) { return this; } /** - * - * *
      * Output only. Reserved for future use.
      * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { @@ -2274,9 +2057,9 @@ public Builder clearSatisfiesPzs() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2286,12 +2069,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Instance) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Instance) private static final com.google.bigtable.admin.v2.Instance DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Instance(); } @@ -2300,27 +2083,27 @@ public static com.google.bigtable.admin.v2.Instance getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Instance parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Instance parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2335,4 +2118,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Instance getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java similarity index 84% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java index 6a3b2c8e5c..7348359ffc 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto package com.google.bigtable.admin.v2; -public interface InstanceOrBuilder - extends +public interface InstanceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Instance) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the instance. Values are of the form
    * `projects/{project}/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -60,13 +37,10 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * Required. The descriptive name for this instance as it appears in UIs.
    * Can be changed at any time, but should be kept globally unique
@@ -74,66 +48,52 @@ public interface InstanceOrBuilder
    * 
* * string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * (`OutputOnly`)
    * The current state of the instance.
    * 
* * .google.bigtable.admin.v2.Instance.State state = 3; - * * @return The state. */ com.google.bigtable.admin.v2.Instance.State getState(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The type of the instance. Defaults to `PRODUCTION`.
    * 
* * .google.bigtable.admin.v2.Instance.Type type = 4; - * * @return The type. */ com.google.bigtable.admin.v2.Instance.Type getType(); /** - * - * *
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -152,8 +112,6 @@ public interface InstanceOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -170,13 +128,15 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  boolean containsLabels(java.lang.String key);
-  /** Use {@link #getLabelsMap()} instead. */
+  boolean containsLabels(
+      java.lang.String key);
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getLabels();
+  java.util.Map
+  getLabels();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -193,10 +153,9 @@ public interface InstanceOrBuilder
    *
    * map<string, string> labels = 5;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -214,13 +173,11 @@ public interface InstanceOrBuilder
    * map<string, string> labels = 5;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels are a flexible and lightweight mechanism for organizing cloud
    * resources into groups that reflect a customer's organizational needs and
@@ -237,73 +194,57 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 5;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * Output only. A server-assigned timestamp representing when this Instance was created.
    * For instances created before this field was added (August 2021), this value
    * is `seconds: 0, nanos: 1`.
    * 
* - * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the satisfiesPzs field is set. */ boolean hasSatisfiesPzs(); /** - * - * *
    * Output only. Reserved for future use.
    * 
* * optional bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java new file mode 100644 index 0000000000..cec675b8bc --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java @@ -0,0 +1,263 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/instance.proto + +package com.google.bigtable.admin.v2; + +public final class InstanceProto { + private InstanceProto() {} + 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_Instance_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_HotTablet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\'google/bigtable/admin/v2/instance.prot" + + "o\022\030google.bigtable.admin.v2\032\037google/api/" + + "field_behavior.proto\032\031google/api/resourc" + + "e.proto\032%google/bigtable/admin/v2/common" + + ".proto\032\037google/protobuf/timestamp.proto\"" + + "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" + + "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" + + "igtable.admin.v2.Instance.State\0225\n\004type\030" + + "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" + + "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" + + ".admin.v2.Instance.LabelsEntry\0225\n\013create" + + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" + + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" + + "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" + + "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" + + "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" + + "Instance\022\'projects/{project}/instances/{" + + "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" + + "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" + + "(\005\022(\n storage_utilization_gib_per_node\030\003" + + " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" + + "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" + + "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" + + "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" + + "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." + + "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" + + "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" + + "(\0132/.google.bigtable.admin.v2.Cluster.Cl" + + "usterConfigH\000\022I\n\024default_storage_type\030\005 " + + "\001(\0162%.google.bigtable.admin.v2.StorageTy" + + "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" + + "ogle.bigtable.admin.v2.Cluster.Encryptio" + + "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" + + "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." + + "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" + + "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." + + "bigtable.admin.v2.AutoscalingTargetsB\004\342A" + + "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" + + "ng_config\030\001 \001(\0132:.google.bigtable.admin." + + "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" + + "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" + + "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" + + "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" + + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" + + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" + + "ter\022:projects/{project}/instances/{insta" + + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" + + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" + + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" + + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" + + ".v2.AppProfile.MultiClusterRoutingUseAny" + + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" + + "gle.bigtable.admin.v2.AppProfile.SingleC" + + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" + + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" + + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" + + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" + + "admin.googleapis.com/AppProfile\022Aproject" + + "s/{project}/instances/{instance}/appProf" + + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" + + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" + + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" + + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." + + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" + + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" + + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" + + "admin.googleapis.com/HotTablet\022Rprojects" + + "/{project}/instances/{instance}/clusters" + + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" + + "om.google.bigtable.admin.v2B\rInstancePro" + + "toP\001Z=google.golang.org/genproto/googlea" + + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" + + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" + + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" + + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" + + "ryptoKey\022Sprojects/{project}/locations/{" + + "location}/keyRings/{key_ring}/cryptoKeys" + + "/{crypto_key}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.bigtable.admin.v2.CommonProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_Instance_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_descriptor, + new java.lang.String[] { "Name", "DisplayName", "State", "Type", "Labels", "CreateTime", "SatisfiesPzs", "SatisfiesPzs", }); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = + internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, + new java.lang.String[] { "CpuUtilizationPercent", "StorageUtilizationGibPerNode", }); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, + new java.lang.String[] { "MinServeNodes", "MaxServeNodes", }); + internal_static_google_bigtable_admin_v2_Cluster_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_descriptor, + new java.lang.String[] { "Name", "Location", "State", "ServeNodes", "ClusterConfig", "DefaultStorageType", "EncryptionConfig", "Config", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, + new java.lang.String[] { "AutoscalingLimits", "AutoscalingTargets", }); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, + new java.lang.String[] { "ClusterAutoscalingConfig", }); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = + internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, + new java.lang.String[] { "KmsKeyName", }); + internal_static_google_bigtable_admin_v2_AppProfile_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_descriptor, + new java.lang.String[] { "Name", "Etag", "Description", "MultiClusterRoutingUseAny", "SingleClusterRouting", "RoutingPolicy", }); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, + new java.lang.String[] { "ClusterIds", }); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = + internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, + new java.lang.String[] { "ClusterId", "AllowTransactionalWrites", }); + internal_static_google_bigtable_admin_v2_HotTablet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_HotTablet_descriptor, + new java.lang.String[] { "Name", "TableName", "StartTime", "EndTime", "StartKey", "EndKey", "NodeCpuUsagePercent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.bigtable.admin.v2.CommonProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java index 16bb8acbb9..727beaf610 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ -public final class ListAppProfilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesRequest) ListAppProfilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesRequest.newBuilder() to construct. private ListAppProfilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListAppProfilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -78,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,15 +65,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -107,18 +81,17 @@ public java.lang.String getParent() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -129,8 +102,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 3; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -144,7 +115,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -153,18 +123,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -173,29 +139,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -204,7 +170,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -242,7 +208,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,17 +219,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesRequest other = - (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; + com.google.bigtable.admin.v2.ListAppProfilesRequest other = (com.google.bigtable.admin.v2.ListAppProfilesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -286,135 +255,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest 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.ListAppProfilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.bigtable.admin.v2.ListAppProfilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesRequest.class, - com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesRequest.class, com.google.bigtable.admin.v2.ListAppProfilesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -426,9 +391,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; } @java.lang.Override @@ -447,11 +412,8 @@ public com.google.bigtable.admin.v2.ListAppProfilesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesRequest buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesRequest result = - new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListAppProfilesRequest result = new com.google.bigtable.admin.v2.ListAppProfilesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -473,39 +435,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesRequest r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesRequest)other); } else { super.mergeFrom(other); return this; @@ -513,8 +474,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesRequest other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -554,31 +514,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 24: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 24: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -588,13 +544,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -603,16 +556,14 @@ public Builder mergeFrom(
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,8 +572,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -631,17 +580,16 @@ public java.lang.String getParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -649,8 +597,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -659,25 +605,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -686,10 +626,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -699,8 +636,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of app profiles is
      * requested. Values are of the form
@@ -709,17 +644,13 @@ public Builder clearParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -727,10 +658,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -744,7 +673,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 3; - * * @return The pageSize. */ @java.lang.Override @@ -752,8 +680,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -767,7 +693,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 3; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -779,8 +704,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -794,7 +717,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 3; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -806,20 +728,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -828,21 +748,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -850,35 +769,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -888,30 +800,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -921,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesRequest) private static final com.google.bigtable.admin.v2.ListAppProfilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesRequest(); } @@ -935,27 +843,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -970,4 +878,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java index 5391070f6f..28398722c6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListAppProfilesRequestOrBuilder - extends +public interface ListAppProfilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListAppProfilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -34,16 +16,11 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which a list of app profiles is
    * requested. Values are of the form
@@ -52,17 +29,13 @@ public interface ListAppProfilesRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -76,33 +49,27 @@ public interface ListAppProfilesRequestOrBuilder
    * 
* * int32 page_size = 3; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java index 614f87b700..25d1b03c83 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListAppProfiles.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ -public final class ListAppProfilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListAppProfilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListAppProfilesResponse) ListAppProfilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListAppProfilesResponse.newBuilder() to construct. private ListAppProfilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListAppProfilesResponse() { appProfiles_ = java.util.Collections.emptyList(); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListAppProfilesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } public static final int APP_PROFILES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List appProfiles_; /** - * - * *
    * The list of requested app profiles.
    * 
@@ -82,8 +61,6 @@ public java.util.List getAppProfilesLis return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -91,13 +68,11 @@ public java.util.List getAppProfilesLis * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAppProfilesOrBuilderList() { return appProfiles_; } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -109,8 +84,6 @@ public int getAppProfilesCount() { return appProfiles_.size(); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { return appProfiles_.get(index); } /** - * - * *
    * The list of requested app profiles.
    * 
@@ -131,17 +102,15 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { return appProfiles_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -149,7 +118,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +126,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -174,15 +141,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,13 +159,10 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -206,15 +171,13 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
    * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -223,15 +186,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -240,7 +200,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -248,8 +207,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -258,16 +215,15 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < appProfiles_.size(); i++) { output.writeMessage(1, appProfiles_.get(i)); } @@ -299,7 +256,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < appProfiles_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, appProfiles_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, appProfiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -320,17 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListAppProfilesResponse other = - (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; + com.google.bigtable.admin.v2.ListAppProfilesResponse other = (com.google.bigtable.admin.v2.ListAppProfilesResponse) obj; - if (!getAppProfilesList().equals(other.getAppProfilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; + if (!getAppProfilesList() + .equals(other.getAppProfilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,135 +318,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse 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.ListAppProfilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListAppProfilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListAppProfilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListAppProfiles.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListAppProfilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListAppProfilesResponse) com.google.bigtable.admin.v2.ListAppProfilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListAppProfilesResponse.class, - com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); + com.google.bigtable.admin.v2.ListAppProfilesResponse.class, com.google.bigtable.admin.v2.ListAppProfilesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListAppProfilesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -499,14 +455,15 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); nextPageToken_ = ""; - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; } @java.lang.Override @@ -525,18 +482,14 @@ public com.google.bigtable.admin.v2.ListAppProfilesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListAppProfilesResponse buildPartial() { - com.google.bigtable.admin.v2.ListAppProfilesResponse result = - new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); + com.google.bigtable.admin.v2.ListAppProfilesResponse result = new com.google.bigtable.admin.v2.ListAppProfilesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListAppProfilesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListAppProfilesResponse result) { if (appProfilesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { appProfiles_ = java.util.Collections.unmodifiableList(appProfiles_); @@ -563,39 +516,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListAppProfilesResponse public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListAppProfilesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListAppProfilesResponse)other); } else { super.mergeFrom(other); return this; @@ -603,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse other) { - if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListAppProfilesResponse.getDefaultInstance()) return this; if (appProfilesBuilder_ == null) { if (!other.appProfiles_.isEmpty()) { if (appProfiles_.isEmpty()) { @@ -623,10 +574,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListAppProfilesResponse ot appProfilesBuilder_ = null; appProfiles_ = other.appProfiles_; bitField0_ = (bitField0_ & ~0x00000001); - appProfilesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAppProfilesFieldBuilder() - : null; + appProfilesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAppProfilesFieldBuilder() : null; } else { appProfilesBuilder_.addAllMessages(other.appProfiles_); } @@ -673,39 +623,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.AppProfile m = - input.readMessage( - com.google.bigtable.admin.v2.AppProfile.parser(), extensionRegistry); - if (appProfilesBuilder_ == null) { - ensureAppProfilesIsMutable(); - appProfiles_.add(m); - } else { - appProfilesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.AppProfile m = + input.readMessage( + com.google.bigtable.admin.v2.AppProfile.parser(), + extensionRegistry); + if (appProfilesBuilder_ == null) { + ensureAppProfilesIsMutable(); + appProfiles_.add(m); + } else { + appProfilesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,29 +662,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List appProfiles_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAppProfilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - appProfiles_ = - new java.util.ArrayList(appProfiles_); + appProfiles_ = new java.util.ArrayList(appProfiles_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfilesBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfilesBuilder_; /** - * - * *
      * The list of requested app profiles.
      * 
@@ -752,8 +691,6 @@ public java.util.List getAppProfilesLis } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -768,8 +705,6 @@ public int getAppProfilesCount() { } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -784,15 +719,14 @@ public com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index) { } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder setAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,8 +740,6 @@ public Builder setAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -826,8 +758,6 @@ public Builder setAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -848,15 +778,14 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile value) { + public Builder addAppProfiles( + int index, com.google.bigtable.admin.v2.AppProfile value) { if (appProfilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -870,15 +799,14 @@ public Builder addAppProfiles(int index, com.google.bigtable.admin.v2.AppProfile return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder addAppProfiles( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); appProfiles_.add(builderForValue.build()); @@ -889,8 +817,6 @@ public Builder addAppProfiles(com.google.bigtable.admin.v2.AppProfile.Builder bu return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -909,8 +835,6 @@ public Builder addAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -921,7 +845,8 @@ public Builder addAllAppProfiles( java.lang.Iterable values) { if (appProfilesBuilder_ == null) { ensureAppProfilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, appProfiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, appProfiles_); onChanged(); } else { appProfilesBuilder_.addAllMessages(values); @@ -929,8 +854,6 @@ public Builder addAllAppProfiles( return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -948,8 +871,6 @@ public Builder clearAppProfiles() { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -967,44 +888,39 @@ public Builder removeAppProfiles(int index) { return this; } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfilesBuilder( + int index) { return getAppProfilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index) { + public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index) { if (appProfilesBuilder_ == null) { - return appProfiles_.get(index); - } else { + return appProfiles_.get(index); } else { return appProfilesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesOrBuilderList() { + public java.util.List + getAppProfilesOrBuilderList() { if (appProfilesBuilder_ != null) { return appProfilesBuilder_.getMessageOrBuilderList(); } else { @@ -1012,8 +928,6 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( } } /** - * - * *
      * The list of requested app profiles.
      * 
@@ -1021,48 +935,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder() { - return getAppProfilesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + return getAppProfilesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int index) { - return getAppProfilesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); + public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder( + int index) { + return getAppProfilesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()); } /** - * - * *
      * The list of requested app profiles.
      * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - public java.util.List - getAppProfilesBuilderList() { + public java.util.List + getAppProfilesBuilderList() { return getAppProfilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfilesFieldBuilder() { if (appProfilesBuilder_ == null) { - appProfilesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - appProfiles_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + appProfilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + appProfiles_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); appProfiles_ = null; } return appProfilesBuilder_; @@ -1070,8 +978,6 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1079,13 +985,13 @@ public com.google.bigtable.admin.v2.AppProfile.Builder addAppProfilesBuilder(int
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1094,8 +1000,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1103,14 +1007,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1118,8 +1023,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1127,22 +1030,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1150,7 +1049,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1160,8 +1058,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all app profiles could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1169,14 +1065,12 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; @@ -1186,7 +1080,6 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1194,8 +1087,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1204,16 +1095,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1222,15 +1111,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1239,7 +1125,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1247,8 +1132,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1257,16 +1140,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1275,15 +1156,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 3; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000004; @@ -1291,8 +1170,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1301,14 +1178,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 3; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000004; @@ -1316,8 +1191,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1326,20 +1199,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 3; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1348,19 +1220,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 3; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Locations from which AppProfile information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1369,14 +1238,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 3; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1384,9 +1251,9 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1396,12 +1263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListAppProfilesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListAppProfilesResponse) private static final com.google.bigtable.admin.v2.ListAppProfilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListAppProfilesResponse(); } @@ -1410,27 +1277,27 @@ public static com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListAppProfilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListAppProfilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,4 +1312,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListAppProfilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java index 84a8261193..a3a287c165 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListAppProfilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListAppProfilesResponseOrBuilder - extends +public interface ListAppProfilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListAppProfilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - java.util.List getAppProfilesList(); + java.util.List + getAppProfilesList(); /** - * - * *
    * The list of requested app profiles.
    * 
@@ -44,8 +25,6 @@ public interface ListAppProfilesResponseOrBuilder */ com.google.bigtable.admin.v2.AppProfile getAppProfiles(int index); /** - * - * *
    * The list of requested app profiles.
    * 
@@ -54,30 +33,25 @@ public interface ListAppProfilesResponseOrBuilder */ int getAppProfilesCount(); /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - java.util.List + java.util.List getAppProfilesOrBuilderList(); /** - * - * *
    * The list of requested app profiles.
    * 
* * repeated .google.bigtable.admin.v2.AppProfile app_profiles = 1; */ - com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder(int index); + com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfilesOrBuilder( + int index); /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -85,13 +59,10 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all app profiles could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -99,14 +70,12 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -115,13 +84,11 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -130,13 +97,10 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -145,14 +109,11 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ java.lang.String getFailedLocations(int index); /** - * - * *
    * Locations from which AppProfile information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -161,9 +122,9 @@ public interface ListAppProfilesResponseOrBuilder
    * 
* * repeated string failed_locations = 3; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - com.google.protobuf.ByteString getFailedLocationsBytes(int index); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java index 7f6d00421d..daf54ccc8f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListBackupsRequest}
  */
-public final class ListBackupsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListBackupsRequest)
     ListBackupsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupsRequest.newBuilder() to construct.
   private ListBackupsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupsRequest() {
     parent_ = "";
     filter_ = "";
@@ -47,32 +29,28 @@ private ListBackupsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListBackupsRequest.class,
-            com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -80,10 +58,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -92,15 +67,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -108,18 +82,17 @@ public java.lang.String getParent() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -128,12 +101,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int FILTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -171,7 +141,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 2; - * * @return The filter. */ @java.lang.Override @@ -180,15 +149,14 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -226,15 +194,16 @@ public java.lang.String getFilter() {
    * 
* * string filter = 2; - * * @return The bytes for filter. */ @java.lang.Override - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -243,12 +212,9 @@ public com.google.protobuf.ByteString getFilterBytes() { } public static final int ORDER_BY_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -275,7 +241,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 3; - * * @return The orderBy. */ @java.lang.Override @@ -284,15 +249,14 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -319,15 +283,16 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -338,15 +303,12 @@ public com.google.protobuf.ByteString getOrderByBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -355,12 +317,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -370,7 +329,6 @@ public int getPageSize() {
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -379,15 +337,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -397,15 +354,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -414,7 +372,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -426,7 +383,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -461,7 +419,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, orderBy_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -474,19 +433,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListBackupsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListBackupsRequest other = - (com.google.bigtable.admin.v2.ListBackupsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.bigtable.admin.v2.ListBackupsRequest other = (com.google.bigtable.admin.v2.ListBackupsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -513,104 +476,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListBackupsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListBackupsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -618,32 +576,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListBackupsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListBackupsRequest)
       com.google.bigtable.admin.v2.ListBackupsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListBackupsRequest.class,
-              com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListBackupsRequest.class, com.google.bigtable.admin.v2.ListBackupsRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListBackupsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -657,9 +616,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -678,11 +637,8 @@ public com.google.bigtable.admin.v2.ListBackupsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListBackupsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListBackupsRequest result =
-          new com.google.bigtable.admin.v2.ListBackupsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListBackupsRequest result = new com.google.bigtable.admin.v2.ListBackupsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -710,39 +666,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListBackupsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -750,8 +705,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsRequest other) {
-      if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListBackupsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -801,43 +755,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                orderBy_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              orderBy_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -847,13 +795,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -861,16 +806,14 @@ public Builder mergeFrom(
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -879,8 +822,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -888,17 +829,16 @@ public java.lang.String getParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -906,8 +846,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -915,25 +853,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -941,10 +873,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -954,8 +883,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster to list backups from.  Values are of the
      * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -963,17 +890,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -983,8 +906,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1022,13 +943,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string filter = 2; - * * @return The filter. */ public java.lang.String getFilter() { java.lang.Object ref = filter_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; @@ -1037,8 +958,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1076,14 +995,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 2; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1091,8 +1011,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1130,22 +1048,18 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 2; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1183,7 +1097,6 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 2; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1193,8 +1106,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * A filter expression that filters backups listed in the response.
      * The expression must specify the field name, a comparison operator,
@@ -1232,14 +1143,12 @@ public Builder clearFilter() {
      * 
* * string filter = 2; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -1249,8 +1158,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1277,13 +1184,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * string order_by = 3; - * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1292,8 +1199,6 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1320,14 +1225,15 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString getOrderByBytes() { + public com.google.protobuf.ByteString + getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1335,8 +1241,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1363,22 +1267,18 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * string order_by = 3; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } orderBy_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1405,7 +1305,6 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * string order_by = 3; - * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1415,8 +1314,6 @@ public Builder clearOrderBy() { return this; } /** - * - * *
      * An expression for specifying the sort order of the results of the request.
      * The string value should specify one or more fields in
@@ -1443,14 +1340,12 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 3; - * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000004; @@ -1458,17 +1353,14 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1476,15 +1368,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1496,15 +1385,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Number of backups to be returned in the response. If 0 or
      * less, defaults to the server's maximum allowed page size.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1516,8 +1402,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1527,13 +1411,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1542,8 +1426,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1553,14 +1435,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1568,8 +1451,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1579,22 +1460,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1604,7 +1481,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1614,8 +1490,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * If non-empty, `page_token` should contain a
      * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -1625,23 +1499,21 @@ public Builder clearPageToken() {
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1651,12 +1523,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListBackupsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListBackupsRequest) private static final com.google.bigtable.admin.v2.ListBackupsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListBackupsRequest(); } @@ -1665,27 +1537,27 @@ public static com.google.bigtable.admin.v2.ListBackupsRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1700,4 +1572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java similarity index 86% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java index 0b793f2fd7..f362fe59f8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListBackupsRequestOrBuilder - extends +public interface ListBackupsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListBackupsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -33,16 +15,11 @@ public interface ListBackupsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The cluster to list backups from.  Values are of the
    * form `projects/{project}/instances/{instance}/clusters/{cluster}`.
@@ -50,17 +27,13 @@ public interface ListBackupsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -98,13 +71,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * A filter expression that filters backups listed in the response.
    * The expression must specify the field name, a comparison operator,
@@ -142,14 +112,12 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string filter = 2; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -176,13 +144,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string order_by = 3; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * An expression for specifying the sort order of the results of the request.
    * The string value should specify one or more fields in
@@ -209,28 +174,23 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string order_by = 3; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); /** - * - * *
    * Number of backups to be returned in the response. If 0 or
    * less, defaults to the server's maximum allowed page size.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -240,13 +200,10 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * If non-empty, `page_token` should contain a
    * [next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token]
@@ -256,8 +213,8 @@ public interface ListBackupsRequestOrBuilder
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java index 7603c0cc5b..58ebabfaf6 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 response for
  * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListBackupsResponse}
  */
-public final class ListBackupsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListBackupsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListBackupsResponse)
     ListBackupsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListBackupsResponse.newBuilder() to construct.
   private ListBackupsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListBackupsResponse() {
     backups_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListBackupsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListBackupsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListBackupsResponse.class,
-            com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
   }
 
   public static final int BACKUPS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List backups_;
   /**
-   *
-   *
    * 
    * The list of matching backups.
    * 
@@ -82,8 +60,6 @@ public java.util.List getBackupsList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -91,13 +67,11 @@ public java.util.List getBackupsList() { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public java.util.List + public java.util.List getBackupsOrBuilderList() { return backups_; } /** - * - * *
    * The list of matching backups.
    * 
@@ -109,8 +83,6 @@ public int getBackupsCount() { return backups_.size(); } /** - * - * *
    * The list of matching backups.
    * 
@@ -122,8 +94,6 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { return backups_.get(index); } /** - * - * *
    * The list of matching backups.
    * 
@@ -131,17 +101,15 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { * repeated .google.bigtable.admin.v2.Backup backups = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index) { return backups_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -149,7 +117,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -174,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < backups_.size(); i++) { output.writeMessage(1, backups_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < backups_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, backups_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, backups_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListBackupsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListBackupsResponse other = - (com.google.bigtable.admin.v2.ListBackupsResponse) obj; + com.google.bigtable.admin.v2.ListBackupsResponse other = (com.google.bigtable.admin.v2.ListBackupsResponse) obj; - if (!getBackupsList().equals(other.getBackupsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getBackupsList() + .equals(other.getBackupsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,104 +234,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListBackupsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListBackupsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListBackupsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response for
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups].
@@ -370,32 +334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListBackupsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListBackupsResponse)
       com.google.bigtable.admin.v2.ListBackupsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListBackupsResponse.class,
-              com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListBackupsResponse.class, com.google.bigtable.admin.v2.ListBackupsResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListBackupsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,9 +377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListBackupsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -433,18 +398,14 @@ public com.google.bigtable.admin.v2.ListBackupsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListBackupsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListBackupsResponse result =
-          new com.google.bigtable.admin.v2.ListBackupsResponse(this);
+      com.google.bigtable.admin.v2.ListBackupsResponse result = new com.google.bigtable.admin.v2.ListBackupsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListBackupsResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListBackupsResponse result) {
       if (backupsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           backups_ = java.util.Collections.unmodifiableList(backups_);
@@ -467,39 +428,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListBackupsResponse resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListBackupsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListBackupsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -507,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListBackupsResponse.getDefaultInstance()) return this;
       if (backupsBuilder_ == null) {
         if (!other.backups_.isEmpty()) {
           if (backups_.isEmpty()) {
@@ -527,10 +486,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListBackupsResponse other)
             backupsBuilder_ = null;
             backups_ = other.backups_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            backupsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getBackupsFieldBuilder()
-                    : null;
+            backupsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getBackupsFieldBuilder() : null;
           } else {
             backupsBuilder_.addAllMessages(other.backups_);
           }
@@ -567,32 +525,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Backup m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Backup.parser(), extensionRegistry);
-                if (backupsBuilder_ == null) {
-                  ensureBackupsIsMutable();
-                  backups_.add(m);
-                } else {
-                  backupsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Backup m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Backup.parser(),
+                      extensionRegistry);
+              if (backupsBuilder_ == null) {
+                ensureBackupsIsMutable();
+                backups_.add(m);
+              } else {
+                backupsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -602,28 +558,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List backups_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureBackupsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         backups_ = new java.util.ArrayList(backups_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Backup,
-            com.google.bigtable.admin.v2.Backup.Builder,
-            com.google.bigtable.admin.v2.BackupOrBuilder>
-        backupsBuilder_;
+        com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupsBuilder_;
 
     /**
-     *
-     *
      * 
      * The list of matching backups.
      * 
@@ -638,8 +587,6 @@ public java.util.List getBackupsList() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -654,8 +601,6 @@ public int getBackupsCount() { } } /** - * - * *
      * The list of matching backups.
      * 
@@ -670,15 +615,14 @@ public com.google.bigtable.admin.v2.Backup getBackups(int index) { } } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) { + public Builder setBackups( + int index, com.google.bigtable.admin.v2.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +636,6 @@ public Builder setBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -712,8 +654,6 @@ public Builder setBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -734,15 +674,14 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder addBackups(int index, com.google.bigtable.admin.v2.Backup value) { + public Builder addBackups( + int index, com.google.bigtable.admin.v2.Backup value) { if (backupsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,15 +695,14 @@ public Builder addBackups(int index, com.google.bigtable.admin.v2.Backup value) return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder addBackups( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); backups_.add(builderForValue.build()); @@ -775,8 +713,6 @@ public Builder addBackups(com.google.bigtable.admin.v2.Backup.Builder builderFor return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -795,8 +731,6 @@ public Builder addBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -807,7 +741,8 @@ public Builder addAllBackups( java.lang.Iterable values) { if (backupsBuilder_ == null) { ensureBackupsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, backups_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, backups_); onChanged(); } else { backupsBuilder_.addAllMessages(values); @@ -815,8 +750,6 @@ public Builder addAllBackups( return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -834,8 +767,6 @@ public Builder clearBackups() { return this; } /** - * - * *
      * The list of matching backups.
      * 
@@ -853,44 +784,39 @@ public Builder removeBackups(int index) { return this; } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.Backup.Builder getBackupsBuilder(int index) { + public com.google.bigtable.admin.v2.Backup.Builder getBackupsBuilder( + int index) { return getBackupsFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index) { + public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index) { if (backupsBuilder_ == null) { - return backups_.get(index); - } else { + return backups_.get(index); } else { return backupsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public java.util.List - getBackupsOrBuilderList() { + public java.util.List + getBackupsOrBuilderList() { if (backupsBuilder_ != null) { return backupsBuilder_.getMessageOrBuilderList(); } else { @@ -898,8 +824,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde } } /** - * - * *
      * The list of matching backups.
      * 
@@ -907,47 +831,42 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int inde * repeated .google.bigtable.admin.v2.Backup backups = 1; */ public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder() { - return getBackupsFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Backup.getDefaultInstance()); + return getBackupsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Backup.getDefaultInstance()); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder(int index) { - return getBackupsFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Backup.getDefaultInstance()); + public com.google.bigtable.admin.v2.Backup.Builder addBackupsBuilder( + int index) { + return getBackupsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Backup.getDefaultInstance()); } /** - * - * *
      * The list of matching backups.
      * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - public java.util.List getBackupsBuilderList() { + public java.util.List + getBackupsBuilderList() { return getBackupsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupsFieldBuilder() { if (backupsBuilder_ == null) { - backupsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - backups_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + backupsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + backups_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); backups_ = null; } return backupsBuilder_; @@ -955,8 +874,6 @@ public java.util.List getBackupsBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -964,13 +881,13 @@ public java.util.List getBackupsBui
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -979,8 +896,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -988,14 +903,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,8 +919,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1012,22 +926,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1035,7 +945,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1045,8 +954,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * `next_page_token` can be sent in a subsequent
      * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -1054,23 +961,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListBackupsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListBackupsResponse) private static final com.google.bigtable.admin.v2.ListBackupsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListBackupsResponse(); } @@ -1094,27 +999,27 @@ public static com.google.bigtable.admin.v2.ListBackupsResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListBackupsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListBackupsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,4 +1034,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListBackupsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java index 7718eff59c..29dee7f76e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListBackupsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListBackupsResponseOrBuilder - extends +public interface ListBackupsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListBackupsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - java.util.List getBackupsList(); + java.util.List + getBackupsList(); /** - * - * *
    * The list of matching backups.
    * 
@@ -44,8 +25,6 @@ public interface ListBackupsResponseOrBuilder */ com.google.bigtable.admin.v2.Backup getBackups(int index); /** - * - * *
    * The list of matching backups.
    * 
@@ -54,29 +33,25 @@ public interface ListBackupsResponseOrBuilder */ int getBackupsCount(); /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - java.util.List getBackupsOrBuilderList(); + java.util.List + getBackupsOrBuilderList(); /** - * - * *
    * The list of matching backups.
    * 
* * repeated .google.bigtable.admin.v2.Backup backups = 1; */ - com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder(int index); + com.google.bigtable.admin.v2.BackupOrBuilder getBackupsOrBuilder( + int index); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -84,13 +59,10 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * `next_page_token` can be sent in a subsequent
    * [ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups] call
@@ -98,8 +70,8 @@ public interface ListBackupsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java index fd06a07389..c3f03a9c47 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ -public final class ListClustersRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersRequest) ListClustersRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersRequest.newBuilder() to construct. private ListClustersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersRequest() { parent_ = ""; pageToken_ = ""; @@ -44,32 +26,28 @@ private ListClustersRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -77,10 +55,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,15 +64,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -105,18 +79,17 @@ public java.lang.String getParent() {
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,18 +98,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -145,29 +114,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersRequest other = - (com.google.bigtable.admin.v2.ListClustersRequest) obj; + com.google.bigtable.admin.v2.ListClustersRequest other = (com.google.bigtable.admin.v2.ListClustersRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest 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.ListClustersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersRequest) com.google.bigtable.admin.v2.ListClustersRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersRequest.class, - com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); + com.google.bigtable.admin.v2.ListClustersRequest.class, com.google.bigtable.admin.v2.ListClustersRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.admin.v2.ListClustersRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersRequest buildPartial() { - com.google.bigtable.admin.v2.ListClustersRequest result = - new com.google.bigtable.admin.v2.ListClustersRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListClustersRequest result = new com.google.bigtable.admin.v2.ListClustersRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersRequest)other); } else { super.mergeFrom(other); return this; @@ -472,8 +434,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersRequest other) { - if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -510,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -538,13 +496,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -552,16 +507,14 @@ public Builder mergeFrom(
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -570,8 +523,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -579,17 +530,16 @@ public java.lang.String getParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -597,8 +547,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -606,25 +554,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -632,10 +574,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -645,8 +584,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the instance for which a list of clusters is requested.
      * Values are of the form `projects/{project}/instances/{instance}`.
@@ -654,17 +591,13 @@ public Builder clearParent() {
      * e.g., `projects/myproject/instances/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -674,20 +607,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -696,21 +627,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -718,35 +648,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -756,30 +679,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -789,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersRequest) private static final com.google.bigtable.admin.v2.ListClustersRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersRequest(); } @@ -803,27 +722,27 @@ public static com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -838,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java index 1825a33c50..3e27aa1185 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListClustersRequestOrBuilder - extends +public interface ListClustersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListClustersRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -33,16 +15,11 @@ public interface ListClustersRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the instance for which a list of clusters is requested.
    * Values are of the form `projects/{project}/instances/{instance}`.
@@ -50,36 +27,29 @@ public interface ListClustersRequestOrBuilder
    * e.g., `projects/myproject/instances/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java index e59efa78f2..e03e8621e5 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListClusters.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ -public final class ListClustersResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListClustersResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListClustersResponse) ListClustersResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListClustersResponse.newBuilder() to construct. private ListClustersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListClustersResponse() { clusters_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListClustersResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } public static final int CLUSTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List clusters_; /** - * - * *
    * The list of requested clusters.
    * 
@@ -82,8 +61,6 @@ public java.util.List getClustersList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -91,13 +68,11 @@ public java.util.List getClustersList() { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public java.util.List + public java.util.List getClustersOrBuilderList() { return clusters_; } /** - * - * *
    * The list of requested clusters.
    * 
@@ -109,8 +84,6 @@ public int getClustersCount() { return clusters_.size(); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** - * - * *
    * The list of requested clusters.
    * 
@@ -131,18 +102,16 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { return clusters_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -152,15 +121,13 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -170,15 +137,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -188,7 +152,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -196,8 +159,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -207,27 +168,23 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,29 +193,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -267,7 +224,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +235,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(1, clusters_.get(i)); } @@ -299,7 +256,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < clusters_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, clusters_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, clusters_.get(i)); } { int dataSize = 0; @@ -320,17 +278,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListClustersResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListClustersResponse other = - (com.google.bigtable.admin.v2.ListClustersResponse) obj; + com.google.bigtable.admin.v2.ListClustersResponse other = (com.google.bigtable.admin.v2.ListClustersResponse) obj; - if (!getClustersList().equals(other.getClustersList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getClustersList() + .equals(other.getClustersList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -358,135 +318,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse 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.ListClustersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListClustersResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListClustersResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListClustersResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListClusters.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListClustersResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListClustersResponse) com.google.bigtable.admin.v2.ListClustersResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListClustersResponse.class, - com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); + com.google.bigtable.admin.v2.ListClustersResponse.class, com.google.bigtable.admin.v2.ListClustersResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListClustersResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -498,15 +454,16 @@ public Builder clear() { clustersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; } @java.lang.Override @@ -525,18 +482,14 @@ public com.google.bigtable.admin.v2.ListClustersResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListClustersResponse buildPartial() { - com.google.bigtable.admin.v2.ListClustersResponse result = - new com.google.bigtable.admin.v2.ListClustersResponse(this); + com.google.bigtable.admin.v2.ListClustersResponse result = new com.google.bigtable.admin.v2.ListClustersResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListClustersResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListClustersResponse result) { if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); @@ -563,39 +516,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListClustersResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListClustersResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListClustersResponse)other); } else { super.mergeFrom(other); return this; @@ -603,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other) { - if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListClustersResponse.getDefaultInstance()) return this; if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { @@ -623,10 +574,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListClustersResponse other clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000001); - clustersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getClustersFieldBuilder() - : null; + clustersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } @@ -673,39 +623,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Cluster m = - input.readMessage( - com.google.bigtable.admin.v2.Cluster.parser(), extensionRegistry); - if (clustersBuilder_ == null) { - ensureClustersIsMutable(); - clusters_.add(m); - } else { - clustersBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Cluster m = + input.readMessage( + com.google.bigtable.admin.v2.Cluster.parser(), + extensionRegistry); + if (clustersBuilder_ == null) { + ensureClustersIsMutable(); + clusters_.add(m); + } else { + clustersBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -715,28 +662,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List clusters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clustersBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clustersBuilder_; /** - * - * *
      * The list of requested clusters.
      * 
@@ -751,8 +691,6 @@ public java.util.List getClustersList() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -767,8 +705,6 @@ public int getClustersCount() { } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -783,15 +719,14 @@ public com.google.bigtable.admin.v2.Cluster getClusters(int index) { } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder setClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -805,8 +740,6 @@ public Builder setClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -825,8 +758,6 @@ public Builder setClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -847,15 +778,14 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value) { + public Builder addClusters( + int index, com.google.bigtable.admin.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -869,15 +799,14 @@ public Builder addClusters(int index, com.google.bigtable.admin.v2.Cluster value return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder addClusters( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); @@ -888,8 +817,6 @@ public Builder addClusters(com.google.bigtable.admin.v2.Cluster.Builder builderF return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -908,8 +835,6 @@ public Builder addClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -920,7 +845,8 @@ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, clusters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); @@ -928,8 +854,6 @@ public Builder addAllClusters( return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -947,8 +871,6 @@ public Builder clearClusters() { return this; } /** - * - * *
      * The list of requested clusters.
      * 
@@ -966,44 +888,39 @@ public Builder removeClusters(int index) { return this; } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder(int index) { + public com.google.bigtable.admin.v2.Cluster.Builder getClustersBuilder( + int index) { return getClustersFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index) { + public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index) { if (clustersBuilder_ == null) { - return clusters_.get(index); - } else { + return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List - getClustersOrBuilderList() { + public java.util.List + getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { @@ -1011,8 +928,6 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in } } /** - * - * *
      * The list of requested clusters.
      * 
@@ -1020,47 +935,42 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int in * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder() { - return getClustersFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + return getClustersFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder(int index) { - return getClustersFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); + public com.google.bigtable.admin.v2.Cluster.Builder addClustersBuilder( + int index) { + return getClustersFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Cluster.getDefaultInstance()); } /** - * - * *
      * The list of requested clusters.
      * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - public java.util.List getClustersBuilderList() { + public java.util.List + getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { - clustersBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - clusters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + clusters_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); clusters_ = null; } return clustersBuilder_; @@ -1068,7 +978,6 @@ public java.util.List getClustersB private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1076,8 +985,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1087,16 +994,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1106,15 +1011,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1124,7 +1026,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1132,8 +1033,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1143,16 +1042,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1162,15 +1059,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1178,8 +1073,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1189,14 +1082,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1204,8 +1095,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1215,20 +1104,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1238,19 +1126,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Cluster information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1260,14 +1145,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1278,20 +1161,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1300,21 +1181,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1322,35 +1202,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1360,30 +1233,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1393,12 +1262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListClustersResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListClustersResponse) private static final com.google.bigtable.admin.v2.ListClustersResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListClustersResponse(); } @@ -1407,27 +1276,27 @@ public static com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListClustersResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListClustersResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1442,4 +1311,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListClustersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java index 39b9a31aa2..a2f260de68 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListClustersResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListClustersResponseOrBuilder - extends +public interface ListClustersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListClustersResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - java.util.List getClustersList(); + java.util.List + getClustersList(); /** - * - * *
    * The list of requested clusters.
    * 
@@ -44,8 +25,6 @@ public interface ListClustersResponseOrBuilder */ com.google.bigtable.admin.v2.Cluster getClusters(int index); /** - * - * *
    * The list of requested clusters.
    * 
@@ -54,30 +33,25 @@ public interface ListClustersResponseOrBuilder */ int getClustersCount(); /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - java.util.List + java.util.List getClustersOrBuilderList(); /** - * - * *
    * The list of requested clusters.
    * 
* * repeated .google.bigtable.admin.v2.Cluster clusters = 1; */ - com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder(int index); + com.google.bigtable.admin.v2.ClusterOrBuilder getClustersOrBuilder( + int index); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -87,13 +61,11 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -103,13 +75,10 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -119,14 +88,11 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ java.lang.String getFailedLocations(int index); /** - * - * *
    * Locations from which Cluster information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -136,34 +102,29 @@ public interface ListClustersResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - com.google.protobuf.ByteString getFailedLocationsBytes(int index); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java similarity index 74% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java index b3afd6fa4b..3362a992fa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ -public final class ListHotTabletsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsRequest) ListHotTabletsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsRequest.newBuilder() to construct. private ListHotTabletsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsRequest() { parent_ = ""; pageToken_ = ""; @@ -44,42 +26,35 @@ private ListHotTabletsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,8 +98,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -145,8 +115,6 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -157,7 +125,6 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -165,8 +132,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -186,14 +151,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
   public static final int END_TIME_FIELD_NUMBER = 3;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -201,14 +163,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -216,8 +175,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -232,8 +189,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -247,7 +202,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -256,18 +210,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -276,29 +226,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -307,7 +257,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,7 +268,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,13 +298,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -367,25 +320,29 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsRequest other = - (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; + com.google.bigtable.admin.v2.ListHotTabletsRequest other = (com.google.bigtable.admin.v2.ListHotTabletsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -417,135 +374,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest 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.ListHotTabletsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.bigtable.admin.v2.ListHotTabletsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsRequest.class, - com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsRequest.class, com.google.bigtable.admin.v2.ListHotTabletsRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; } @java.lang.Override @@ -588,11 +541,8 @@ public com.google.bigtable.admin.v2.ListHotTabletsRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsRequest buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsRequest result = - new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListHotTabletsRequest result = new com.google.bigtable.admin.v2.ListHotTabletsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -603,10 +553,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re result.parent_ = parent_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.pageSize_ = pageSize_; @@ -620,39 +574,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsRequest re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsRequest)other); } else { super.mergeFrom(other); return this; @@ -660,8 +613,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsRequest other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -707,43 +659,41 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -753,29 +703,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -784,25 +729,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -810,43 +752,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -856,25 +787,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The cluster name to list hot tablets.
      * Value is in the following form:
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -884,13 +809,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -901,15 +821,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -920,7 +837,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -931,8 +847,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -958,8 +872,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -971,7 +883,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 2;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startTime_ = builderForValue.build();
       } else {
@@ -982,8 +895,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -997,9 +908,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && startTime_ != null
-            && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          startTime_ != null &&
+          startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getStartTimeBuilder().mergeFrom(value);
         } else {
           startTime_ = value;
@@ -1012,8 +923,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1036,8 +945,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1055,8 +962,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1072,12 +977,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       if (startTimeBuilder_ != null) {
         return startTimeBuilder_.getMessageOrBuilder();
       } else {
-        return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
+        return startTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The start time to list hot tablets. The hot tablets in the response will
      * have start times between the requested start time and end time. Start time
@@ -1090,17 +994,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getStartTime(), getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getStartTime(),
+                getParentForChildren(),
+                isClean());
         startTime_ = null;
       }
       return startTimeBuilder_;
@@ -1108,33 +1009,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1145,8 +1037,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1167,15 +1057,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1186,8 +1075,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1196,9 +1083,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1211,8 +1098,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1230,8 +1115,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1244,8 +1127,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1256,12 +1137,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The end time to list hot tablets.
      * 
@@ -1269,26 +1149,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -1302,7 +1177,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -1310,8 +1184,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1325,7 +1197,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -1337,8 +1208,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -1352,7 +1221,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -1364,20 +1232,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -1386,21 +1252,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1408,35 +1273,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1446,30 +1304,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1479,12 +1333,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsRequest) private static final com.google.bigtable.admin.v2.ListHotTabletsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsRequest(); } @@ -1493,27 +1347,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1528,4 +1382,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java index 3f9205fba1..85c700dd2f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListHotTabletsRequestOrBuilder - extends +public interface ListHotTabletsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListHotTabletsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The cluster name to list hot tablets.
    * Value is in the following form:
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -69,13 +42,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -86,13 +56,10 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The start time to list hot tablets. The hot tablets in the response will
    * have start times between the requested start time and end time. Start time
@@ -107,32 +74,24 @@ public interface ListHotTabletsRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The end time to list hot tablets.
    * 
@@ -142,8 +101,6 @@ public interface ListHotTabletsRequestOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -157,33 +114,27 @@ public interface ListHotTabletsRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java index 6fe345eae1..758edb0a86 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListHotTablets.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ -public final class ListHotTabletsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListHotTabletsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListHotTabletsResponse) ListHotTabletsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListHotTabletsResponse.newBuilder() to construct. private ListHotTabletsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListHotTabletsResponse() { hotTablets_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,32 +26,28 @@ private ListHotTabletsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListHotTabletsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } public static final int HOT_TABLETS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List hotTablets_; /** - * - * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -85,8 +63,6 @@ public java.util.List getHotTabletsList(
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -98,13 +74,11 @@ public java.util.List getHotTabletsList(
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getHotTabletsOrBuilderList() {
     return hotTablets_;
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -120,8 +94,6 @@ public int getHotTabletsCount() {
     return hotTablets_.size();
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -137,8 +109,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
     return hotTablets_.get(index);
   }
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -150,17 +120,15 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+  public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+      int index) {
     return hotTablets_.get(index);
   }
 
   public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object nextPageToken_ = "";
   /**
-   *
-   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -168,7 +136,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -177,15 +144,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -193,15 +159,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -210,7 +177,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -222,7 +188,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < hotTablets_.size(); i++) { output.writeMessage(1, hotTablets_.get(i)); } @@ -239,7 +206,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < hotTablets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, hotTablets_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, hotTablets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -252,16 +220,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListHotTabletsResponse other = - (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; + com.google.bigtable.admin.v2.ListHotTabletsResponse other = (com.google.bigtable.admin.v2.ListHotTabletsResponse) obj; - if (!getHotTabletsList().equals(other.getHotTabletsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getHotTabletsList() + .equals(other.getHotTabletsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,135 +254,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse 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.ListHotTabletsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListHotTabletsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListHotTabletsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListHotTablets.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListHotTabletsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListHotTabletsResponse) com.google.bigtable.admin.v2.ListHotTabletsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListHotTabletsResponse.class, - com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); + com.google.bigtable.admin.v2.ListHotTabletsResponse.class, com.google.bigtable.admin.v2.ListHotTabletsResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListHotTabletsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -430,9 +395,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; } @java.lang.Override @@ -451,18 +416,14 @@ public com.google.bigtable.admin.v2.ListHotTabletsResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListHotTabletsResponse buildPartial() { - com.google.bigtable.admin.v2.ListHotTabletsResponse result = - new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); + com.google.bigtable.admin.v2.ListHotTabletsResponse result = new com.google.bigtable.admin.v2.ListHotTabletsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListHotTabletsResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListHotTabletsResponse result) { if (hotTabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { hotTablets_ = java.util.Collections.unmodifiableList(hotTablets_); @@ -485,39 +446,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListHotTabletsResponse r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListHotTabletsResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListHotTabletsResponse)other); } else { super.mergeFrom(other); return this; @@ -525,8 +485,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse other) { - if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListHotTabletsResponse.getDefaultInstance()) return this; if (hotTabletsBuilder_ == null) { if (!other.hotTablets_.isEmpty()) { if (hotTablets_.isEmpty()) { @@ -545,10 +504,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListHotTabletsResponse oth hotTabletsBuilder_ = null; hotTablets_ = other.hotTablets_; bitField0_ = (bitField0_ & ~0x00000001); - hotTabletsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHotTabletsFieldBuilder() - : null; + hotTabletsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHotTabletsFieldBuilder() : null; } else { hotTabletsBuilder_.addAllMessages(other.hotTablets_); } @@ -585,32 +543,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.HotTablet m = - input.readMessage( - com.google.bigtable.admin.v2.HotTablet.parser(), extensionRegistry); - if (hotTabletsBuilder_ == null) { - ensureHotTabletsIsMutable(); - hotTablets_.add(m); - } else { - hotTabletsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.HotTablet m = + input.readMessage( + com.google.bigtable.admin.v2.HotTablet.parser(), + extensionRegistry); + if (hotTabletsBuilder_ == null) { + ensureHotTabletsIsMutable(); + hotTablets_.add(m); + } else { + hotTabletsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -620,28 +576,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List hotTablets_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHotTabletsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hotTablets_ = new java.util.ArrayList(hotTablets_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.HotTablet, - com.google.bigtable.admin.v2.HotTablet.Builder, - com.google.bigtable.admin.v2.HotTabletOrBuilder> - hotTabletsBuilder_; + com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> hotTabletsBuilder_; /** - * - * *
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -660,8 +609,6 @@ public java.util.List getHotTabletsList(
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -680,8 +627,6 @@ public int getHotTabletsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -700,8 +645,6 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -712,7 +655,8 @@ public com.google.bigtable.admin.v2.HotTablet getHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder setHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -726,8 +670,6 @@ public Builder setHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -750,8 +692,6 @@ public Builder setHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -776,8 +716,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -788,7 +726,8 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet value) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet value) {
+    public Builder addHotTablets(
+        int index, com.google.bigtable.admin.v2.HotTablet value) {
       if (hotTabletsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -802,8 +741,6 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -814,7 +751,8 @@ public Builder addHotTablets(int index, com.google.bigtable.admin.v2.HotTablet v
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
+    public Builder addHotTablets(
+        com.google.bigtable.admin.v2.HotTablet.Builder builderForValue) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
         hotTablets_.add(builderForValue.build());
@@ -825,8 +763,6 @@ public Builder addHotTablets(com.google.bigtable.admin.v2.HotTablet.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -849,8 +785,6 @@ public Builder addHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -865,7 +799,8 @@ public Builder addAllHotTablets(
         java.lang.Iterable values) {
       if (hotTabletsBuilder_ == null) {
         ensureHotTabletsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hotTablets_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, hotTablets_);
         onChanged();
       } else {
         hotTabletsBuilder_.addAllMessages(values);
@@ -873,8 +808,6 @@ public Builder addAllHotTablets(
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -896,8 +829,6 @@ public Builder clearHotTablets() {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -919,8 +850,6 @@ public Builder removeHotTablets(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -931,12 +860,11 @@ public Builder removeHotTablets(int index) {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(
+        int index) {
       return getHotTabletsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -947,16 +875,14 @@ public com.google.bigtable.admin.v2.HotTablet.Builder getHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index) {
+    public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+        int index) {
       if (hotTabletsBuilder_ == null) {
-        return hotTablets_.get(index);
-      } else {
+        return hotTablets_.get(index);  } else {
         return hotTabletsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -967,8 +893,8 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsOrBuilderList() {
+    public java.util.List 
+         getHotTabletsOrBuilderList() {
       if (hotTabletsBuilder_ != null) {
         return hotTabletsBuilder_.getMessageOrBuilderList();
       } else {
@@ -976,8 +902,6 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
       }
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -989,12 +913,10 @@ public com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(in
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
     public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+      return getHotTabletsFieldBuilder().addBuilder(
+          com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1005,13 +927,12 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder() {
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int index) {
-      return getHotTabletsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
+    public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(
+        int index) {
+      return getHotTabletsFieldBuilder().addBuilder(
+          index, com.google.bigtable.admin.v2.HotTablet.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * List of hot tablets in the tables of the requested cluster that fall
      * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -1022,23 +943,20 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      *
      * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
      */
-    public java.util.List
-        getHotTabletsBuilderList() {
+    public java.util.List 
+         getHotTabletsBuilderList() {
       return getHotTabletsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.HotTablet,
-            com.google.bigtable.admin.v2.HotTablet.Builder,
-            com.google.bigtable.admin.v2.HotTabletOrBuilder>
+        com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder> 
         getHotTabletsFieldBuilder() {
       if (hotTabletsBuilder_ == null) {
-        hotTabletsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.admin.v2.HotTablet,
-                com.google.bigtable.admin.v2.HotTablet.Builder,
-                com.google.bigtable.admin.v2.HotTabletOrBuilder>(
-                hotTablets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        hotTabletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.admin.v2.HotTablet, com.google.bigtable.admin.v2.HotTablet.Builder, com.google.bigtable.admin.v2.HotTabletOrBuilder>(
+                hotTablets_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         hotTablets_ = null;
       }
       return hotTabletsBuilder_;
@@ -1046,8 +964,6 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
 
     private java.lang.Object nextPageToken_ = "";
     /**
-     *
-     *
      * 
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1055,13 +971,13 @@ public com.google.bigtable.admin.v2.HotTablet.Builder addHotTabletsBuilder(int i
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1070,8 +986,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1079,14 +993,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1094,8 +1009,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1103,22 +1016,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1126,7 +1035,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1136,8 +1044,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all hot tablets could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1145,23 +1051,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1171,12 +1075,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListHotTabletsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListHotTabletsResponse) private static final com.google.bigtable.admin.v2.ListHotTabletsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListHotTabletsResponse(); } @@ -1185,27 +1089,27 @@ public static com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListHotTabletsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListHotTabletsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1220,4 +1124,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListHotTabletsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java index 579db9d4d4..8eed777c28 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListHotTabletsResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListHotTabletsResponseOrBuilder - extends +public interface ListHotTabletsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListHotTabletsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -36,10 +18,9 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  java.util.List getHotTabletsList();
+  java.util.List 
+      getHotTabletsList();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -52,8 +33,6 @@ public interface ListHotTabletsResponseOrBuilder
    */
   com.google.bigtable.admin.v2.HotTablet getHotTablets(int index);
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -66,8 +45,6 @@ public interface ListHotTabletsResponseOrBuilder
    */
   int getHotTabletsCount();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -78,11 +55,9 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  java.util.List
+  java.util.List 
       getHotTabletsOrBuilderList();
   /**
-   *
-   *
    * 
    * List of hot tablets in the tables of the requested cluster that fall
    * within the requested time range. Hot tablets are ordered by node cpu usage
@@ -93,11 +68,10 @@ public interface ListHotTabletsResponseOrBuilder
    *
    * repeated .google.bigtable.admin.v2.HotTablet hot_tablets = 1;
    */
-  com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(int index);
+  com.google.bigtable.admin.v2.HotTabletOrBuilder getHotTabletsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -105,13 +79,10 @@ public interface ListHotTabletsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all hot tablets could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -119,8 +90,8 @@ public interface ListHotTabletsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java similarity index 66% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java index f0d296bf1f..07f21bb006 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ -public final class ListInstancesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesRequest) ListInstancesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesRequest.newBuilder() to construct. private ListInstancesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,41 +26,34 @@ private ListInstancesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object parent_ = ""; /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -87,32 +62,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -121,18 +94,14 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ @java.lang.Override @@ -141,29 +110,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -172,7 +141,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -184,7 +152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -214,16 +183,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesRequest other = - (com.google.bigtable.admin.v2.ListInstancesRequest) obj; + com.google.bigtable.admin.v2.ListInstancesRequest other = (com.google.bigtable.admin.v2.ListInstancesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -245,135 +215,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesRequest) com.google.bigtable.admin.v2.ListInstancesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesRequest.class, - com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); + com.google.bigtable.admin.v2.ListInstancesRequest.class, com.google.bigtable.admin.v2.ListInstancesRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -384,9 +350,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; } @java.lang.Override @@ -405,11 +371,8 @@ public com.google.bigtable.admin.v2.ListInstancesRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesRequest buildPartial() { - com.google.bigtable.admin.v2.ListInstancesRequest result = - new com.google.bigtable.admin.v2.ListInstancesRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ListInstancesRequest result = new com.google.bigtable.admin.v2.ListInstancesRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -428,39 +391,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesRequest res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesRequest) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesRequest)other); } else { super.mergeFrom(other); return this; @@ -468,8 +430,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesRequest other) { - if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; bitField0_ |= 0x00000001; @@ -506,25 +467,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -534,28 +492,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -564,24 +517,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -589,41 +539,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -633,24 +572,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the project for which a list of instances is requested.
      * Values are of the form `projects/{project}`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -660,20 +593,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object pageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -682,21 +613,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -704,35 +634,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -742,30 +665,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string page_token = 2; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -775,12 +694,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesRequest) private static final com.google.bigtable.admin.v2.ListInstancesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesRequest(); } @@ -789,27 +708,27 @@ public static com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -824,4 +743,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java index b53d806b65..08b53b7850 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesRequestOrBuilder.java @@ -1,81 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListInstancesRequestOrBuilder - extends +public interface ListInstancesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListInstancesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the project for which a list of instances is requested.
    * Values are of the form `projects/{project}`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string page_token = 2; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java index 43dfbe061b..89df7a91c0 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Response message for BigtableInstanceAdmin.ListInstances.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ -public final class ListInstancesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListInstancesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListInstancesResponse) ListInstancesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListInstancesResponse.newBuilder() to construct. private ListInstancesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListInstancesResponse() { instances_ = java.util.Collections.emptyList(); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListInstancesResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } public static final int INSTANCES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List instances_; /** - * - * *
    * The list of requested instances.
    * 
@@ -82,8 +61,6 @@ public java.util.List getInstancesList() return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -91,13 +68,11 @@ public java.util.List getInstancesList() * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public java.util.List + public java.util.List getInstancesOrBuilderList() { return instances_; } /** - * - * *
    * The list of requested instances.
    * 
@@ -109,8 +84,6 @@ public int getInstancesCount() { return instances_.size(); } /** - * - * *
    * The list of requested instances.
    * 
@@ -122,8 +95,6 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { return instances_.get(index); } /** - * - * *
    * The list of requested instances.
    * 
@@ -131,18 +102,16 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { * repeated .google.bigtable.admin.v2.Instance instances = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { return instances_.get(index); } public static final int FAILED_LOCATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -153,15 +122,13 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { return failedLocations_; } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -172,15 +139,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -191,7 +155,6 @@ public int getFailedLocationsCount() {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -199,8 +162,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -211,27 +172,23 @@ public java.lang.String getFailedLocations(int index) {
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ @java.lang.Override @@ -240,29 +197,29 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -271,7 +228,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -283,7 +239,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < instances_.size(); i++) { output.writeMessage(1, instances_.get(i)); } @@ -303,7 +260,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < instances_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, instances_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, instances_.get(i)); } { int dataSize = 0; @@ -324,17 +282,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListInstancesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListInstancesResponse other = - (com.google.bigtable.admin.v2.ListInstancesResponse) obj; + com.google.bigtable.admin.v2.ListInstancesResponse other = (com.google.bigtable.admin.v2.ListInstancesResponse) obj; - if (!getInstancesList().equals(other.getInstancesList())) return false; - if (!getFailedLocationsList().equals(other.getFailedLocationsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getInstancesList() + .equals(other.getInstancesList())) return false; + if (!getFailedLocationsList() + .equals(other.getFailedLocationsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -362,135 +322,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListInstancesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListInstancesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListInstancesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for BigtableInstanceAdmin.ListInstances.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ListInstancesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListInstancesResponse) com.google.bigtable.admin.v2.ListInstancesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ListInstancesResponse.class, - com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); + com.google.bigtable.admin.v2.ListInstancesResponse.class, com.google.bigtable.admin.v2.ListInstancesResponse.Builder.class); } // Construct using com.google.bigtable.admin.v2.ListInstancesResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -502,15 +458,16 @@ public Builder clear() { instancesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; } @java.lang.Override @@ -529,18 +486,14 @@ public com.google.bigtable.admin.v2.ListInstancesResponse build() { @java.lang.Override public com.google.bigtable.admin.v2.ListInstancesResponse buildPartial() { - com.google.bigtable.admin.v2.ListInstancesResponse result = - new com.google.bigtable.admin.v2.ListInstancesResponse(this); + com.google.bigtable.admin.v2.ListInstancesResponse result = new com.google.bigtable.admin.v2.ListInstancesResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.ListInstancesResponse result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListInstancesResponse result) { if (instancesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { instances_ = java.util.Collections.unmodifiableList(instances_); @@ -567,39 +520,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListInstancesResponse re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.ListInstancesResponse) { - return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse) other); + return mergeFrom((com.google.bigtable.admin.v2.ListInstancesResponse)other); } else { super.mergeFrom(other); return this; @@ -607,8 +559,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse other) { - if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.ListInstancesResponse.getDefaultInstance()) return this; if (instancesBuilder_ == null) { if (!other.instances_.isEmpty()) { if (instances_.isEmpty()) { @@ -627,10 +578,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListInstancesResponse othe instancesBuilder_ = null; instances_ = other.instances_; bitField0_ = (bitField0_ & ~0x00000001); - instancesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getInstancesFieldBuilder() - : null; + instancesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getInstancesFieldBuilder() : null; } else { instancesBuilder_.addAllMessages(other.instances_); } @@ -677,39 +627,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.admin.v2.Instance m = - input.readMessage( - com.google.bigtable.admin.v2.Instance.parser(), extensionRegistry); - if (instancesBuilder_ == null) { - ensureInstancesIsMutable(); - instances_.add(m); - } else { - instancesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureFailedLocationsIsMutable(); - failedLocations_.add(s); - break; - } // case 18 - case 26: - { - nextPageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.admin.v2.Instance m = + input.readMessage( + com.google.bigtable.admin.v2.Instance.parser(), + extensionRegistry); + if (instancesBuilder_ == null) { + ensureInstancesIsMutable(); + instances_.add(m); + } else { + instancesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + ensureFailedLocationsIsMutable(); + failedLocations_.add(s); + break; + } // case 18 + case 26: { + nextPageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -719,28 +666,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List instances_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureInstancesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { instances_ = new java.util.ArrayList(instances_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instancesBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instancesBuilder_; /** - * - * *
      * The list of requested instances.
      * 
@@ -755,8 +695,6 @@ public java.util.List getInstancesList() } } /** - * - * *
      * The list of requested instances.
      * 
@@ -771,8 +709,6 @@ public int getInstancesCount() { } } /** - * - * *
      * The list of requested instances.
      * 
@@ -787,15 +723,14 @@ public com.google.bigtable.admin.v2.Instance getInstances(int index) { } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder setInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -809,8 +744,6 @@ public Builder setInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -829,8 +762,6 @@ public Builder setInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -851,15 +782,14 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance value) { + public Builder addInstances( + int index, com.google.bigtable.admin.v2.Instance value) { if (instancesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -873,15 +803,14 @@ public Builder addInstances(int index, com.google.bigtable.admin.v2.Instance val return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder addInstances( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); instances_.add(builderForValue.build()); @@ -892,8 +821,6 @@ public Builder addInstances(com.google.bigtable.admin.v2.Instance.Builder builde return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -912,8 +839,6 @@ public Builder addInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -924,7 +849,8 @@ public Builder addAllInstances( java.lang.Iterable values) { if (instancesBuilder_ == null) { ensureInstancesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, instances_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, instances_); onChanged(); } else { instancesBuilder_.addAllMessages(values); @@ -932,8 +858,6 @@ public Builder addAllInstances( return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -951,8 +875,6 @@ public Builder clearInstances() { return this; } /** - * - * *
      * The list of requested instances.
      * 
@@ -970,44 +892,39 @@ public Builder removeInstances(int index) { return this; } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder(int index) { + public com.google.bigtable.admin.v2.Instance.Builder getInstancesBuilder( + int index) { return getInstancesFieldBuilder().getBuilder(index); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index) { + public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index) { if (instancesBuilder_ == null) { - return instances_.get(index); - } else { + return instances_.get(index); } else { return instancesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List - getInstancesOrBuilderList() { + public java.util.List + getInstancesOrBuilderList() { if (instancesBuilder_ != null) { return instancesBuilder_.getMessageOrBuilderList(); } else { @@ -1015,8 +932,6 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int } } /** - * - * *
      * The list of requested instances.
      * 
@@ -1024,47 +939,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int * repeated .google.bigtable.admin.v2.Instance instances = 1; */ public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder() { - return getInstancesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + return getInstancesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder(int index) { - return getInstancesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); + public com.google.bigtable.admin.v2.Instance.Builder addInstancesBuilder( + int index) { + return getInstancesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Instance.getDefaultInstance()); } /** - * - * *
      * The list of requested instances.
      * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - public java.util.List getInstancesBuilderList() { + public java.util.List + getInstancesBuilderList() { return getInstancesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstancesFieldBuilder() { if (instancesBuilder_ == null) { - instancesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + instancesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + instances_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); instances_ = null; } return instancesBuilder_; @@ -1072,7 +982,6 @@ public java.util.List getInstance private com.google.protobuf.LazyStringArrayList failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureFailedLocationsIsMutable() { if (!failedLocations_.isModifiable()) { failedLocations_ = new com.google.protobuf.LazyStringArrayList(failedLocations_); @@ -1080,8 +989,6 @@ private void ensureFailedLocationsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1092,16 +999,14 @@ private void ensureFailedLocationsIsMutable() {
      * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - public com.google.protobuf.ProtocolStringList getFailedLocationsList() { + public com.google.protobuf.ProtocolStringList + getFailedLocationsList() { failedLocations_.makeImmutable(); return failedLocations_; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1112,15 +1017,12 @@ public com.google.protobuf.ProtocolStringList getFailedLocationsList() {
      * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ public int getFailedLocationsCount() { return failedLocations_.size(); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1131,7 +1033,6 @@ public int getFailedLocationsCount() {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ @@ -1139,8 +1040,6 @@ public java.lang.String getFailedLocations(int index) { return failedLocations_.get(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1151,16 +1050,14 @@ public java.lang.String getFailedLocations(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - public com.google.protobuf.ByteString getFailedLocationsBytes(int index) { + public com.google.protobuf.ByteString + getFailedLocationsBytes(int index) { return failedLocations_.getByteString(index); } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1171,15 +1068,13 @@ public com.google.protobuf.ByteString getFailedLocationsBytes(int index) {
      * 
* * repeated string failed_locations = 2; - * * @param index The index to set the value at. * @param value The failedLocations to set. * @return This builder for chaining. */ - public Builder setFailedLocations(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFailedLocations( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.set(index, value); bitField0_ |= 0x00000002; @@ -1187,8 +1082,6 @@ public Builder setFailedLocations(int index, java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1199,14 +1092,12 @@ public Builder setFailedLocations(int index, java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param value The failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocations(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocations( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureFailedLocationsIsMutable(); failedLocations_.add(value); bitField0_ |= 0x00000002; @@ -1214,8 +1105,6 @@ public Builder addFailedLocations(java.lang.String value) { return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1226,20 +1115,19 @@ public Builder addFailedLocations(java.lang.String value) {
      * 
* * repeated string failed_locations = 2; - * * @param values The failedLocations to add. * @return This builder for chaining. */ - public Builder addAllFailedLocations(java.lang.Iterable values) { + public Builder addAllFailedLocations( + java.lang.Iterable values) { ensureFailedLocationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, failedLocations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, failedLocations_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1250,19 +1138,16 @@ public Builder addAllFailedLocations(java.lang.Iterable values
      * 
* * repeated string failed_locations = 2; - * * @return This builder for chaining. */ public Builder clearFailedLocations() { - failedLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + failedLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * Locations from which Instance information could not be retrieved,
      * due to an outage or some other transient condition.
@@ -1273,14 +1158,12 @@ public Builder clearFailedLocations() {
      * 
* * repeated string failed_locations = 2; - * * @param value The bytes of the failedLocations to add. * @return This builder for chaining. */ - public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addFailedLocationsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureFailedLocationsIsMutable(); failedLocations_.add(value); @@ -1291,20 +1174,18 @@ public Builder addFailedLocationsBytes(com.google.protobuf.ByteString value) { private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -1313,21 +1194,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1335,35 +1215,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1373,30 +1246,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * DEPRECATED: This field is unused and ignored.
      * 
* * string next_page_token = 3; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1406,12 +1275,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListInstancesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListInstancesResponse) private static final com.google.bigtable.admin.v2.ListInstancesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListInstancesResponse(); } @@ -1420,27 +1289,27 @@ public static com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListInstancesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListInstancesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1455,4 +1324,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListInstancesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java similarity index 79% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java index fdf0e30105..db6bb1f7e9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListInstancesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface ListInstancesResponseOrBuilder - extends +public interface ListInstancesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListInstancesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - java.util.List getInstancesList(); + java.util.List + getInstancesList(); /** - * - * *
    * The list of requested instances.
    * 
@@ -44,8 +25,6 @@ public interface ListInstancesResponseOrBuilder */ com.google.bigtable.admin.v2.Instance getInstances(int index); /** - * - * *
    * The list of requested instances.
    * 
@@ -54,30 +33,25 @@ public interface ListInstancesResponseOrBuilder */ int getInstancesCount(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - java.util.List + java.util.List getInstancesOrBuilderList(); /** - * - * *
    * The list of requested instances.
    * 
* * repeated .google.bigtable.admin.v2.Instance instances = 1; */ - com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder(int index); + com.google.bigtable.admin.v2.InstanceOrBuilder getInstancesOrBuilder( + int index); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -88,13 +62,11 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return A list containing the failedLocations. */ - java.util.List getFailedLocationsList(); + java.util.List + getFailedLocationsList(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -105,13 +77,10 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @return The count of failedLocations. */ int getFailedLocationsCount(); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -122,14 +91,11 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the element to return. * @return The failedLocations at the given index. */ java.lang.String getFailedLocations(int index); /** - * - * *
    * Locations from which Instance information could not be retrieved,
    * due to an outage or some other transient condition.
@@ -140,34 +106,29 @@ public interface ListInstancesResponseOrBuilder
    * 
* * repeated string failed_locations = 2; - * * @param index The index of the value to return. * @return The bytes of the failedLocations at the given index. */ - com.google.protobuf.ByteString getFailedLocationsBytes(int index); + com.google.protobuf.ByteString + getFailedLocationsBytes(int index); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * DEPRECATED: This field is unused and ignored.
    * 
* * string next_page_token = 3; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java index 05aeaf7469..0bbcfcb885 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
  */
-public final class ListSnapshotsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
     ListSnapshotsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsRequest.newBuilder() to construct.
   private ListSnapshotsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -50,32 +32,28 @@ private ListSnapshotsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-            com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -84,10 +62,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -96,15 +71,14 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -113,18 +87,17 @@ public java.lang.String getParent() {
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -135,15 +108,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -152,18 +122,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -172,29 +138,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -203,7 +169,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +180,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -238,7 +204,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -251,17 +218,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsRequest other = - (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; + com.google.bigtable.admin.v2.ListSnapshotsRequest other = (com.google.bigtable.admin.v2.ListSnapshotsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -285,103 +254,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest 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.ListSnapshotsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -394,32 +358,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsRequest)
       com.google.bigtable.admin.v2.ListSnapshotsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.class,
-              com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsRequest.class, com.google.bigtable.admin.v2.ListSnapshotsRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -431,9 +396,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -452,11 +417,8 @@ public com.google.bigtable.admin.v2.ListSnapshotsRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsRequest result =
-          new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListSnapshotsRequest result = new com.google.bigtable.admin.v2.ListSnapshotsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -478,39 +440,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -518,8 +479,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsRequest other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -559,31 +519,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -593,13 +549,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -608,16 +561,14 @@ public Builder mergeFrom(
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -626,8 +577,6 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -636,17 +585,16 @@ public java.lang.String getParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -654,8 +602,6 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -664,25 +610,19 @@ public com.google.protobuf.ByteString getParentBytes() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -691,10 +631,7 @@ public Builder setParent(java.lang.String value) {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -704,8 +641,6 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The unique name of the cluster for which snapshots should be
      * listed. Values are of the form
@@ -714,17 +649,13 @@ public Builder clearParent() {
      * e.g., `projects/{project}/instances/{instance}/clusters/-`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -732,17 +663,14 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -750,15 +678,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -770,15 +695,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of snapshots to return per page.
      * CURRENTLY UNIMPLEMENTED AND IGNORED.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -790,20 +712,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -812,21 +732,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -834,35 +753,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -872,30 +784,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -905,12 +813,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsRequest) private static final com.google.bigtable.admin.v2.ListSnapshotsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsRequest(); } @@ -919,27 +827,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -954,4 +862,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java index 05cb896aa1..71f7688237 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListSnapshotsRequestOrBuilder - extends +public interface ListSnapshotsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListSnapshotsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -34,16 +16,11 @@ public interface ListSnapshotsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The unique name of the cluster for which snapshots should be
    * listed. Values are of the form
@@ -52,50 +29,40 @@ public interface ListSnapshotsRequestOrBuilder
    * e.g., `projects/{project}/instances/{instance}/clusters/-`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of snapshots to return per page.
    * CURRENTLY UNIMPLEMENTED AND IGNORED.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java index d3741491f3..5e81831d52 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
  */
-public final class ListSnapshotsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListSnapshotsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
     ListSnapshotsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListSnapshotsResponse.newBuilder() to construct.
   private ListSnapshotsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListSnapshotsResponse() {
     snapshots_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -50,32 +32,28 @@ private ListSnapshotsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListSnapshotsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-            com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
   }
 
   public static final int SNAPSHOTS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List snapshots_;
   /**
-   *
-   *
    * 
    * The snapshots present in the requested cluster.
    * 
@@ -87,8 +65,6 @@ public java.util.List getSnapshotsList() return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -96,13 +72,11 @@ public java.util.List getSnapshotsList() * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public java.util.List + public java.util.List getSnapshotsOrBuilderList() { return snapshots_; } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -114,8 +88,6 @@ public int getSnapshotsCount() { return snapshots_.size(); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -127,8 +99,6 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { return snapshots_.get(index); } /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -136,17 +106,15 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { return snapshots_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -154,7 +122,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -163,15 +130,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -179,15 +145,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -196,7 +163,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < snapshots_.size(); i++) { output.writeMessage(1, snapshots_.get(i)); } @@ -225,7 +192,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < snapshots_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, snapshots_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, snapshots_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -238,16 +206,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListSnapshotsResponse other = - (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; + com.google.bigtable.admin.v2.ListSnapshotsResponse other = (com.google.bigtable.admin.v2.ListSnapshotsResponse) obj; - if (!getSnapshotsList().equals(other.getSnapshotsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getSnapshotsList() + .equals(other.getSnapshotsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -271,103 +240,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse 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.ListSnapshotsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListSnapshotsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListSnapshotsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
@@ -380,32 +344,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListSnapshotsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListSnapshotsResponse)
       com.google.bigtable.admin.v2.ListSnapshotsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.class,
-              com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListSnapshotsResponse.class, com.google.bigtable.admin.v2.ListSnapshotsResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListSnapshotsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +387,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListSnapshotsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -443,18 +408,14 @@ public com.google.bigtable.admin.v2.ListSnapshotsResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListSnapshotsResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListSnapshotsResponse result =
-          new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
+      com.google.bigtable.admin.v2.ListSnapshotsResponse result = new com.google.bigtable.admin.v2.ListSnapshotsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListSnapshotsResponse result) {
       if (snapshotsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           snapshots_ = java.util.Collections.unmodifiableList(snapshots_);
@@ -477,39 +438,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListSnapshotsResponse re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListSnapshotsResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListSnapshotsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -517,8 +477,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListSnapshotsResponse.getDefaultInstance()) return this;
       if (snapshotsBuilder_ == null) {
         if (!other.snapshots_.isEmpty()) {
           if (snapshots_.isEmpty()) {
@@ -537,10 +496,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListSnapshotsResponse othe
             snapshotsBuilder_ = null;
             snapshots_ = other.snapshots_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            snapshotsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getSnapshotsFieldBuilder()
-                    : null;
+            snapshotsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getSnapshotsFieldBuilder() : null;
           } else {
             snapshotsBuilder_.addAllMessages(other.snapshots_);
           }
@@ -577,32 +535,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Snapshot m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Snapshot.parser(), extensionRegistry);
-                if (snapshotsBuilder_ == null) {
-                  ensureSnapshotsIsMutable();
-                  snapshots_.add(m);
-                } else {
-                  snapshotsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Snapshot m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Snapshot.parser(),
+                      extensionRegistry);
+              if (snapshotsBuilder_ == null) {
+                ensureSnapshotsIsMutable();
+                snapshots_.add(m);
+              } else {
+                snapshotsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -612,28 +568,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List snapshots_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureSnapshotsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         snapshots_ = new java.util.ArrayList(snapshots_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Snapshot,
-            com.google.bigtable.admin.v2.Snapshot.Builder,
-            com.google.bigtable.admin.v2.SnapshotOrBuilder>
-        snapshotsBuilder_;
+        com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> snapshotsBuilder_;
 
     /**
-     *
-     *
      * 
      * The snapshots present in the requested cluster.
      * 
@@ -648,8 +597,6 @@ public java.util.List getSnapshotsList() } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -664,8 +611,6 @@ public int getSnapshotsCount() { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -680,15 +625,14 @@ public com.google.bigtable.admin.v2.Snapshot getSnapshots(int index) { } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder setSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -702,8 +646,6 @@ public Builder setSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -722,8 +664,6 @@ public Builder setSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -744,15 +684,14 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot value) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot value) { + public Builder addSnapshots( + int index, com.google.bigtable.admin.v2.Snapshot value) { if (snapshotsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -766,15 +705,14 @@ public Builder addSnapshots(int index, com.google.bigtable.admin.v2.Snapshot val return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { + public Builder addSnapshots( + com.google.bigtable.admin.v2.Snapshot.Builder builderForValue) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); snapshots_.add(builderForValue.build()); @@ -785,8 +723,6 @@ public Builder addSnapshots(com.google.bigtable.admin.v2.Snapshot.Builder builde return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -805,8 +741,6 @@ public Builder addSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -817,7 +751,8 @@ public Builder addAllSnapshots( java.lang.Iterable values) { if (snapshotsBuilder_ == null) { ensureSnapshotsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, snapshots_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, snapshots_); onChanged(); } else { snapshotsBuilder_.addAllMessages(values); @@ -825,8 +760,6 @@ public Builder addAllSnapshots( return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -844,8 +777,6 @@ public Builder clearSnapshots() { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -863,44 +794,39 @@ public Builder removeSnapshots(int index) { return this; } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder(int index) { + public com.google.bigtable.admin.v2.Snapshot.Builder getSnapshotsBuilder( + int index) { return getSnapshotsFieldBuilder().getBuilder(index); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index) { + public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index) { if (snapshotsBuilder_ == null) { - return snapshots_.get(index); - } else { + return snapshots_.get(index); } else { return snapshotsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List - getSnapshotsOrBuilderList() { + public java.util.List + getSnapshotsOrBuilderList() { if (snapshotsBuilder_ != null) { return snapshotsBuilder_.getMessageOrBuilderList(); } else { @@ -908,8 +834,6 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int } } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
@@ -917,47 +841,42 @@ public com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder() { - return getSnapshotsFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + return getSnapshotsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder(int index) { - return getSnapshotsFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); + public com.google.bigtable.admin.v2.Snapshot.Builder addSnapshotsBuilder( + int index) { + return getSnapshotsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Snapshot.getDefaultInstance()); } /** - * - * *
      * The snapshots present in the requested cluster.
      * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - public java.util.List getSnapshotsBuilderList() { + public java.util.List + getSnapshotsBuilderList() { return getSnapshotsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder> + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder> getSnapshotsFieldBuilder() { if (snapshotsBuilder_ == null) { - snapshotsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Snapshot, - com.google.bigtable.admin.v2.Snapshot.Builder, - com.google.bigtable.admin.v2.SnapshotOrBuilder>( - snapshots_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + snapshotsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Snapshot, com.google.bigtable.admin.v2.Snapshot.Builder, com.google.bigtable.admin.v2.SnapshotOrBuilder>( + snapshots_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); snapshots_ = null; } return snapshotsBuilder_; @@ -965,8 +884,6 @@ public java.util.List getSnapshot private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -974,13 +891,13 @@ public java.util.List getSnapshot
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -989,8 +906,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -998,14 +913,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1013,8 +929,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1022,22 +936,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1045,7 +955,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1055,8 +964,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all snapshots could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1064,23 +971,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1090,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListSnapshotsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListSnapshotsResponse) private static final com.google.bigtable.admin.v2.ListSnapshotsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListSnapshotsResponse(); } @@ -1104,27 +1009,27 @@ public static com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListSnapshotsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListSnapshotsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1139,4 +1044,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListSnapshotsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java index 4dc6df54a7..7ddafcece8 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListSnapshotsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListSnapshotsResponseOrBuilder - extends +public interface ListSnapshotsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListSnapshotsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - java.util.List getSnapshotsList(); + java.util.List + getSnapshotsList(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -44,8 +25,6 @@ public interface ListSnapshotsResponseOrBuilder */ com.google.bigtable.admin.v2.Snapshot getSnapshots(int index); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
@@ -54,30 +33,25 @@ public interface ListSnapshotsResponseOrBuilder */ int getSnapshotsCount(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - java.util.List + java.util.List getSnapshotsOrBuilderList(); /** - * - * *
    * The snapshots present in the requested cluster.
    * 
* * repeated .google.bigtable.admin.v2.Snapshot snapshots = 1; */ - com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder(int index); + com.google.bigtable.admin.v2.SnapshotOrBuilder getSnapshotsOrBuilder( + int index); /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -85,13 +59,10 @@ public interface ListSnapshotsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all snapshots could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -99,8 +70,8 @@ public interface ListSnapshotsResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java index ceb5584c9f..5a4ac39bb1 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListTablesRequest}
  */
-public final class ListTablesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTablesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListTablesRequest)
     ListTablesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTablesRequest.newBuilder() to construct.
   private ListTablesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTablesRequest() {
     parent_ = "";
     view_ = 0;
@@ -46,41 +28,34 @@ private ListTablesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesRequest.class,
-            com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -89,32 +64,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -125,45 +98,34 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * Maximum number of results per page.
    *
@@ -177,7 +139,6 @@ public com.google.bigtable.admin.v2.Table.View getView() {
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -186,18 +147,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -206,29 +163,29 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -237,7 +194,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,7 +205,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -275,13 +232,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (view_ != com.google.bigtable.admin.v2.Table.View.VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -291,18 +250,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesRequest other = - (com.google.bigtable.admin.v2.ListTablesRequest) obj; + com.google.bigtable.admin.v2.ListTablesRequest other = (com.google.bigtable.admin.v2.ListTablesRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (view_ != other.view_) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -327,104 +288,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest 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.ListTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -432,32 +388,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesRequest)
       com.google.bigtable.admin.v2.ListTablesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesRequest.class,
-              com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesRequest.class, com.google.bigtable.admin.v2.ListTablesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -470,9 +427,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -491,11 +448,8 @@ public com.google.bigtable.admin.v2.ListTablesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesRequest result =
-          new com.google.bigtable.admin.v2.ListTablesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.ListTablesRequest result = new com.google.bigtable.admin.v2.ListTablesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -520,39 +474,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesRequest result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -603,37 +556,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -643,28 +591,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -673,24 +616,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -698,41 +638,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -742,24 +671,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -769,31 +692,24 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -804,33 +720,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.View getView() { - com.google.bigtable.admin.v2.Table.View result = - com.google.bigtable.admin.v2.Table.View.forNumber(view_); + com.google.bigtable.admin.v2.Table.View result = com.google.bigtable.admin.v2.Table.View.forNumber(view_); return result == null ? com.google.bigtable.admin.v2.Table.View.UNRECOGNIZED : result; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -844,15 +753,12 @@ public Builder setView(com.google.bigtable.admin.v2.Table.View value) { return this; } /** - * - * *
      * The view to be applied to the returned tables' fields.
      * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
      * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return This builder for chaining. */ public Builder clearView() { @@ -862,10 +768,8 @@ public Builder clearView() { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of results per page.
      *
@@ -879,7 +783,6 @@ public Builder clearView() {
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -887,8 +790,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -902,7 +803,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -914,8 +814,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of results per page.
      *
@@ -929,7 +827,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -941,20 +838,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -963,21 +858,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -985,35 +879,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1023,30 +910,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The value of `next_page_token` returned by a previous call.
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1056,12 +939,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesRequest) private static final com.google.bigtable.admin.v2.ListTablesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesRequest(); } @@ -1070,27 +953,27 @@ public static com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1105,4 +988,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java index fe02f406d8..4e24d5489c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesRequestOrBuilder.java @@ -1,89 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListTablesRequestOrBuilder - extends +public interface ListTablesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListTablesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * 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) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view to be applied to the returned tables' fields.
    * NAME_ONLY view (default) and REPLICATION_VIEW are supported.
    * 
* * .google.bigtable.admin.v2.Table.View view = 2; - * * @return The view. */ com.google.bigtable.admin.v2.Table.View getView(); /** - * - * *
    * Maximum number of results per page.
    *
@@ -97,33 +64,27 @@ public interface ListTablesRequestOrBuilder
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The value of `next_page_token` returned by a previous call.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java index ed33c18bc8..17ff0fda1c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Response message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
  */
-public final class ListTablesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListTablesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ListTablesResponse)
     ListTablesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListTablesResponse.newBuilder() to construct.
   private ListTablesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListTablesResponse() {
     tables_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -45,32 +27,28 @@ private ListTablesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListTablesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ListTablesResponse.class,
-            com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+            com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
   }
 
   public static final int TABLES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tables_;
   /**
-   *
-   *
    * 
    * The tables present in the requested instance.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTablesList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTablesList() { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTablesOrBuilderList() { return tables_; } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -109,8 +83,6 @@ public int getTablesCount() { return tables_.size(); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -122,8 +94,6 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { return tables_.get(index); } /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -131,17 +101,15 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { * repeated .google.bigtable.admin.v2.Table tables = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { return tables_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -149,7 +117,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index)
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -158,15 +125,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -174,15 +140,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -191,7 +158,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +169,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tables_.size(); i++) { output.writeMessage(1, tables_.get(i)); } @@ -220,7 +187,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tables_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tables_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tables_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +201,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ListTablesResponse)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ListTablesResponse other = - (com.google.bigtable.admin.v2.ListTablesResponse) obj; + com.google.bigtable.admin.v2.ListTablesResponse other = (com.google.bigtable.admin.v2.ListTablesResponse) obj; - if (!getTablesList().equals(other.getTablesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTablesList() + .equals(other.getTablesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,104 +234,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse 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.ListTablesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ListTablesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ListTablesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.ListTablesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
@@ -370,32 +334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ListTablesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ListTablesResponse)
       com.google.bigtable.admin.v2.ListTablesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ListTablesResponse.class,
-              com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
+              com.google.bigtable.admin.v2.ListTablesResponse.class, com.google.bigtable.admin.v2.ListTablesResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ListTablesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,9 +377,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ListTablesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -433,18 +398,14 @@ public com.google.bigtable.admin.v2.ListTablesResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ListTablesResponse buildPartial() {
-      com.google.bigtable.admin.v2.ListTablesResponse result =
-          new com.google.bigtable.admin.v2.ListTablesResponse(this);
+      com.google.bigtable.admin.v2.ListTablesResponse result = new com.google.bigtable.admin.v2.ListTablesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ListTablesResponse result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ListTablesResponse result) {
       if (tablesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tables_ = java.util.Collections.unmodifiableList(tables_);
@@ -467,39 +428,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ListTablesResponse resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ListTablesResponse) {
-        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ListTablesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -507,8 +467,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other) {
-      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ListTablesResponse.getDefaultInstance()) return this;
       if (tablesBuilder_ == null) {
         if (!other.tables_.isEmpty()) {
           if (tables_.isEmpty()) {
@@ -527,10 +486,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ListTablesResponse other)
             tablesBuilder_ = null;
             tables_ = other.tables_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tablesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTablesFieldBuilder()
-                    : null;
+            tablesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTablesFieldBuilder() : null;
           } else {
             tablesBuilder_.addAllMessages(other.tables_);
           }
@@ -567,32 +525,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.admin.v2.Table m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.Table.parser(), extensionRegistry);
-                if (tablesBuilder_ == null) {
-                  ensureTablesIsMutable();
-                  tables_.add(m);
-                } else {
-                  tablesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.admin.v2.Table m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.Table.parser(),
+                      extensionRegistry);
+              if (tablesBuilder_ == null) {
+                ensureTablesIsMutable();
+                tables_.add(m);
+              } else {
+                tablesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -602,28 +558,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tables_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTablesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tables_ = new java.util.ArrayList(tables_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tablesBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tablesBuilder_;
 
     /**
-     *
-     *
      * 
      * The tables present in the requested instance.
      * 
@@ -638,8 +587,6 @@ public java.util.List getTablesList() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -654,8 +601,6 @@ public int getTablesCount() { } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -670,15 +615,14 @@ public com.google.bigtable.admin.v2.Table getTables(int index) { } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder setTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,8 +636,6 @@ public Builder setTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -712,8 +654,6 @@ public Builder setTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -734,15 +674,14 @@ public Builder addTables(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { + public Builder addTables( + int index, com.google.bigtable.admin.v2.Table value) { if (tablesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -756,15 +695,14 @@ public Builder addTables(int index, com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder addTables( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); tables_.add(builderForValue.build()); @@ -775,8 +713,6 @@ public Builder addTables(com.google.bigtable.admin.v2.Table.Builder builderForVa return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -795,8 +731,6 @@ public Builder addTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -807,7 +741,8 @@ public Builder addAllTables( java.lang.Iterable values) { if (tablesBuilder_ == null) { ensureTablesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tables_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tables_); onChanged(); } else { tablesBuilder_.addAllMessages(values); @@ -815,8 +750,6 @@ public Builder addAllTables( return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -834,8 +767,6 @@ public Builder clearTables() { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -853,44 +784,39 @@ public Builder removeTables(int index) { return this; } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder(int index) { + public com.google.bigtable.admin.v2.Table.Builder getTablesBuilder( + int index) { return getTablesFieldBuilder().getBuilder(index); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) { + public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index) { if (tablesBuilder_ == null) { - return tables_.get(index); - } else { + return tables_.get(index); } else { return tablesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List - getTablesOrBuilderList() { + public java.util.List + getTablesOrBuilderList() { if (tablesBuilder_ != null) { return tablesBuilder_.getMessageOrBuilderList(); } else { @@ -898,8 +824,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) } } /** - * - * *
      * The tables present in the requested instance.
      * 
@@ -907,47 +831,42 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index) * repeated .google.bigtable.admin.v2.Table tables = 1; */ public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder() { - return getTablesFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.Table.getDefaultInstance()); + return getTablesFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder(int index) { - return getTablesFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); + public com.google.bigtable.admin.v2.Table.Builder addTablesBuilder( + int index) { + return getTablesFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.Table.getDefaultInstance()); } /** - * - * *
      * The tables present in the requested instance.
      * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - public java.util.List getTablesBuilderList() { + public java.util.List + getTablesBuilderList() { return getTablesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTablesFieldBuilder() { if (tablesBuilder_ == null) { - tablesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - tables_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tablesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + tables_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tables_ = null; } return tablesBuilder_; @@ -955,8 +874,6 @@ public java.util.List getTablesBuild private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -964,13 +881,13 @@ public java.util.List getTablesBuild
      * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -979,8 +896,6 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -988,14 +903,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1003,8 +919,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1012,22 +926,18 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1035,7 +945,6 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1045,8 +954,6 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * Set if not all tables could be returned in a single response.
      * Pass this value to `page_token` in another request to get the next
@@ -1054,23 +961,21 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1080,12 +985,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ListTablesResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ListTablesResponse) private static final com.google.bigtable.admin.v2.ListTablesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ListTablesResponse(); } @@ -1094,27 +999,27 @@ public static com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTablesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTablesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1129,4 +1034,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.ListTablesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java index 7b5cde43c0..eba229279c 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ListTablesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ListTablesResponseOrBuilder - extends +public interface ListTablesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ListTablesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - java.util.List getTablesList(); + java.util.List + getTablesList(); /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -44,8 +25,6 @@ public interface ListTablesResponseOrBuilder */ com.google.bigtable.admin.v2.Table getTables(int index); /** - * - * *
    * The tables present in the requested instance.
    * 
@@ -54,29 +33,25 @@ public interface ListTablesResponseOrBuilder */ int getTablesCount(); /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - java.util.List getTablesOrBuilderList(); + java.util.List + getTablesOrBuilderList(); /** - * - * *
    * The tables present in the requested instance.
    * 
* * repeated .google.bigtable.admin.v2.Table tables = 1; */ - com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder(int index); + com.google.bigtable.admin.v2.TableOrBuilder getTablesOrBuilder( + int index); /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -84,13 +59,10 @@ public interface ListTablesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * Set if not all tables could be returned in a single response.
    * Pass this value to `page_token` in another request to get the next
@@ -98,8 +70,8 @@ public interface ListTablesResponseOrBuilder
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/LocationName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java index 5eaa481fee..3609b30b53 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest}
  */
-public final class ModifyColumnFamiliesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ModifyColumnFamiliesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest)
     ModifyColumnFamiliesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ModifyColumnFamiliesRequest.newBuilder() to construct.
   private ModifyColumnFamiliesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ModifyColumnFamiliesRequest() {
     name_ = "";
     modifications_ = java.util.Collections.emptyList();
@@ -45,84 +27,69 @@ private ModifyColumnFamiliesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ModifyColumnFamiliesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+            com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
   }
 
-  public interface ModificationOrBuilder
-      extends
+  public interface ModificationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ java.lang.String getId(); /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ - com.google.protobuf.ByteString getIdBytes(); + com.google.protobuf.ByteString + getIdBytes(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ boolean hasCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ com.google.bigtable.admin.v2.ColumnFamily getCreate(); /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -133,34 +100,26 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ com.google.bigtable.admin.v2.ColumnFamily getUpdate(); /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -171,28 +130,22 @@ public interface ModificationOrBuilder
     com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder();
 
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ boolean hasDrop(); /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ boolean getDrop(); @@ -200,64 +153,56 @@ public interface ModificationOrBuilder com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.ModCase getModCase(); } /** - * - * *
    * A create, update, or delete of a particular column family.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Modification extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Modification extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) ModificationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Modification.newBuilder() to construct. private Modification(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Modification() { id_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Modification(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } private int modCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mod_; - public enum ModCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE(2), UPDATE(3), DROP(4), MOD_NOT_SET(0); private final int value; - private ModCase(int value) { this.value = value; } @@ -273,41 +218,33 @@ public static ModCase valueOf(int value) { public static ModCase forNumber(int value) { switch (value) { - case 2: - return CREATE; - case 3: - return UPDATE; - case 4: - return DROP; - case 0: - return MOD_NOT_SET; - default: - return null; + case 2: return CREATE; + case 3: return UPDATE; + case 4: return DROP; + case 0: return MOD_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public static final int ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The id. */ @java.lang.Override @@ -316,29 +253,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** - * - * *
      * The ID of the column family to be modified.
      * 
* * string id = 1; - * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -348,15 +285,12 @@ public com.google.protobuf.ByteString getIdBytes() { public static final int CREATE_FIELD_NUMBER = 2; /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -364,27 +298,22 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getCreate() { if (modCase_ == 2) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Create a new column family with the specified schema, or fail if
      * one already exists with the given ID.
@@ -395,22 +324,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       if (modCase_ == 2) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int UPDATE_FIELD_NUMBER = 3;
     /**
-     *
-     *
      * 
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -418,27 +344,22 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
      * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { if (modCase_ == 3) { - return (com.google.bigtable.admin.v2.ColumnFamily) mod_; + return (com.google.bigtable.admin.v2.ColumnFamily) mod_; } return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance(); } /** - * - * *
      * Update an existing column family to the specified schema, or fail
      * if no column family exists with the given ID.
@@ -449,22 +370,19 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       if (modCase_ == 3) {
-        return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
+         return (com.google.bigtable.admin.v2.ColumnFamily) mod_;
       }
       return com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
     }
 
     public static final int DROP_FIELD_NUMBER = 4;
     /**
-     *
-     *
      * 
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ @java.lang.Override @@ -472,15 +390,12 @@ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
      * Drop (delete) the column family with the given ID, or fail if no such
      * family exists.
      * 
* * bool drop = 4; - * * @return The drop. */ @java.lang.Override @@ -492,7 +407,6 @@ public boolean getDrop() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -504,7 +418,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -515,7 +430,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - output.writeBool(4, (boolean) ((java.lang.Boolean) mod_)); + output.writeBool( + 4, (boolean)((java.lang.Boolean) mod_)); } getUnknownFields().writeTo(output); } @@ -530,19 +446,17 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (modCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.admin.v2.ColumnFamily) mod_); } if (modCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 4, (boolean) ((java.lang.Boolean) mod_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 4, (boolean)((java.lang.Boolean) mod_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -552,25 +466,28 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) obj; - if (!getId().equals(other.getId())) return false; + if (!getId() + .equals(other.getId())) return false; if (!getModCase().equals(other.getModCase())) return false; switch (modCase_) { case 2: - if (!getCreate().equals(other.getCreate())) return false; + if (!getCreate() + .equals(other.getCreate())) return false; break; case 3: - if (!getUpdate().equals(other.getUpdate())) return false; + if (!getUpdate() + .equals(other.getUpdate())) return false; break; case 4: - if (getDrop() != other.getDrop()) return false; + if (getDrop() + != other.getDrop()) return false; break; case 0: default: @@ -599,7 +516,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + DROP_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDrop()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDrop()); break; case 0: default: @@ -610,95 +528,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification 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.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - 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.ModifyColumnFamiliesRequest.Modification 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.ModifyColumnFamiliesRequest.Modification parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -708,43 +620,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A create, update, or delete of a particular column family.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - .class); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder.class); } - // Construct using - // com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() - private Builder() {} + // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -762,22 +670,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableTableAdminProto - .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_Modification_descriptor; } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { - return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance(); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { + return com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance(); } @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification build() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - buildPartial(); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -786,32 +691,29 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification bui @java.lang.Override public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification buildPartial() { - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.id_ = id_; } } - private void buildPartialOneofs( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { + private void buildPartialOneofs(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification result) { result.modCase_ = modCase_; result.mod_ = this.mod_; - if (modCase_ == 2 && createBuilder_ != null) { + if (modCase_ == 2 && + createBuilder_ != null) { result.mod_ = createBuilder_.build(); } - if (modCase_ == 3 && updateBuilder_ != null) { + if (modCase_ == 3 && + updateBuilder_ != null) { result.mod_ = updateBuilder_.build(); } } @@ -820,79 +722,67 @@ private void buildPartialOneofs( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { - return mergeFrom( - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) other); + if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) { + return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { - if (other - == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification other) { + if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getModCase()) { - case CREATE: - { - mergeCreate(other.getCreate()); - break; - } - case UPDATE: - { - mergeUpdate(other.getUpdate()); - break; - } - case DROP: - { - setDrop(other.getDrop()); - break; - } - case MOD_NOT_SET: - { - break; - } + case CREATE: { + mergeCreate(other.getCreate()); + break; + } + case UPDATE: { + mergeUpdate(other.getUpdate()); + break; + } + case DROP: { + setDrop(other.getDrop()); + break; + } + case MOD_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -920,37 +810,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getCreateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - modCase_ = 3; - break; - } // case 26 - case 32: - { - mod_ = input.readBool(); - modCase_ = 4; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getCreateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + modCase_ = 3; + break; + } // case 26 + case 32: { + mod_ = input.readBool(); + modCase_ = 4; + break; + } // case 32 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -960,12 +849,12 @@ public Builder mergeFrom( } // finally return this; } - private int modCase_ = 0; private java.lang.Object mod_; - - public ModCase getModCase() { - return ModCase.forNumber(modCase_); + public ModCase + getModCase() { + return ModCase.forNumber( + modCase_); } public Builder clearMod() { @@ -979,20 +868,18 @@ public Builder clearMod() { private java.lang.Object id_ = ""; /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1001,21 +888,20 @@ public java.lang.String getId() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return The bytes for id. */ - public com.google.protobuf.ByteString getIdBytes() { + public com.google.protobuf.ByteString + getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); id_ = b; return b; } else { @@ -1023,35 +909,28 @@ public com.google.protobuf.ByteString getIdBytes() { } } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1061,21 +940,17 @@ public Builder clearId() { return this; } /** - * - * *
        * The ID of the column family to be modified.
        * 
* * string id = 1; - * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -1084,20 +959,14 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ColumnFamily, - com.google.bigtable.admin.v2.ColumnFamily.Builder, - com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> - createBuilder_; + com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> createBuilder_; /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return Whether the create field is set. */ @java.lang.Override @@ -1105,15 +974,12 @@ public boolean hasCreate() { return modCase_ == 2; } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily create = 2; - * * @return The create. */ @java.lang.Override @@ -1131,8 +997,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getCreate() { } } /** - * - * *
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1154,8 +1018,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1163,7 +1025,8 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
-      public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setCreate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (createBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1174,8 +1037,6 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1185,13 +1046,10 @@ public Builder setCreate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (createBuilder_ == null) {
-          if (modCase_ == 2
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 2 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1207,8 +1065,6 @@ public Builder mergeCreate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1233,8 +1089,6 @@ public Builder clearCreate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1246,8 +1100,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getCreateBuilder() {
         return getCreateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1267,8 +1119,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Create a new column family with the specified schema, or fail if
        * one already exists with the given ID.
@@ -1277,19 +1127,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily create = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getCreateFieldBuilder() {
         if (createBuilder_ == null) {
           if (!(modCase_ == 2)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          createBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          createBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1301,20 +1146,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getCreateOrBuilder() {
       }
 
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
-          updateBuilder_;
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> updateBuilder_;
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1322,15 +1161,12 @@ public boolean hasUpdate() { return modCase_ == 3; } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
        * 
* * .google.bigtable.admin.v2.ColumnFamily update = 3; - * * @return The update. */ @java.lang.Override @@ -1348,8 +1184,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getUpdate() { } } /** - * - * *
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1371,8 +1205,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1380,7 +1212,8 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
        *
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
-      public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
+      public Builder setUpdate(
+          com.google.bigtable.admin.v2.ColumnFamily.Builder builderForValue) {
         if (updateBuilder_ == null) {
           mod_ = builderForValue.build();
           onChanged();
@@ -1391,8 +1224,6 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1402,13 +1233,10 @@ public Builder setUpdate(com.google.bigtable.admin.v2.ColumnFamily.Builder build
        */
       public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         if (updateBuilder_ == null) {
-          if (modCase_ == 3
-              && mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
-            mod_ =
-                com.google.bigtable.admin.v2.ColumnFamily.newBuilder(
-                        (com.google.bigtable.admin.v2.ColumnFamily) mod_)
-                    .mergeFrom(value)
-                    .buildPartial();
+          if (modCase_ == 3 &&
+              mod_ != com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()) {
+            mod_ = com.google.bigtable.admin.v2.ColumnFamily.newBuilder((com.google.bigtable.admin.v2.ColumnFamily) mod_)
+                .mergeFrom(value).buildPartial();
           } else {
             mod_ = value;
           }
@@ -1424,8 +1252,6 @@ public Builder mergeUpdate(com.google.bigtable.admin.v2.ColumnFamily value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1450,8 +1276,6 @@ public Builder clearUpdate() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1463,8 +1287,6 @@ public com.google.bigtable.admin.v2.ColumnFamily.Builder getUpdateBuilder() {
         return getUpdateFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1484,8 +1306,6 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
         }
       }
       /**
-       *
-       *
        * 
        * Update an existing column family to the specified schema, or fail
        * if no column family exists with the given ID.
@@ -1494,19 +1314,14 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
        * .google.bigtable.admin.v2.ColumnFamily update = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.admin.v2.ColumnFamily,
-              com.google.bigtable.admin.v2.ColumnFamily.Builder,
-              com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>
+          com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder> 
           getUpdateFieldBuilder() {
         if (updateBuilder_ == null) {
           if (!(modCase_ == 3)) {
             mod_ = com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance();
           }
-          updateBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.admin.v2.ColumnFamily,
-                  com.google.bigtable.admin.v2.ColumnFamily.Builder,
-                  com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
+          updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.admin.v2.ColumnFamily, com.google.bigtable.admin.v2.ColumnFamily.Builder, com.google.bigtable.admin.v2.ColumnFamilyOrBuilder>(
                   (com.google.bigtable.admin.v2.ColumnFamily) mod_,
                   getParentForChildren(),
                   isClean());
@@ -1518,30 +1333,24 @@ public com.google.bigtable.admin.v2.ColumnFamilyOrBuilder getUpdateOrBuilder() {
       }
 
       /**
-       *
-       *
        * 
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return Whether the drop field is set. */ public boolean hasDrop() { return modCase_ == 4; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return The drop. */ public boolean getDrop() { @@ -1551,15 +1360,12 @@ public boolean getDrop() { return false; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @param value The drop to set. * @return This builder for chaining. */ @@ -1571,15 +1377,12 @@ public Builder setDrop(boolean value) { return this; } /** - * - * *
        * Drop (delete) the column family with the given ID, or fail if no such
        * family exists.
        * 
* * bool drop = 4; - * * @return This builder for chaining. */ public Builder clearDrop() { @@ -1590,7 +1393,6 @@ public Builder clearDrop() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1603,45 +1405,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification) - private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - DEFAULT_INSTANCE; - + private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); + DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification(); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstance() { + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Modification parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Modification parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,29 +1451,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - getDefaultInstanceForType() { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -1684,33 +1476,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1719,13 +1509,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int MODIFICATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") - private java.util.List - modifications_; + private java.util.List modifications_; /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1733,18 +1519,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List - getModificationsList() { + public java.util.List getModificationsList() { return modifications_; } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1752,19 +1533,14 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + public java.util.List getModificationsOrBuilderList() { return modifications_; } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1772,17 +1548,13 @@ public com.google.protobuf.ByteString getNameBytes() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getModificationsCount() { return modifications_.size(); } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1790,18 +1562,13 @@ public int getModificationsCount() {
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( - int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index) { return modifications_.get(index); } /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -1809,18 +1576,15 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index) { return modifications_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1832,7 +1596,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1852,7 +1617,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < modifications_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, modifications_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, modifications_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1862,16 +1628,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = - (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other = (com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getModificationsList().equals(other.getModificationsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getModificationsList() + .equals(other.getModificationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1895,104 +1662,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest 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.ModifyColumnFamiliesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
@@ -2000,32 +1761,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.ModifyColumnFamiliesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.ModifyColumnFamiliesRequest)
       com.google.bigtable.admin.v2.ModifyColumnFamiliesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class,
-              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.class, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2042,9 +1804,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_ModifyColumnFamiliesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -2063,18 +1825,14 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest buildPartial() {
-      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result =
-          new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
+      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest result) {
       if (modificationsBuilder_ == null) {
         if (((bitField0_ & 0x00000002) != 0)) {
           modifications_ = java.util.Collections.unmodifiableList(modifications_);
@@ -2097,39 +1855,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequ
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2137,8 +1894,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest other) {
-      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -2162,10 +1918,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.ModifyColumnFamiliesReques
             modificationsBuilder_ = null;
             modifications_ = other.modifications_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            modificationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getModificationsFieldBuilder()
-                    : null;
+            modificationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getModificationsFieldBuilder() : null;
           } else {
             modificationsBuilder_.addAllMessages(other.modifications_);
           }
@@ -2197,34 +1952,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
-                    input.readMessage(
-                        com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification
-                            .parser(),
-                        extensionRegistry);
-                if (modificationsBuilder_ == null) {
-                  ensureModificationsIsMutable();
-                  modifications_.add(m);
-                } else {
-                  modificationsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification m =
+                  input.readMessage(
+                      com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.parser(),
+                      extensionRegistry);
+              if (modificationsBuilder_ == null) {
+                ensureModificationsIsMutable();
+                modifications_.add(m);
+              } else {
+                modificationsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2234,29 +1985,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2265,25 +2011,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2291,43 +2034,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -2337,25 +2069,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table whose families should be modified.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2363,28 +2089,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List - modifications_ = java.util.Collections.emptyList(); - + private java.util.List modifications_ = + java.util.Collections.emptyList(); private void ensureModificationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - modifications_ = - new java.util.ArrayList< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification>( - modifications_); + modifications_ = new java.util.ArrayList(modifications_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> - modificationsBuilder_; + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> modificationsBuilder_; /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2392,12 +2109,9 @@ private void ensureModificationsIsMutable() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getModificationsList() { + public java.util.List getModificationsList() { if (modificationsBuilder_ == null) { return java.util.Collections.unmodifiableList(modifications_); } else { @@ -2405,8 +2119,6 @@ private void ensureModificationsIsMutable() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2414,9 +2126,7 @@ private void ensureModificationsIsMutable() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getModificationsCount() { if (modificationsBuilder_ == null) { @@ -2426,8 +2136,6 @@ public int getModificationsCount() { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2435,12 +2143,9 @@ public int getModificationsCount() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications( - int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index) { if (modificationsBuilder_ == null) { return modifications_.get(index); } else { @@ -2448,8 +2153,6 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2457,9 +2160,7 @@ public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification get
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { @@ -2476,8 +2177,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2485,14 +2184,10 @@ public Builder setModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setModifications( - int index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.set(index, builderForValue.build()); @@ -2503,8 +2198,6 @@ public Builder setModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2512,12 +2205,9 @@ public Builder setModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addModifications( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { + public Builder addModifications(com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { if (modificationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2531,8 +2221,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2540,9 +2228,7 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification value) { @@ -2559,8 +2245,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2568,13 +2252,10 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(builderForValue.build()); @@ -2585,8 +2266,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2594,14 +2273,10 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addModifications( - int index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - builderForValue) { + int index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder builderForValue) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); modifications_.add(index, builderForValue.build()); @@ -2612,8 +2287,6 @@ public Builder addModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2621,17 +2294,14 @@ public Builder addModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllModifications( - java.lang.Iterable< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification> - values) { + java.lang.Iterable values) { if (modificationsBuilder_ == null) { ensureModificationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, modifications_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, modifications_); onChanged(); } else { modificationsBuilder_.addAllMessages(values); @@ -2639,8 +2309,6 @@ public Builder addAllModifications( return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2648,9 +2316,7 @@ public Builder addAllModifications(
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearModifications() { if (modificationsBuilder_ == null) { @@ -2663,8 +2329,6 @@ public Builder clearModifications() { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2672,9 +2336,7 @@ public Builder clearModifications() {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeModifications(int index) { if (modificationsBuilder_ == null) { @@ -2687,8 +2349,6 @@ public Builder removeModifications(int index) { return this; } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2696,17 +2356,13 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - getModificationsBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder getModificationsBuilder( + int index) { return getModificationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2714,21 +2370,16 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index) { + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index) { if (modificationsBuilder_ == null) { - return modifications_.get(index); - } else { + return modifications_.get(index); } else { return modificationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2736,14 +2387,10 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - ? extends - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> - getModificationsOrBuilderList() { + public java.util.List + getModificationsOrBuilderList() { if (modificationsBuilder_ != null) { return modificationsBuilder_.getMessageOrBuilderList(); } else { @@ -2751,8 +2398,6 @@ public Builder removeModifications(int index) { } } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2760,20 +2405,13 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - addModificationsBuilder() { - return getModificationsFieldBuilder() - .addBuilder( - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder addModificationsBuilder() { + return getModificationsFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2781,21 +2419,14 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder - addModificationsBuilder(int index) { - return getModificationsFieldBuilder() - .addBuilder( - index, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification - .getDefaultInstance()); + public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder addModificationsBuilder( + int index) { + return getModificationsFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.getDefaultInstance()); } /** - * - * *
      * Required. Modifications to be atomically applied to the specified table's
      * families. Entries are applied in order, meaning that earlier modifications
@@ -2803,27 +2434,18 @@ public Builder removeModifications(int index) {
      * family, for example).
      * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder> - getModificationsBuilderList() { + public java.util.List + getModificationsBuilderList() { return getModificationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> getModificationsFieldBuilder() { if (modificationsBuilder_ == null) { - modificationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>( + modificationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification.Builder, com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder>( modifications_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -2832,9 +2454,9 @@ public Builder removeModifications(int index) { } return modificationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2844,12 +2466,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) private static final com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest(); } @@ -2858,27 +2480,27 @@ public static com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ModifyColumnFamiliesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ModifyColumnFamiliesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2893,4 +2515,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java index e386edffea..1f1202fb46 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ModifyColumnFamiliesRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 ModifyColumnFamiliesRequestOrBuilder - extends +public interface ModifyColumnFamiliesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.ModifyColumnFamiliesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table whose families should be modified.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -66,15 +39,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getModificationsList(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -82,14 +51,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification getModifications(int index); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -97,14 +62,10 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getModificationsCount(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -112,16 +73,11 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List< - ? extends com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder> + java.util.List getModificationsOrBuilderList(); /** - * - * *
    * Required. Modifications to be atomically applied to the specified table's
    * families. Entries are applied in order, meaning that earlier modifications
@@ -129,10 +85,8 @@ public interface ModifyColumnFamiliesRequestOrBuilder
    * family, for example).
    * 
* - * - * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification modifications = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder - getModificationsOrBuilder(int index); + com.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationOrBuilder getModificationsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java index b09394555d..37a23ce1aa 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgress.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/common.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Encapsulates progress related information for a Cloud Bigtable long
  * running operation.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
  */
-public final class OperationProgress extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OperationProgress extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OperationProgress)
     OperationProgressOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OperationProgress.newBuilder() to construct.
   private OperationProgress(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private OperationProgress() {}
+  private OperationProgress() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OperationProgress();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.CommonProto
-        .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+    return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OperationProgress.class,
-            com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+            com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
   }
 
   public static final int PROGRESS_PERCENT_FIELD_NUMBER = 1;
   private int progressPercent_ = 0;
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -83,14 +62,11 @@ public int getProgressPercent() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -98,14 +74,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -113,8 +86,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Time the request was received.
    * 
@@ -129,15 +100,12 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -145,15 +113,12 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -161,8 +126,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
@@ -176,7 +139,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -188,7 +150,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (progressPercent_ != 0) {
       output.writeInt32(1, progressPercent_);
     }
@@ -208,13 +171,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (progressPercent_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, progressPercent_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(1, progressPercent_);
     }
     if (startTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getStartTime());
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getEndTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -224,22 +190,24 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.OperationProgress)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.OperationProgress other =
-        (com.google.bigtable.admin.v2.OperationProgress) obj;
+    com.google.bigtable.admin.v2.OperationProgress other = (com.google.bigtable.admin.v2.OperationProgress) obj;
 
-    if (getProgressPercent() != other.getProgressPercent()) return false;
+    if (getProgressPercent()
+        != other.getProgressPercent()) return false;
     if (hasStartTime() != other.hasStartTime()) return false;
     if (hasStartTime()) {
-      if (!getStartTime().equals(other.getStartTime())) return false;
+      if (!getStartTime()
+          .equals(other.getStartTime())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -267,104 +235,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.OperationProgress parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.OperationProgress parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.OperationProgress prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Encapsulates progress related information for a Cloud Bigtable long
    * running operation.
@@ -372,32 +335,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OperationProgress}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OperationProgress)
       com.google.bigtable.admin.v2.OperationProgressOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OperationProgress.class,
-              com.google.bigtable.admin.v2.OperationProgress.Builder.class);
+              com.google.bigtable.admin.v2.OperationProgress.class, com.google.bigtable.admin.v2.OperationProgress.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OperationProgress.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -417,9 +381,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.CommonProto
-          .internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.CommonProto.internal_static_google_bigtable_admin_v2_OperationProgress_descriptor;
     }
 
     @java.lang.Override
@@ -438,11 +402,8 @@ public com.google.bigtable.admin.v2.OperationProgress build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OperationProgress buildPartial() {
-      com.google.bigtable.admin.v2.OperationProgress result =
-          new com.google.bigtable.admin.v2.OperationProgress(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OperationProgress result = new com.google.bigtable.admin.v2.OperationProgress(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -453,10 +414,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
         result.progressPercent_ = progressPercent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -464,39 +429,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OperationProgress result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OperationProgress) {
-        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OperationProgress)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -540,31 +504,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                progressPercent_ = input.readInt32();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              progressPercent_ = input.readInt32();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -574,20 +538,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private int progressPercent_;
+    private int progressPercent_ ;
     /**
-     *
-     *
      * 
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ @java.lang.Override @@ -595,15 +555,12 @@ public int getProgressPercent() { return progressPercent_; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @param value The progressPercent to set. * @return This builder for chaining. */ @@ -615,15 +572,12 @@ public Builder setProgressPercent(int value) { return this; } /** - * - * *
      * Percent completion of the operation.
      * Values are between 0 and 100 inclusive.
      * 
* * int32 progress_percent = 1; - * * @return This builder for chaining. */ public Builder clearProgressPercent() { @@ -635,33 +589,24 @@ public Builder clearProgressPercent() { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -672,8 +617,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Time the request was received.
      * 
@@ -694,15 +637,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -713,8 +655,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -723,9 +663,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -738,8 +678,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -757,8 +695,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Time the request was received.
      * 
@@ -771,8 +707,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the request was received.
      * 
@@ -783,12 +717,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Time the request was received.
      * 
@@ -796,17 +729,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -814,35 +744,26 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -853,8 +774,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -876,8 +795,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -885,7 +802,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 3;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -896,8 +814,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -907,9 +823,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -922,8 +838,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -942,8 +856,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -957,8 +869,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -970,12 +880,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If set, the time at which this operation failed or was completed
      * successfully.
@@ -984,24 +893,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1011,12 +917,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OperationProgress)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OperationProgress)
   private static final com.google.bigtable.admin.v2.OperationProgress DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OperationProgress();
   }
@@ -1025,27 +931,27 @@ public static com.google.bigtable.admin.v2.OperationProgress getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public OperationProgress parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public OperationProgress parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1060,4 +966,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.OperationProgress getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
similarity index 72%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
index 4510512113..6f85cc6d54 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OperationProgressOrBuilder.java
@@ -1,69 +1,42 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/common.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface OperationProgressOrBuilder
-    extends
+public interface OperationProgressOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.OperationProgress)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Percent completion of the operation.
    * Values are between 0 and 100 inclusive.
    * 
* * int32 progress_percent = 1; - * * @return The progressPercent. */ int getProgressPercent(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Time the request was received.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Time the request was received.
    * 
@@ -73,34 +46,26 @@ public interface OperationProgressOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation failed or was completed
    * successfully.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
similarity index 68%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
index 4fabbe956c..0cf3764e16 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadata.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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 long-running operation used to track the progress
  * of optimizations performed on a newly restored table. This long-running
@@ -30,54 +13,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
  */
-public final class OptimizeRestoredTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class OptimizeRestoredTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
     OptimizeRestoredTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use OptimizeRestoredTableMetadata.newBuilder() to construct.
   private OptimizeRestoredTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private OptimizeRestoredTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new OptimizeRestoredTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -119,14 +96,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -134,25 +108,18 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @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_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the post-restore optimizations.
    * 
@@ -161,13 +128,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() { */ @java.lang.Override public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +143,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,7 +164,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (progress_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgress()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgress()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -209,18 +175,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = - (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; + com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other = (com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { - if (!getProgress().equals(other.getProgress())) return false; + if (!getProgress() + .equals(other.getProgress())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,104 +212,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata 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.OptimizeRestoredTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the long-running operation used to track the progress
    * of optimizations performed on a newly restored table. This long-running
@@ -352,32 +313,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.OptimizeRestoredTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.OptimizeRestoredTableMetadata)
       com.google.bigtable.admin.v2.OptimizeRestoredTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class,
-              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.class, com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -392,9 +354,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_OptimizeRestoredTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -413,11 +375,8 @@ public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result =
-          new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata result = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,7 +387,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
@@ -436,39 +397,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.OptimizeRestoredTableMet
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -476,8 +436,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -512,25 +471,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -540,25 +498,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -567,21 +522,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -589,35 +543,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -627,21 +574,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the restored table being optimized.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -651,47 +594,34 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @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_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -712,8 +642,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value) return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -732,8 +660,6 @@ public Builder setProgress( return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -742,9 +668,9 @@ public Builder setProgress( */ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) { if (progressBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progress_ != null - && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progress_ != null && + progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) { getProgressBuilder().mergeFrom(value); } else { progress_ = value; @@ -757,8 +683,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -776,8 +700,6 @@ public Builder clearProgress() { return this; } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -790,8 +712,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder return getProgressFieldBuilder().getBuilder(); } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -802,14 +722,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { - return progress_ == null - ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() - : progress_; + return progress_ == null ? + com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } } /** - * - * *
      * The progress of the post-restore optimizations.
      * 
@@ -817,24 +734,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil * .google.bigtable.admin.v2.OperationProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.OperationProgress, - com.google.bigtable.admin.v2.OperationProgress.Builder, - com.google.bigtable.admin.v2.OperationProgressOrBuilder> + 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()); + 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) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -844,12 +758,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) private static final com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata(); } @@ -858,27 +772,27 @@ public static com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OptimizeRestoredTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OptimizeRestoredTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,4 +807,6 @@ public com.google.protobuf.Parser getParserForTyp public com.google.bigtable.admin.v2.OptimizeRestoredTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java index 29d12f22ff..f52de7c93d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/OptimizeRestoredTableMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 OptimizeRestoredTableMetadataOrBuilder - extends +public interface OptimizeRestoredTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.OptimizeRestoredTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the restored table being optimized.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 2; - * * @return The progress. */ com.google.bigtable.admin.v2.OperationProgress getProgress(); /** - * - * *
    * The progress of the post-restore optimizations.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java index 5238746326..71de819294 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ -public final class PartialUpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) PartialUpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterMetadata.newBuilder() to construct. private PartialUpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterMetadata() {} + private PartialUpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } public static final int REQUEST_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -109,14 +83,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -124,14 +95,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ @java.lang.Override @@ -139,8 +107,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -155,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 3; private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -170,25 +133,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
@@ -196,15 +152,11 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalReque * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (requestTime_ != null) { output.writeMessage(1, getRequestTime()); } @@ -236,13 +189,16 @@ public int getSerializedSize() { size = 0; if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFinishTime()); } if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getOriginalRequest()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = - (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other = (com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) obj; if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,136 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata 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.PartialUpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterMetadata) com.google.bigtable.admin.v2.PartialUpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.class, com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; } @java.lang.Override @@ -475,11 +428,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = - new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -487,15 +437,19 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } } @@ -503,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterMeta public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -543,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasRequestTime()) { mergeRequestTime(other.getRequestTime()); } @@ -580,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -614,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -680,15 +620,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 1; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -699,8 +638,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -709,9 +646,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -724,8 +661,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -743,8 +678,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -757,8 +690,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -769,14 +700,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -784,17 +712,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -802,47 +727,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -863,15 +775,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 2; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -882,8 +793,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -892,9 +801,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -907,8 +816,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -926,8 +833,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -940,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -952,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -967,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; @@ -985,55 +882,41 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { private com.google.bigtable.admin.v2.PartialUpdateClusterRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1047,8 +930,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1067,21 +948,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateClusterRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -1094,8 +971,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1113,42 +988,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000004; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ - public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The original request for PartialUpdateCluster.
      * 
@@ -1156,24 +1022,21 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateClusterRequest, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateClusterRequest, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1183,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterMetadata) private static final com.google.bigtable.admin.v2.PartialUpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterMetadata(); } @@ -1197,27 +1060,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1232,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java index 9202770d38..ca0b7c7a1f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface PartialUpdateClusterMetadataOrBuilder - extends +public interface PartialUpdateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 1; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -59,32 +35,24 @@ public interface PartialUpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 2; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -94,32 +62,24 @@ public interface PartialUpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
* * .google.bigtable.admin.v2.PartialUpdateClusterRequest original_request = 3; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.PartialUpdateClusterRequest getOriginalRequest(); /** - * - * *
    * The original request for PartialUpdateCluster.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java index d80378d946..b08f877ab4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequest.java @@ -1,78 +1,56 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ -public final class PartialUpdateClusterRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateClusterRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) PartialUpdateClusterRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateClusterRequest.newBuilder() to construct. private PartialUpdateClusterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateClusterRequest() {} + private PartialUpdateClusterRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateClusterRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } public static final int CLUSTER_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster cluster_; /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ @java.lang.Override @@ -80,16 +58,12 @@ public boolean hasCluster() { return cluster_ != null; } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ @java.lang.Override @@ -97,15 +71,12 @@ public com.google.bigtable.admin.v2.Cluster getCluster() { return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { @@ -115,15 +86,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -131,15 +98,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -147,14 +110,11 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -162,7 +122,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (cluster_ != null) { output.writeMessage(1, getCluster()); } @@ -191,10 +151,12 @@ public int getSerializedSize() { size = 0; if (cluster_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCluster()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCluster()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -204,21 +166,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = - (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateClusterRequest other = (com.google.bigtable.admin.v2.PartialUpdateClusterRequest) obj; if (hasCluster() != other.hasCluster()) return false; if (hasCluster()) { - if (!getCluster().equals(other.getCluster())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,136 +208,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest 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.PartialUpdateClusterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateClusterRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateClusterRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateClusterRequest) com.google.bigtable.admin.v2.PartialUpdateClusterRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, - com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateClusterRequest.class, com.google.bigtable.admin.v2.PartialUpdateClusterRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateClusterRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; } @java.lang.Override @@ -414,11 +372,8 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = - new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateClusterRequest result = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -426,10 +381,14 @@ public com.google.bigtable.admin.v2.PartialUpdateClusterRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.cluster_ = clusterBuilder_ == null ? cluster_ : clusterBuilder_.build(); + result.cluster_ = clusterBuilder_ == null + ? cluster_ + : clusterBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -437,39 +396,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateClusterRequ public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateClusterRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateClusterRequest)other); } else { super.mergeFrom(other); return this; @@ -477,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateClusterRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateClusterRequest.getDefaultInstance()) return this; if (other.hasCluster()) { mergeCluster(other.getCluster()); } @@ -511,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getClusterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getClusterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,66 +497,46 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster cluster_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - clusterBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> clusterBuilder_; /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ public boolean hasCluster() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ public com.google.bigtable.admin.v2.Cluster getCluster() { if (clusterBuilder_ == null) { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } else { return clusterBuilder_.getMessage(); } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { @@ -614,18 +552,15 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { + public Builder setCluster( + com.google.bigtable.admin.v2.Cluster.Builder builderForValue) { if (clusterBuilder_ == null) { cluster_ = builderForValue.build(); } else { @@ -636,22 +571,18 @@ public Builder setCluster(com.google.bigtable.admin.v2.Cluster.Builder builderFo return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { if (clusterBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && cluster_ != null - && cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + cluster_ != null && + cluster_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getClusterBuilder().mergeFrom(value); } else { cluster_ = value; @@ -664,16 +595,12 @@ public Builder mergeCluster(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearCluster() { bitField0_ = (bitField0_ & ~0x00000001); @@ -686,16 +613,12 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { bitField0_ |= 0x00000001; @@ -703,50 +626,38 @@ public com.google.bigtable.admin.v2.Cluster.Builder getClusterBuilder() { return getClusterFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { if (clusterBuilder_ != null) { return clusterBuilder_.getMessageOrBuilder(); } else { - return cluster_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : cluster_; + return cluster_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : cluster_; } } /** - * - * *
      * Required. The Cluster which contains the partial updates to be applied, subject to
      * the update_mask.
      * 
* - * - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getClusterFieldBuilder() { if (clusterBuilder_ == null) { - clusterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getCluster(), getParentForChildren(), isClean()); + clusterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getCluster(), + getParentForChildren(), + isClean()); cluster_ = null; } return clusterBuilder_; @@ -754,55 +665,39 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -818,16 +713,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -838,20 +731,17 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -864,14 +754,11 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -884,14 +771,11 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -899,53 +783,43 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Cluster fields which should be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -955,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateClusterRequest) private static final com.google.bigtable.admin.v2.PartialUpdateClusterRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateClusterRequest(); } @@ -969,27 +843,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateClusterRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateClusterRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1004,4 +878,6 @@ public com.google.protobuf.Parser getParserForType( public com.google.bigtable.admin.v2.PartialUpdateClusterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java index 24a9eb0a86..e99c8ea992 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateClusterRequestOrBuilder.java @@ -1,104 +1,66 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface PartialUpdateClusterRequestOrBuilder - extends +public interface PartialUpdateClusterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateClusterRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the cluster field is set. */ boolean hasCluster(); /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The cluster. */ com.google.bigtable.admin.v2.Cluster getCluster(); /** - * - * *
    * Required. The Cluster which contains the partial updates to be applied, subject to
    * the update_mask.
    * 
* - * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Cluster cluster = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.ClusterOrBuilder getClusterOrBuilder(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of Cluster fields which should be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java index 8fb9c86665..46457cc30d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequest.java @@ -1,78 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ -public final class PartialUpdateInstanceRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PartialUpdateInstanceRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) PartialUpdateInstanceRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PartialUpdateInstanceRequest.newBuilder() to construct. private PartialUpdateInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PartialUpdateInstanceRequest() {} + private PartialUpdateInstanceRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PartialUpdateInstanceRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } public static final int INSTANCE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Instance instance_; /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ @java.lang.Override @@ -80,55 +57,38 @@ public boolean hasInstance() { return instance_ != null; } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ @java.lang.Override public com.google.bigtable.admin.v2.Instance getInstance() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,16 +96,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -153,15 +109,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -169,7 +122,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +133,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (instance_ != null) { output.writeMessage(1, getInstance()); } @@ -198,10 +151,12 @@ public int getSerializedSize() { size = 0; if (instance_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getInstance()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getInstance()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -211,21 +166,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = - (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other = (com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { - if (!getInstance().equals(other.getInstance())) return false; + if (!getInstance() + .equals(other.getInstance())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -252,136 +208,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest 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.PartialUpdateInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.PartialUpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.PartialUpdateInstanceRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.PartialUpdateInstanceRequest) com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.class, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -400,9 +351,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; } @java.lang.Override @@ -421,11 +372,8 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() { - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = - new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -433,10 +381,14 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest buildPartial() private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.instance_ = instanceBuilder_ == null ? instance_ : instanceBuilder_.build(); + result.instance_ = instanceBuilder_ == null + ? instance_ + : instanceBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } } @@ -444,39 +396,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.PartialUpdateInstanceReq public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) { - return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.PartialUpdateInstanceRequest)other); } else { super.mergeFrom(other); return this; @@ -484,8 +435,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest other) { - if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) return this; if (other.hasInstance()) { mergeInstance(other.getInstance()); } @@ -518,25 +468,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getInstanceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getInstanceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -546,63 +497,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Instance instance_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> - instanceBuilder_; + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> instanceBuilder_; /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ public com.google.bigtable.admin.v2.Instance getInstance() { if (instanceBuilder_ == null) { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } else { return instanceBuilder_.getMessage(); } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { @@ -618,17 +549,14 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builderForValue) { + public Builder setInstance( + com.google.bigtable.admin.v2.Instance.Builder builderForValue) { if (instanceBuilder_ == null) { instance_ = builderForValue.build(); } else { @@ -639,21 +567,17 @@ public Builder setInstance(com.google.bigtable.admin.v2.Instance.Builder builder return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { if (instanceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && instance_ != null - && instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + instance_ != null && + instance_ != com.google.bigtable.admin.v2.Instance.getDefaultInstance()) { getInstanceBuilder().mergeFrom(value); } else { instance_ = value; @@ -666,15 +590,11 @@ public Builder mergeInstance(com.google.bigtable.admin.v2.Instance value) { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); @@ -687,15 +607,11 @@ public Builder clearInstance() { return this; } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { bitField0_ |= 0x00000001; @@ -703,48 +619,36 @@ public com.google.bigtable.admin.v2.Instance.Builder getInstanceBuilder() { return getInstanceFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { if (instanceBuilder_ != null) { return instanceBuilder_.getMessageOrBuilder(); } else { - return instance_ == null - ? com.google.bigtable.admin.v2.Instance.getDefaultInstance() - : instance_; + return instance_ == null ? + com.google.bigtable.admin.v2.Instance.getDefaultInstance() : instance_; } } /** - * - * *
      * Required. The Instance which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder> + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder> getInstanceFieldBuilder() { if (instanceBuilder_ == null) { - instanceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Instance, - com.google.bigtable.admin.v2.Instance.Builder, - com.google.bigtable.admin.v2.InstanceOrBuilder>( - getInstance(), getParentForChildren(), isClean()); + instanceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Instance, com.google.bigtable.admin.v2.Instance.Builder, com.google.bigtable.admin.v2.InstanceOrBuilder>( + getInstance(), + getParentForChildren(), + isClean()); instance_ = null; } return instanceBuilder_; @@ -752,58 +656,42 @@ public com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -819,17 +707,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -840,21 +726,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -867,15 +750,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -888,15 +768,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -904,55 +781,45 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of Instance fields which should be replaced.
      * Must be explicitly set.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -962,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.PartialUpdateInstanceRequest) private static final com.google.bigtable.admin.v2.PartialUpdateInstanceRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.PartialUpdateInstanceRequest(); } @@ -976,27 +843,27 @@ public static com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartialUpdateInstanceRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartialUpdateInstanceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1011,4 +878,6 @@ public com.google.protobuf.Parser getParserForType public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java index 9f94dbf0a4..4970272a1f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/PartialUpdateInstanceRequestOrBuilder.java @@ -1,107 +1,66 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface PartialUpdateInstanceRequestOrBuilder - extends +public interface PartialUpdateInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.PartialUpdateInstanceRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the instance field is set. */ boolean hasInstance(); /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The instance. */ com.google.bigtable.admin.v2.Instance getInstance(); /** - * - * *
    * Required. The Instance which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.InstanceOrBuilder getInstanceOrBuilder(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of Instance fields which should be replaced.
    * Must be explicitly set.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/ProjectName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java index 683400e45a..7a82127259 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfo.java @@ -1,80 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Information about a table restore.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ -public final class RestoreInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RestoreInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreInfo) RestoreInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RestoreInfo.newBuilder() to construct. private RestoreInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RestoreInfo() { sourceType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RestoreInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } private int sourceInfoCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object sourceInfo_; - public enum SourceInfoCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BACKUP_INFO(2), SOURCEINFO_NOT_SET(0); private final int value; - private SourceInfoCase(int value) { this.value = value; } @@ -90,70 +67,56 @@ public static SourceInfoCase valueOf(int value) { public static SourceInfoCase forNumber(int value) { switch (value) { - case 2: - return BACKUP_INFO; - case 0: - return SOURCEINFO_NOT_SET; - default: - return null; + case 2: return BACKUP_INFO; + case 0: return SOURCEINFO_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public static final int SOURCE_TYPE_FIELD_NUMBER = 1; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 2; /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -161,27 +124,22 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 2) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
@@ -192,13 +150,12 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() {
   @java.lang.Override
   public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() {
     if (sourceInfoCase_ == 2) {
-      return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
+       return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_;
     }
     return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -210,10 +167,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
@@ -228,15 +184,13 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, sourceType_);
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, sourceType_);
     }
     if (sourceInfoCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -246,7 +200,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.RestoreInfo)) {
       return super.equals(obj);
@@ -257,7 +211,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 2:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -288,136 +243,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreInfo parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreInfo parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreInfo prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Information about a table restore.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.RestoreInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreInfo) com.google.bigtable.admin.v2.RestoreInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.RestoreInfo.class, - com.google.bigtable.admin.v2.RestoreInfo.Builder.class); + com.google.bigtable.admin.v2.RestoreInfo.class, com.google.bigtable.admin.v2.RestoreInfo.Builder.class); } // Construct using com.google.bigtable.admin.v2.RestoreInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -432,9 +383,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor; } @java.lang.Override @@ -453,11 +404,8 @@ public com.google.bigtable.admin.v2.RestoreInfo build() { @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo buildPartial() { - com.google.bigtable.admin.v2.RestoreInfo result = - new com.google.bigtable.admin.v2.RestoreInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.RestoreInfo result = new com.google.bigtable.admin.v2.RestoreInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -473,7 +421,8 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreInfo result) { private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) { result.sourceInfoCase_ = sourceInfoCase_; result.sourceInfo_ = this.sourceInfo_; - if (sourceInfoCase_ == 2 && backupInfoBuilder_ != null) { + if (sourceInfoCase_ == 2 && + backupInfoBuilder_ != null) { result.sourceInfo_ = backupInfoBuilder_.build(); } } @@ -482,39 +431,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreInfo result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.RestoreInfo) { - return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo) other); + return mergeFrom((com.google.bigtable.admin.v2.RestoreInfo)other); } else { super.mergeFrom(other); return this; @@ -527,15 +475,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreInfo other) { setSourceTypeValue(other.getSourceTypeValue()); } switch (other.getSourceInfoCase()) { - case BACKUP_INFO: - { - mergeBackupInfo(other.getBackupInfo()); - break; - } - case SOURCEINFO_NOT_SET: - { - break; - } + case BACKUP_INFO: { + mergeBackupInfo(other.getBackupInfo()); + break; + } + case SOURCEINFO_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -563,25 +509,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - sourceType_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry); - sourceInfoCase_ = 2; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + sourceType_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getBackupInfoFieldBuilder().getBuilder(), + extensionRegistry); + sourceInfoCase_ = 2; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -591,12 +536,12 @@ public Builder mergeFrom( } // finally return this; } - private int sourceInfoCase_ = 0; private java.lang.Object sourceInfo_; - - public SourceInfoCase getSourceInfoCase() { - return SourceInfoCase.forNumber(sourceInfoCase_); + public SourceInfoCase + getSourceInfoCase() { + return SourceInfoCase.forNumber( + sourceInfoCase_); } public Builder clearSourceInfo() { @@ -610,29 +555,22 @@ public Builder clearSourceInfo() { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -643,31 +581,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -681,14 +612,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -699,20 +627,14 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -720,15 +642,12 @@ public boolean hasBackupInfo() { return sourceInfoCase_ == 2; } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
      * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ @java.lang.Override @@ -746,8 +665,6 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { } } /** - * - * *
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -769,8 +686,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -778,7 +693,8 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
      *
      * .google.bigtable.admin.v2.BackupInfo backup_info = 2;
      */
-    public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
+    public Builder setBackupInfo(
+        com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) {
       if (backupInfoBuilder_ == null) {
         sourceInfo_ = builderForValue.build();
         onChanged();
@@ -789,8 +705,6 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -800,13 +714,10 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui
      */
     public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       if (backupInfoBuilder_ == null) {
-        if (sourceInfoCase_ == 2
-            && sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
-          sourceInfo_ =
-              com.google.bigtable.admin.v2.BackupInfo.newBuilder(
-                      (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (sourceInfoCase_ == 2 &&
+            sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) {
+          sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.newBuilder((com.google.bigtable.admin.v2.BackupInfo) sourceInfo_)
+              .mergeFrom(value).buildPartial();
         } else {
           sourceInfo_ = value;
         }
@@ -822,8 +733,6 @@ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -848,8 +757,6 @@ public Builder clearBackupInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -861,8 +768,6 @@ public com.google.bigtable.admin.v2.BackupInfo.Builder getBackupInfoBuilder() {
       return getBackupInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -882,8 +787,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       }
     }
     /**
-     *
-     *
      * 
      * Information about the backup used to restore the table. The backup
      * may no longer exist.
@@ -892,19 +795,14 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
      * .google.bigtable.admin.v2.BackupInfo 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>
+        com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> 
         getBackupInfoFieldBuilder() {
       if (backupInfoBuilder_ == null) {
         if (!(sourceInfoCase_ == 2)) {
           sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance();
         }
-        backupInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.BackupInfo,
-                com.google.bigtable.admin.v2.BackupInfo.Builder,
-                com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
+        backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>(
                 (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_,
                 getParentForChildren(),
                 isClean());
@@ -914,9 +812,9 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
       onChanged();
       return backupInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -926,12 +824,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreInfo)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreInfo)
   private static final com.google.bigtable.admin.v2.RestoreInfo DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreInfo();
   }
@@ -940,27 +838,27 @@ public static com.google.bigtable.admin.v2.RestoreInfo getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreInfo parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreInfo parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -975,4 +873,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreInfo getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
similarity index 70%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
index cac3f319ef..a875e62056 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreInfoOrBuilder.java
@@ -1,82 +1,52 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/table.proto
 
 package com.google.bigtable.admin.v2;
 
-public interface RestoreInfoOrBuilder
-    extends
+public interface RestoreInfoOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreInfo)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 1; - * * @return The sourceType. */ com.google.bigtable.admin.v2.RestoreSourceType getSourceType(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
    * 
* * .google.bigtable.admin.v2.BackupInfo backup_info = 2; - * * @return The backupInfo. */ com.google.bigtable.admin.v2.BackupInfo getBackupInfo(); /** - * - * *
    * Information about the backup used to restore the table. The backup
    * may no longer exist.
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
similarity index 67%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
index fd6b54c544..9bd07a1b71 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreSourceType.java
@@ -1,36 +1,18 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/table.proto
 
 package com.google.bigtable.admin.v2;
 
 /**
- *
- *
  * 
  * Indicates the type of the restore source.
  * 
* * Protobuf enum {@code google.bigtable.admin.v2.RestoreSourceType} */ -public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum { +public enum RestoreSourceType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * No restore associated.
    * 
@@ -39,8 +21,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ RESTORE_SOURCE_TYPE_UNSPECIFIED(0), /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -52,8 +32,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
    * No restore associated.
    * 
@@ -62,8 +40,6 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int RESTORE_SOURCE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * A backup was used as the source of the restore.
    * 
@@ -72,6 +48,7 @@ public enum RestoreSourceType implements com.google.protobuf.ProtocolMessageEnum */ public static final int BACKUP_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -96,40 +73,38 @@ public static RestoreSourceType valueOf(int value) { */ public static RestoreSourceType forNumber(int value) { switch (value) { - case 0: - return RESTORE_SOURCE_TYPE_UNSPECIFIED; - case 1: - return BACKUP; - default: - return null; + case 0: return RESTORE_SOURCE_TYPE_UNSPECIFIED; + case 1: return BACKUP; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RestoreSourceType findValueByNumber(int number) { - return RestoreSourceType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + RestoreSourceType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RestoreSourceType findValueByNumber(int number) { + return RestoreSourceType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.TableProto.getDescriptor().getEnumTypes().get(0); } @@ -138,7 +113,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RestoreSourceType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -154,3 +130,4 @@ private RestoreSourceType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.RestoreSourceType) } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java index 3fa051b0cd..346e77082a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 long-running operation returned by
  * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.RestoreTableMetadata}
  */
-public final class RestoreTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreTableMetadata)
     RestoreTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreTableMetadata.newBuilder() to construct.
   private RestoreTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreTableMetadata() {
     name_ = "";
     sourceType_ = 0;
@@ -46,38 +28,33 @@ private RestoreTableMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableMetadata.class,
-            com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
   }
 
   private int sourceInfoCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object sourceInfo_;
-
   public enum SourceInfoCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP_INFO(3),
     SOURCEINFO_NOT_SET(0);
     private final int value;
-
     private SourceInfoCase(int value) {
       this.value = value;
     }
@@ -93,37 +70,31 @@ public static SourceInfoCase valueOf(int value) {
 
     public static SourceInfoCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP_INFO;
-        case 0:
-          return SOURCEINFO_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP_INFO;
+        case 0: return SOURCEINFO_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceInfoCase getSourceInfoCase() {
-    return SourceInfoCase.forNumber(sourceInfoCase_);
+  public SourceInfoCase
+  getSourceInfoCase() {
+    return SourceInfoCase.forNumber(
+        sourceInfoCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +103,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -165,42 +136,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TYPE_FIELD_NUMBER = 2; private int sourceType_ = 0; /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ - @java.lang.Override - public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } public static final int BACKUP_INFO_FIELD_NUMBER = 3; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -209,32 +170,30 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if (sourceInfoCase_ == 3) { - return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; + return (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_; } return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -248,7 +207,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ @java.lang.Override @@ -257,15 +215,14 @@ public java.lang.String getOptimizeTableOperationName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeTableOperationName_ = s; return s; } } /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -279,15 +236,16 @@ public java.lang.String getOptimizeTableOperationName() {
    * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ @java.lang.Override - public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes() { java.lang.Object ref = optimizeTableOperationName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeTableOperationName_ = b; return b; } else { @@ -298,8 +256,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { public static final int PROGRESS_FIELD_NUMBER = 5; private com.google.bigtable.admin.v2.OperationProgress progress_; /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -307,7 +263,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() {
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ @java.lang.Override @@ -315,8 +270,6 @@ public boolean hasProgress() { return progress_ != null; } /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -324,18 +277,13 @@ public boolean hasProgress() {
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @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_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -346,13 +294,10 @@ public com.google.bigtable.admin.v2.OperationProgress getProgress() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuilder() {
-    return progress_ == null
-        ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-        : progress_;
+    return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -364,13 +309,12 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, sourceType_);
     }
     if (sourceInfoCase_ == 3) {
@@ -394,22 +338,20 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
     }
-    if (sourceType_
-        != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, sourceType_);
+    if (sourceType_ != com.google.bigtable.admin.v2.RestoreSourceType.RESTORE_SOURCE_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, sourceType_);
     }
     if (sourceInfoCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(optimizeTableOperationName_)) {
-      size +=
-          com.google.protobuf.GeneratedMessageV3.computeStringSize(4, optimizeTableOperationName_);
+      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, optimizeTableOperationName_);
     }
     if (progress_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getProgress());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getProgress());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -419,26 +361,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.admin.v2.RestoreTableMetadata)) {
       return super.equals(obj);
     }
-    com.google.bigtable.admin.v2.RestoreTableMetadata other =
-        (com.google.bigtable.admin.v2.RestoreTableMetadata) obj;
+    com.google.bigtable.admin.v2.RestoreTableMetadata other = (com.google.bigtable.admin.v2.RestoreTableMetadata) obj;
 
-    if (!getName().equals(other.getName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
     if (sourceType_ != other.sourceType_) return false;
-    if (!getOptimizeTableOperationName().equals(other.getOptimizeTableOperationName()))
-      return false;
+    if (!getOptimizeTableOperationName()
+        .equals(other.getOptimizeTableOperationName())) return false;
     if (hasProgress() != other.hasProgress()) return false;
     if (hasProgress()) {
-      if (!getProgress().equals(other.getProgress())) return false;
+      if (!getProgress()
+          .equals(other.getProgress())) return false;
     }
     if (!getSourceInfoCase().equals(other.getSourceInfoCase())) return false;
     switch (sourceInfoCase_) {
       case 3:
-        if (!getBackupInfo().equals(other.getBackupInfo())) return false;
+        if (!getBackupInfo()
+            .equals(other.getBackupInfo())) return false;
         break;
       case 0:
       default:
@@ -478,103 +422,98 @@ public int hashCode() {
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata 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.RestoreTableMetadata parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.admin.v2.RestoreTableMetadata parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableMetadata prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Metadata type for the long-running operation returned by
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -582,32 +521,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.RestoreTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreTableMetadata)
       com.google.bigtable.admin.v2.RestoreTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.RestoreTableMetadata.class,
-              com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.RestoreTableMetadata.class, com.google.bigtable.admin.v2.RestoreTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.RestoreTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -629,9 +569,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -650,11 +590,8 @@ public com.google.bigtable.admin.v2.RestoreTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableMetadata result =
-          new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableMetadata result = new com.google.bigtable.admin.v2.RestoreTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -672,14 +609,17 @@ private void buildPartial0(com.google.bigtable.admin.v2.RestoreTableMetadata res
         result.optimizeTableOperationName_ = optimizeTableOperationName_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.progress_ = progressBuilder_ == null ? progress_ : progressBuilder_.build();
+        result.progress_ = progressBuilder_ == null
+            ? progress_
+            : progressBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadata result) {
       result.sourceInfoCase_ = sourceInfoCase_;
       result.sourceInfo_ = this.sourceInfo_;
-      if (sourceInfoCase_ == 3 && backupInfoBuilder_ != null) {
+      if (sourceInfoCase_ == 3 &&
+          backupInfoBuilder_ != null) {
         result.sourceInfo_ = backupInfoBuilder_.build();
       }
     }
@@ -688,39 +628,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableMetadat
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -728,8 +667,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -747,15 +685,13 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableMetadata other
         mergeProgress(other.getProgress());
       }
       switch (other.getSourceInfoCase()) {
-        case BACKUP_INFO:
-          {
-            mergeBackupInfo(other.getBackupInfo());
-            break;
-          }
-        case SOURCEINFO_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP_INFO: {
+          mergeBackupInfo(other.getBackupInfo());
+          break;
+        }
+        case SOURCEINFO_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -783,43 +719,41 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                sourceType_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                input.readMessage(getBackupInfoFieldBuilder().getBuilder(), extensionRegistry);
-                sourceInfoCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                optimizeTableOperationName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getProgressFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              sourceType_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              input.readMessage(
+                  getBackupInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              sourceInfoCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              optimizeTableOperationName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getProgressFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -829,12 +763,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceInfoCase_ = 0;
     private java.lang.Object sourceInfo_;
-
-    public SourceInfoCase getSourceInfoCase() {
-      return SourceInfoCase.forNumber(sourceInfoCase_);
+    public SourceInfoCase
+        getSourceInfoCase() {
+      return SourceInfoCase.forNumber(
+          sourceInfoCase_);
     }
 
     public Builder clearSourceInfo() {
@@ -848,20 +782,18 @@ public Builder clearSourceInfo() {
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -870,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -892,35 +823,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -930,21 +854,17 @@ public Builder clearName() { return this; } /** - * - * *
      * Name of the table being created and restored to.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -954,29 +874,22 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int sourceType_ = 0; /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ - @java.lang.Override - public int getSourceTypeValue() { + @java.lang.Override public int getSourceTypeValue() { return sourceType_; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The enum numeric value on the wire for sourceType to set. * @return This builder for chaining. */ @@ -987,31 +900,24 @@ public Builder setSourceTypeValue(int value) { return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreSourceType getSourceType() { - com.google.bigtable.admin.v2.RestoreSourceType result = - com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); + com.google.bigtable.admin.v2.RestoreSourceType result = com.google.bigtable.admin.v2.RestoreSourceType.forNumber(sourceType_); return result == null ? com.google.bigtable.admin.v2.RestoreSourceType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @param value The sourceType to set. * @return This builder for chaining. */ @@ -1025,14 +931,11 @@ public Builder setSourceType(com.google.bigtable.admin.v2.RestoreSourceType valu return this; } /** - * - * *
      * The type of the restore source.
      * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return This builder for chaining. */ public Builder clearSourceType() { @@ -1043,13 +946,9 @@ public Builder clearSourceType() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> - backupInfoBuilder_; + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> backupInfoBuilder_; /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ @java.lang.Override @@ -1058,7 +957,6 @@ public boolean hasBackupInfo() { } /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ @java.lang.Override @@ -1075,7 +973,9 @@ public com.google.bigtable.admin.v2.BackupInfo getBackupInfo() { return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (backupInfoBuilder_ == null) { if (value == null) { @@ -1089,8 +989,11 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ - public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) { + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ + public Builder setBackupInfo( + com.google.bigtable.admin.v2.BackupInfo.Builder builderForValue) { if (backupInfoBuilder_ == null) { sourceInfo_ = builderForValue.build(); onChanged(); @@ -1100,16 +1003,15 @@ public Builder setBackupInfo(com.google.bigtable.admin.v2.BackupInfo.Builder bui sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { if (backupInfoBuilder_ == null) { - if (sourceInfoCase_ == 3 - && sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { - sourceInfo_ = - com.google.bigtable.admin.v2.BackupInfo.newBuilder( - (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_) - .mergeFrom(value) - .buildPartial(); + if (sourceInfoCase_ == 3 && + sourceInfo_ != com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance()) { + sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.newBuilder((com.google.bigtable.admin.v2.BackupInfo) sourceInfo_) + .mergeFrom(value).buildPartial(); } else { sourceInfo_ = value; } @@ -1124,7 +1026,9 @@ public Builder mergeBackupInfo(com.google.bigtable.admin.v2.BackupInfo value) { sourceInfoCase_ = 3; return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public Builder clearBackupInfo() { if (backupInfoBuilder_ == null) { if (sourceInfoCase_ == 3) { @@ -1141,11 +1045,15 @@ public Builder clearBackupInfo() { } return this; } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ public com.google.bigtable.admin.v2.BackupInfo.Builder getBackupInfoBuilder() { return getBackupInfoFieldBuilder().getBuilder(); } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ @java.lang.Override public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() { if ((sourceInfoCase_ == 3) && (backupInfoBuilder_ != null)) { @@ -1157,21 +1065,18 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() return com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } } - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder> + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder> getBackupInfoFieldBuilder() { if (backupInfoBuilder_ == null) { if (!(sourceInfoCase_ == 3)) { sourceInfo_ = com.google.bigtable.admin.v2.BackupInfo.getDefaultInstance(); } - backupInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.BackupInfo, - com.google.bigtable.admin.v2.BackupInfo.Builder, - com.google.bigtable.admin.v2.BackupInfoOrBuilder>( + backupInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.BackupInfo, com.google.bigtable.admin.v2.BackupInfo.Builder, com.google.bigtable.admin.v2.BackupInfoOrBuilder>( (com.google.bigtable.admin.v2.BackupInfo) sourceInfo_, getParentForChildren(), isClean()); @@ -1184,8 +1089,6 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder() private java.lang.Object optimizeTableOperationName_ = ""; /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1199,13 +1102,13 @@ public com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder()
      * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ public java.lang.String getOptimizeTableOperationName() { java.lang.Object ref = optimizeTableOperationName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); optimizeTableOperationName_ = s; return s; @@ -1214,8 +1117,6 @@ public java.lang.String getOptimizeTableOperationName() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1229,14 +1130,15 @@ public java.lang.String getOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ - public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { + public com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes() { java.lang.Object ref = optimizeTableOperationName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); optimizeTableOperationName_ = b; return b; } else { @@ -1244,8 +1146,6 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() { } } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1259,22 +1159,18 @@ public com.google.protobuf.ByteString getOptimizeTableOperationNameBytes() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1288,7 +1184,6 @@ public Builder setOptimizeTableOperationName(java.lang.String value) {
      * 
* * string optimize_table_operation_name = 4; - * * @return This builder for chaining. */ public Builder clearOptimizeTableOperationName() { @@ -1298,8 +1193,6 @@ public Builder clearOptimizeTableOperationName() { return this; } /** - * - * *
      * If exists, the name of the long-running operation that will be used to
      * track the post-restore optimization process to optimize the performance of
@@ -1313,14 +1206,12 @@ public Builder clearOptimizeTableOperationName() {
      * 
* * string optimize_table_operation_name = 4; - * * @param value The bytes for optimizeTableOperationName to set. * @return This builder for chaining. */ - public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOptimizeTableOperationNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); optimizeTableOperationName_ = value; bitField0_ |= 0x00000008; @@ -1330,13 +1221,8 @@ public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString 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_; + com.google.bigtable.admin.v2.OperationProgress, com.google.bigtable.admin.v2.OperationProgress.Builder, com.google.bigtable.admin.v2.OperationProgressOrBuilder> progressBuilder_; /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1344,15 +1230,12 @@ public Builder setOptimizeTableOperationNameBytes(com.google.protobuf.ByteString
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ public boolean hasProgress() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1360,21 +1243,16 @@ public boolean hasProgress() {
      * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @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_; + return progress_ == null ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** - * - * *
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1397,8 +1275,6 @@ public Builder setProgress(com.google.bigtable.admin.v2.OperationProgress value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1419,8 +1295,6 @@ public Builder setProgress(
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1431,9 +1305,9 @@ public Builder setProgress(
      */
     public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress value) {
       if (progressBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && progress_ != null
-            && progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          progress_ != null &&
+          progress_ != com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()) {
           getProgressBuilder().mergeFrom(value);
         } else {
           progress_ = value;
@@ -1446,8 +1320,6 @@ public Builder mergeProgress(com.google.bigtable.admin.v2.OperationProgress valu
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1467,8 +1339,6 @@ public Builder clearProgress() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1483,8 +1353,6 @@ public com.google.bigtable.admin.v2.OperationProgress.Builder getProgressBuilder
       return getProgressFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1497,14 +1365,11 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
       if (progressBuilder_ != null) {
         return progressBuilder_.getMessageOrBuilder();
       } else {
-        return progress_ == null
-            ? com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance()
-            : progress_;
+        return progress_ == null ?
+            com.google.bigtable.admin.v2.OperationProgress.getDefaultInstance() : progress_;
       }
     }
     /**
-     *
-     *
      * 
      * The progress of the
      * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -1514,24 +1379,21 @@ public com.google.bigtable.admin.v2.OperationProgressOrBuilder getProgressOrBuil
      * .google.bigtable.admin.v2.OperationProgress progress = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.OperationProgress,
-            com.google.bigtable.admin.v2.OperationProgress.Builder,
-            com.google.bigtable.admin.v2.OperationProgressOrBuilder>
+        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());
+        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) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1541,12 +1403,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreTableMetadata)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreTableMetadata)
   private static final com.google.bigtable.admin.v2.RestoreTableMetadata DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreTableMetadata();
   }
@@ -1555,27 +1417,27 @@ public static com.google.bigtable.admin.v2.RestoreTableMetadata getDefaultInstan
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RestoreTableMetadata parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RestoreTableMetadata parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1590,4 +1452,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.admin.v2.RestoreTableMetadata getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
similarity index 80%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
index 9d69094d6e..8276d6e905 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableMetadataOrBuilder.java
@@ -1,96 +1,67 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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 RestoreTableMetadataOrBuilder
-    extends
+public interface RestoreTableMetadataOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreTableMetadata)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Name of the table being created and restored to.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The enum numeric value on the wire for sourceType. */ int getSourceTypeValue(); /** - * - * *
    * The type of the restore source.
    * 
* * .google.bigtable.admin.v2.RestoreSourceType source_type = 2; - * * @return The sourceType. */ com.google.bigtable.admin.v2.RestoreSourceType getSourceType(); /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return Whether the backupInfo field is set. */ boolean hasBackupInfo(); /** * .google.bigtable.admin.v2.BackupInfo backup_info = 3; - * * @return The backupInfo. */ com.google.bigtable.admin.v2.BackupInfo getBackupInfo(); - /** .google.bigtable.admin.v2.BackupInfo backup_info = 3; */ + /** + * .google.bigtable.admin.v2.BackupInfo backup_info = 3; + */ com.google.bigtable.admin.v2.BackupInfoOrBuilder getBackupInfoOrBuilder(); /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -104,13 +75,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * string optimize_table_operation_name = 4; - * * @return The optimizeTableOperationName. */ java.lang.String getOptimizeTableOperationName(); /** - * - * *
    * If exists, the name of the long-running operation that will be used to
    * track the post-restore optimization process to optimize the performance of
@@ -124,14 +92,12 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * string optimize_table_operation_name = 4; - * * @return The bytes for optimizeTableOperationName. */ - com.google.protobuf.ByteString getOptimizeTableOperationNameBytes(); + com.google.protobuf.ByteString + getOptimizeTableOperationNameBytes(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -139,13 +105,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return Whether the progress field is set. */ boolean hasProgress(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
@@ -153,13 +116,10 @@ public interface RestoreTableMetadataOrBuilder
    * 
* * .google.bigtable.admin.v2.OperationProgress progress = 5; - * * @return The progress. */ com.google.bigtable.admin.v2.OperationProgress getProgress(); /** - * - * *
    * The progress of the
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable]
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
similarity index 70%
rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
index b50a79c5d9..3e80168c1e 100644
--- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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
  * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.RestoreTableRequest}
  */
-public final class RestoreTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RestoreTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.RestoreTableRequest)
     RestoreTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RestoreTableRequest.newBuilder() to construct.
   private RestoreTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RestoreTableRequest() {
     parent_ = "";
     tableId_ = "";
@@ -45,38 +27,33 @@ private RestoreTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RestoreTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.RestoreTableRequest.class,
-            com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
   }
 
   private int sourceCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object source_;
-
   public enum SourceCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     BACKUP(3),
     SOURCE_NOT_SET(0);
     private final int value;
-
     private SourceCase(int value) {
       this.value = value;
     }
@@ -92,40 +69,32 @@ public static SourceCase valueOf(int value) {
 
     public static SourceCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return BACKUP;
-        case 0:
-          return SOURCE_NOT_SET;
-        default:
-          return null;
+        case 3: return BACKUP;
+        case 0: return SOURCE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public SourceCase getSourceCase() {
-    return SourceCase.forNumber(sourceCase_);
+  public SourceCase
+  getSourceCase() {
+    return SourceCase.forNumber(
+        sourceCase_);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -134,32 +103,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -168,12 +135,9 @@ public com.google.protobuf.ByteString getParentBytes() { } public static final int TABLE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object tableId_ = ""; /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -182,7 +146,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ @java.lang.Override @@ -191,15 +154,14 @@ public java.lang.String getTableId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; } } /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -208,15 +170,16 @@ public java.lang.String getTableId() {
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ @java.lang.Override - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -226,30 +189,24 @@ public com.google.protobuf.ByteString getTableIdBytes() { public static final int BACKUP_FIELD_NUMBER = 3; /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ public java.lang.String getBackup() { @@ -260,7 +217,8 @@ public java.lang.String getBackup() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -269,25 +227,24 @@ public java.lang.String getBackup() { } } /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -298,7 +255,6 @@ public com.google.protobuf.ByteString getBackupBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -310,7 +266,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -346,20 +303,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.RestoreTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.RestoreTableRequest other = - (com.google.bigtable.admin.v2.RestoreTableRequest) obj; + com.google.bigtable.admin.v2.RestoreTableRequest other = (com.google.bigtable.admin.v2.RestoreTableRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTableId().equals(other.getTableId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTableId() + .equals(other.getTableId())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 3: - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; break; case 0: default: @@ -392,104 +351,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest 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.RestoreTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.RestoreTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.RestoreTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.RestoreTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable].
@@ -497,32 +451,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.RestoreTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.RestoreTableRequest)
       com.google.bigtable.admin.v2.RestoreTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.RestoreTableRequest.class,
-              com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.RestoreTableRequest.class, com.google.bigtable.admin.v2.RestoreTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.RestoreTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -535,9 +490,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -556,11 +511,8 @@ public com.google.bigtable.admin.v2.RestoreTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.RestoreTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.RestoreTableRequest result =
-          new com.google.bigtable.admin.v2.RestoreTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.RestoreTableRequest result = new com.google.bigtable.admin.v2.RestoreTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -585,39 +537,38 @@ private void buildPartialOneofs(com.google.bigtable.admin.v2.RestoreTableRequest
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.RestoreTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.RestoreTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -625,8 +576,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.RestoreTableRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -638,17 +588,15 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.RestoreTableRequest other)
         onChanged();
       }
       switch (other.getSourceCase()) {
-        case BACKUP:
-          {
-            sourceCase_ = 3;
-            source_ = other.source_;
-            onChanged();
-            break;
-          }
-        case SOURCE_NOT_SET:
-          {
-            break;
-          }
+        case BACKUP: {
+          sourceCase_ = 3;
+          source_ = other.source_;
+          onChanged();
+          break;
+        }
+        case SOURCE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -676,32 +624,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                tableId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                sourceCase_ = 3;
-                source_ = s;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              tableId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
+              sourceCase_ = 3;
+              source_ = s;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -711,12 +655,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int sourceCase_ = 0;
     private java.lang.Object source_;
-
-    public SourceCase getSourceCase() {
-      return SourceCase.forNumber(sourceCase_);
+    public SourceCase
+        getSourceCase() {
+      return SourceCase.forNumber(
+          sourceCase_);
     }
 
     public Builder clearSource() {
@@ -730,23 +674,19 @@ public Builder clearSource() {
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -755,24 +695,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -780,41 +717,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { @@ -824,24 +750,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. The name of the instance in which to create the restored
      * table. Values are of the form `projects/<project>/instances/<instance>`.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -851,8 +771,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tableId_ = ""; /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -861,13 +779,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ public java.lang.String getTableId() { java.lang.Object ref = tableId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableId_ = s; return s; @@ -876,8 +794,6 @@ public java.lang.String getTableId() { } } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -886,14 +802,15 @@ public java.lang.String getTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - public com.google.protobuf.ByteString getTableIdBytes() { + public com.google.protobuf.ByteString + getTableIdBytes() { java.lang.Object ref = tableId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableId_ = b; return b; } else { @@ -901,8 +818,6 @@ public com.google.protobuf.ByteString getTableIdBytes() { } } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -911,22 +826,18 @@ public com.google.protobuf.ByteString getTableIdBytes() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -935,7 +846,6 @@ public Builder setTableId(java.lang.String value) {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTableId() { @@ -945,8 +855,6 @@ public Builder clearTableId() { return this; } /** - * - * *
      * Required. The id of the table to create and restore to. This
      * table must not already exist. The `table_id` appended to
@@ -955,14 +863,12 @@ public Builder clearTableId() {
      * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for tableId to set. * @return This builder for chaining. */ - public Builder setTableIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableId_ = value; bitField0_ |= 0x00000002; @@ -971,15 +877,12 @@ public Builder setTableIdBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ @java.lang.Override @@ -987,15 +890,12 @@ public boolean hasBackup() { return sourceCase_ == 3; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ @java.lang.Override @@ -1005,7 +905,8 @@ public java.lang.String getBackup() { ref = source_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (sourceCase_ == 3) { source_ = s; @@ -1016,26 +917,25 @@ public java.lang.String getBackup() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ @java.lang.Override - public com.google.protobuf.ByteString getBackupBytes() { + public com.google.protobuf.ByteString + getBackupBytes() { java.lang.Object ref = ""; if (sourceCase_ == 3) { ref = source_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (sourceCase_ == 3) { source_ = b; } @@ -1045,37 +945,30 @@ public com.google.protobuf.ByteString getBackupBytes() { } } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The backup to set. * @return This builder for chaining. */ - public Builder setBackup(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackup( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceCase_ = 3; source_ = value; onChanged(); return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearBackup() { @@ -1087,31 +980,27 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Name of the backup from which to restore.  Values are of the form
      * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
      * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @param value The bytes for backup to set. * @return This builder for chaining. */ - public Builder setBackupBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setBackupBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceCase_ = 3; source_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1121,12 +1010,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.RestoreTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.RestoreTableRequest) private static final com.google.bigtable.admin.v2.RestoreTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.RestoreTableRequest(); } @@ -1135,27 +1024,27 @@ public static com.google.bigtable.admin.v2.RestoreTableRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RestoreTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RestoreTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1170,4 +1059,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.RestoreTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java index db998656a5..3093c15ce7 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/RestoreTableRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 RestoreTableRequestOrBuilder - extends +public interface RestoreTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.RestoreTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the instance in which to create the restored
    * table. Values are of the form `projects/<project>/instances/<instance>`.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -65,13 +38,10 @@ public interface RestoreTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The tableId. */ java.lang.String getTableId(); /** - * - * *
    * Required. The id of the table to create and restore to. This
    * table must not already exist. The `table_id` appended to
@@ -80,50 +50,42 @@ public interface RestoreTableRequestOrBuilder
    * 
* * string table_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for tableId. */ - com.google.protobuf.ByteString getTableIdBytes(); + com.google.protobuf.ByteString + getTableIdBytes(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The backup. */ java.lang.String getBackup(); /** - * - * *
    * Name of the backup from which to restore.  Values are of the form
    * `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
    * 
* * string backup = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for backup. */ - com.google.protobuf.ByteString getBackupBytes(); + com.google.protobuf.ByteString + getBackupBytes(); com.google.bigtable.admin.v2.RestoreTableRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java similarity index 69% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java index 6f9800709e..cb21591364 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Snapshot.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A snapshot of a table at a particular time. A snapshot can be used as a
  * checkpoint for data restoration or a data source for a new table.
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Snapshot}
  */
-public final class Snapshot extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Snapshot extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Snapshot)
     SnapshotOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Snapshot.newBuilder() to construct.
   private Snapshot(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Snapshot() {
     name_ = "";
     state_ = 0;
@@ -51,38 +33,34 @@ private Snapshot() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Snapshot();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Snapshot.class,
-            com.google.bigtable.admin.v2.Snapshot.Builder.class);
+            com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible states of a snapshot.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Snapshot.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state of the snapshot could not be determined.
      * 
@@ -91,8 +69,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_NOT_KNOWN(0), /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -101,8 +77,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(1), /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -116,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state of the snapshot could not be determined.
      * 
@@ -126,8 +98,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
      * The snapshot has been successfully created and can serve all requests.
      * 
@@ -136,8 +106,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 1; /** - * - * *
      * The snapshot is currently being created, and may be destroyed if the
      * creation process encounters an error. A snapshot may not be restored to a
@@ -148,6 +116,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CREATING_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -172,49 +141,49 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return STATE_NOT_KNOWN;
-        case 1:
-          return READY;
-        case 2:
-          return CREATING;
-        default:
-          return null;
+        case 0: return STATE_NOT_KNOWN;
+        case 1: return READY;
+        case 2: return CREATING;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        State> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-        new com.google.protobuf.Internal.EnumLiteMap() {
-          public State findValueByNumber(int number) {
-            return State.forNumber(number);
-          }
-        };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.admin.v2.Snapshot.getDescriptor().getEnumTypes().get(0);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -232,12 +201,9 @@ private State(int value) {
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique name of the snapshot.
    * Values are of the form
@@ -245,7 +211,6 @@ private State(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -254,15 +219,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -270,15 +234,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -289,16 +254,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SOURCE_TABLE_FIELD_NUMBER = 2; private com.google.bigtable.admin.v2.Table sourceTable_; /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ @java.lang.Override @@ -306,47 +266,32 @@ public boolean hasSourceTable() { return sourceTable_ != null; } /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ @java.lang.Override public com.google.bigtable.admin.v2.Table getSourceTable() { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } public static final int DATA_SIZE_BYTES_FIELD_NUMBER = 3; private long dataSizeBytes_ = 0L; /** - * - * *
    * 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
@@ -355,7 +300,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
    * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -366,15 +310,11 @@ public long getDataSizeBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ @java.lang.Override @@ -382,15 +322,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ @java.lang.Override @@ -398,14 +334,11 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -415,8 +348,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int DELETE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp deleteTime_; /** - * - * *
    * 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,
@@ -424,7 +355,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ @java.lang.Override @@ -432,8 +362,6 @@ public boolean hasDeleteTime() { return deleteTime_ != null; } /** - * - * *
    * 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,
@@ -441,7 +369,6 @@ public boolean hasDeleteTime() {
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ @java.lang.Override @@ -449,8 +376,6 @@ public com.google.protobuf.Timestamp getDeleteTime() { return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } /** - * - * *
    * 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,
@@ -467,55 +392,38 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
   public static final int STATE_FIELD_NUMBER = 6;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Snapshot.State getState() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object description_ = ""; /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ @java.lang.Override @@ -524,29 +432,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -555,7 +463,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -567,7 +474,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -602,19 +510,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sourceTable_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getSourceTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getSourceTable()); } if (dataSizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, dataSizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, dataSizeBytes_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getCreateTime()); } if (deleteTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDeleteTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getDeleteTime()); } if (state_ != com.google.bigtable.admin.v2.Snapshot.State.STATE_NOT_KNOWN.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); @@ -627,29 +540,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Snapshot)) { return super.equals(obj); } com.google.bigtable.admin.v2.Snapshot other = (com.google.bigtable.admin.v2.Snapshot) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasSourceTable() != other.hasSourceTable()) return false; if (hasSourceTable()) { - if (!getSourceTable().equals(other.getSourceTable())) return false; + if (!getSourceTable() + .equals(other.getSourceTable())) return false; } - if (getDataSizeBytes() != other.getDataSizeBytes()) return false; + if (getDataSizeBytes() + != other.getDataSizeBytes()) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime().equals(other.getCreateTime())) return false; + if (!getCreateTime() + .equals(other.getCreateTime())) return false; } if (hasDeleteTime() != other.hasDeleteTime()) return false; if (hasDeleteTime()) { - if (!getDeleteTime().equals(other.getDeleteTime())) return false; + if (!getDeleteTime() + .equals(other.getDeleteTime())) return false; } if (state_ != other.state_) return false; - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -668,7 +587,8 @@ public int hashCode() { hash = (53 * hash) + getSourceTable().hashCode(); } hash = (37 * hash) + DATA_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getDataSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDataSizeBytes()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -686,103 +606,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Snapshot parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Snapshot parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot 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.Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Snapshot parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Snapshot parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Snapshot prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A snapshot of a table at a particular time. A snapshot can be used as a
    * checkpoint for data restoration or a data source for a new table.
@@ -795,32 +711,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Snapshot}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Snapshot)
       com.google.bigtable.admin.v2.SnapshotOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Snapshot.class,
-              com.google.bigtable.admin.v2.Snapshot.Builder.class);
+              com.google.bigtable.admin.v2.Snapshot.class, com.google.bigtable.admin.v2.Snapshot.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Snapshot.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -848,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Snapshot_descriptor;
     }
 
     @java.lang.Override
@@ -869,11 +786,8 @@ public com.google.bigtable.admin.v2.Snapshot build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.Snapshot buildPartial() {
-      com.google.bigtable.admin.v2.Snapshot result =
-          new com.google.bigtable.admin.v2.Snapshot(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.Snapshot result = new com.google.bigtable.admin.v2.Snapshot(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -884,17 +798,22 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.sourceTable_ =
-            sourceTableBuilder_ == null ? sourceTable_ : sourceTableBuilder_.build();
+        result.sourceTable_ = sourceTableBuilder_ == null
+            ? sourceTable_
+            : sourceTableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.dataSizeBytes_ = dataSizeBytes_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+        result.createTime_ = createTimeBuilder_ == null
+            ? createTime_
+            : createTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.deleteTime_ = deleteTimeBuilder_ == null ? deleteTime_ : deleteTimeBuilder_.build();
+        result.deleteTime_ = deleteTimeBuilder_ == null
+            ? deleteTime_
+            : deleteTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
         result.state_ = state_;
@@ -908,39 +827,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Snapshot result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Snapshot) {
-        return mergeFrom((com.google.bigtable.admin.v2.Snapshot) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Snapshot)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1000,55 +918,53 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getSourceTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 24:
-              {
-                dataSizeBytes_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 34:
-              {
-                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getDeleteTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            case 48:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 48
-            case 58:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getSourceTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 24: {
+              dataSizeBytes_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 34: {
+              input.readMessage(
+                  getCreateTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getDeleteTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            case 48: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 48
+            case 58: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1058,13 +974,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the snapshot.
      * Values are of the form
@@ -1072,13 +985,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1087,8 +1000,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1096,14 +1007,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1111,8 +1023,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1120,22 +1030,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1143,7 +1049,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1153,8 +1058,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the snapshot.
      * Values are of the form
@@ -1162,14 +1065,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1179,58 +1080,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.admin.v2.Table sourceTable_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> - sourceTableBuilder_; + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> sourceTableBuilder_; /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ public boolean hasSourceTable() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ public com.google.bigtable.admin.v2.Table getSourceTable() { if (sourceTableBuilder_ == null) { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } else { return sourceTableBuilder_.getMessage(); } } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { @@ -1246,17 +1128,14 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setSourceTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (sourceTableBuilder_ == null) { sourceTable_ = builderForValue.build(); } else { @@ -1267,21 +1146,17 @@ public Builder setSourceTable(com.google.bigtable.admin.v2.Table.Builder builder return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { if (sourceTableBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && sourceTable_ != null - && sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + sourceTable_ != null && + sourceTable_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getSourceTableBuilder().mergeFrom(value); } else { sourceTable_ = value; @@ -1294,15 +1169,11 @@ public Builder mergeSourceTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearSourceTable() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1315,15 +1186,11 @@ public Builder clearSourceTable() { return this; } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { bitField0_ |= 0x00000002; @@ -1331,57 +1198,43 @@ public com.google.bigtable.admin.v2.Table.Builder getSourceTableBuilder() { return getSourceTableFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() { if (sourceTableBuilder_ != null) { return sourceTableBuilder_.getMessageOrBuilder(); } else { - return sourceTable_ == null - ? com.google.bigtable.admin.v2.Table.getDefaultInstance() - : sourceTable_; + return sourceTable_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : sourceTable_; } } /** - * - * *
      * Output only. The source table at the time the snapshot was taken.
      * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getSourceTableFieldBuilder() { if (sourceTableBuilder_ == null) { - sourceTableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getSourceTable(), getParentForChildren(), isClean()); + sourceTableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getSourceTable(), + getParentForChildren(), + isClean()); sourceTable_ = null; } return sourceTableBuilder_; } - private long dataSizeBytes_; + private long dataSizeBytes_ ; /** - * - * *
      * 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
@@ -1390,7 +1243,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder() {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ @java.lang.Override @@ -1398,8 +1250,6 @@ public long getDataSizeBytes() { return dataSizeBytes_; } /** - * - * *
      * 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
@@ -1408,7 +1258,6 @@ public long getDataSizeBytes() {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The dataSizeBytes to set. * @return This builder for chaining. */ @@ -1420,8 +1269,6 @@ public Builder setDataSizeBytes(long value) { return this; } /** - * - * *
      * 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
@@ -1430,7 +1277,6 @@ public Builder setDataSizeBytes(long value) {
      * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearDataSizeBytes() { @@ -1442,58 +1288,39 @@ public Builder clearDataSizeBytes() { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1509,17 +1336,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1530,21 +1354,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1557,15 +1377,11 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearCreateTime() { bitField0_ = (bitField0_ & ~0x00000008); @@ -1578,15 +1394,11 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { bitField0_ |= 0x00000008; @@ -1594,48 +1406,36 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * Output only. The time when the snapshot is created.
      * 
* - * - * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1643,13 +1443,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp deleteTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - deleteTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> deleteTimeBuilder_; /** - * - * *
      * 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,
@@ -1657,15 +1452,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ public boolean hasDeleteTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * 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,
@@ -1673,21 +1465,16 @@ public boolean hasDeleteTime() {
      * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ public com.google.protobuf.Timestamp getDeleteTime() { if (deleteTimeBuilder_ == null) { - return deleteTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : deleteTime_; + return deleteTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_; } else { return deleteTimeBuilder_.getMessage(); } } /** - * - * *
      * 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,
@@ -1710,8 +1497,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1720,7 +1505,8 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp delete_time = 5;
      */
-    public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setDeleteTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (deleteTimeBuilder_ == null) {
         deleteTime_ = builderForValue.build();
       } else {
@@ -1731,8 +1517,6 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1743,9 +1527,9 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       if (deleteTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000010) != 0)
-            && deleteTime_ != null
-            && deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000010) != 0) &&
+          deleteTime_ != null &&
+          deleteTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getDeleteTimeBuilder().mergeFrom(value);
         } else {
           deleteTime_ = value;
@@ -1758,8 +1542,6 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1779,8 +1561,6 @@ public Builder clearDeleteTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1795,8 +1575,6 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() {
       return getDeleteTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1809,14 +1587,11 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
       if (deleteTimeBuilder_ != null) {
         return deleteTimeBuilder_.getMessageOrBuilder();
       } else {
-        return deleteTime_ == null
-            ? com.google.protobuf.Timestamp.getDefaultInstance()
-            : deleteTime_;
+        return deleteTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : deleteTime_;
       }
     }
     /**
-     *
-     *
      * 
      * 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,
@@ -1826,17 +1601,14 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
      * .google.protobuf.Timestamp delete_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getDeleteTimeFieldBuilder() {
       if (deleteTimeBuilder_ == null) {
-        deleteTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getDeleteTime(), getParentForChildren(), isClean());
+        deleteTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getDeleteTime(),
+                getParentForChildren(),
+                isClean());
         deleteTime_ = null;
       }
       return deleteTimeBuilder_;
@@ -1844,33 +1616,22 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() {
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1881,35 +1642,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.bigtable.admin.v2.Snapshot.State getState() { - com.google.bigtable.admin.v2.Snapshot.State result = - com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); + com.google.bigtable.admin.v2.Snapshot.State result = com.google.bigtable.admin.v2.Snapshot.State.forNumber(state_); return result == null ? com.google.bigtable.admin.v2.Snapshot.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -1923,16 +1673,11 @@ public Builder setState(com.google.bigtable.admin.v2.Snapshot.State value) { return this; } /** - * - * *
      * Output only. The current state of the snapshot.
      * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -1944,20 +1689,18 @@ public Builder clearState() { private java.lang.Object description_ = ""; /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1966,21 +1709,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1988,35 +1730,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -2026,30 +1761,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 7; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2059,12 +1790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Snapshot) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Snapshot) private static final com.google.bigtable.admin.v2.Snapshot DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Snapshot(); } @@ -2073,27 +1804,27 @@ public static com.google.bigtable.admin.v2.Snapshot getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Snapshot parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Snapshot parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2108,4 +1839,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Snapshot getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java index 1cb720d02e..40c8ed04a4 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface SnapshotOrBuilder - extends +public interface SnapshotOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Snapshot) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -33,13 +15,10 @@ public interface SnapshotOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the snapshot.
    * Values are of the form
@@ -47,55 +26,39 @@ public interface SnapshotOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the sourceTable field is set. */ boolean hasSourceTable(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The sourceTable. */ com.google.bigtable.admin.v2.Table getSourceTable(); /** - * - * *
    * Output only. The source table at the time the snapshot was taken.
    * 
* - * - * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.Table source_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.TableOrBuilder getSourceTableOrBuilder(); /** - * - * *
    * 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
@@ -104,52 +67,38 @@ public interface SnapshotOrBuilder
    * 
* * int64 data_size_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The dataSizeBytes. */ long getDataSizeBytes(); /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * 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 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * 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,
@@ -157,13 +106,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return Whether the deleteTime field is set. */ boolean hasDeleteTime(); /** - * - * *
    * 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,
@@ -171,13 +117,10 @@ public interface SnapshotOrBuilder
    * 
* * .google.protobuf.Timestamp delete_time = 5; - * * @return The deleteTime. */ com.google.protobuf.Timestamp getDeleteTime(); /** - * - * *
    * 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,
@@ -189,56 +132,41 @@ public interface SnapshotOrBuilder
   com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The current state of the snapshot.
    * 
* - * - * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Snapshot.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.bigtable.admin.v2.Snapshot.State getState(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 7; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java index 2040dcce70..4b72609e4e 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 metadata for the Operation returned by SnapshotTable.
  *
@@ -32,50 +15,46 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
  */
-public final class SnapshotTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
     SnapshotTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableMetadata.newBuilder() to construct.
   private SnapshotTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private SnapshotTableMetadata() {}
+  private SnapshotTableMetadata() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-            com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
   }
 
   public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
   /**
-   *
-   *
    * 
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -83,25 +62,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
@@ -110,22 +82,17 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -133,14 +100,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -148,8 +112,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -164,14 +126,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -179,14 +138,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -194,8 +150,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -208,7 +162,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,7 +173,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -240,13 +194,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -256,25 +213,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableMetadata other = - (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; + com.google.bigtable.admin.v2.SnapshotTableMetadata other = (com.google.bigtable.admin.v2.SnapshotTableMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -305,103 +264,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata 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.SnapshotTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by SnapshotTable.
    *
@@ -413,32 +367,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableMetadata)
       com.google.bigtable.admin.v2.SnapshotTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.class,
-              com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableMetadata.class, com.google.bigtable.admin.v2.SnapshotTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -462,9 +417,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -483,11 +438,8 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableMetadata result =
-          new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableMetadata result = new com.google.bigtable.admin.v2.SnapshotTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -495,15 +447,19 @@ public com.google.bigtable.admin.v2.SnapshotTableMetadata buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.originalRequest_ =
-            originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build();
+        result.originalRequest_ = originalRequestBuilder_ == null
+            ? originalRequest_
+            : originalRequestBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.requestTime_ =
-            requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build();
+        result.requestTime_ = requestTimeBuilder_ == null
+            ? requestTime_
+            : requestTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build();
+        result.finishTime_ = finishTimeBuilder_ == null
+            ? finishTime_
+            : finishTimeBuilder_.build();
       }
     }
 
@@ -511,39 +467,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,8 +506,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableMetadata.getDefaultInstance()) return this;
       if (other.hasOriginalRequest()) {
         mergeOriginalRequest(other.getOriginalRequest());
       }
@@ -588,31 +542,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getOriginalRequestFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getRequestTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getFinishTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -622,52 +578,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.SnapshotTableRequest originalRequest_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.SnapshotTableRequest,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder,
-            com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>
-        originalRequestBuilder_;
+        com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> originalRequestBuilder_;
     /**
-     *
-     *
      * 
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -688,8 +630,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequ return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -708,8 +648,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -718,10 +656,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -734,8 +671,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.SnapshotTableRe return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -753,8 +688,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -767,27 +700,21 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ - public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this SnapshotTable operation.
      * 
@@ -795,17 +722,14 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.SnapshotTableRequest, - com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, - com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.SnapshotTableRequest, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder, com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -813,47 +737,34 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest.Builder getOriginalRequ private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -874,15 +785,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -893,8 +803,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -903,9 +811,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -918,8 +826,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -937,8 +843,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -951,8 +855,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -963,14 +865,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -978,17 +877,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -996,47 +892,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1057,15 +940,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1076,8 +958,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1086,9 +966,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1101,8 +981,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1120,8 +998,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1134,8 +1010,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1146,14 +1020,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1161,24 +1032,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1188,12 +1056,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableMetadata) private static final com.google.bigtable.admin.v2.SnapshotTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableMetadata(); } @@ -1202,27 +1070,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1237,4 +1105,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java index dcc6370afc..fb46fb7058 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 SnapshotTableMetadataOrBuilder - extends +public interface SnapshotTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.SnapshotTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
* * .google.bigtable.admin.v2.SnapshotTableRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.SnapshotTableRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this SnapshotTable operation.
    * 
@@ -59,32 +35,24 @@ public interface SnapshotTableMetadataOrBuilder com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface SnapshotTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java index 10d073685d..75691a9986 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
@@ -33,16 +16,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
  */
-public final class SnapshotTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class SnapshotTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.SnapshotTableRequest)
     SnapshotTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use SnapshotTableRequest.newBuilder() to construct.
   private SnapshotTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private SnapshotTableRequest() {
     name_ = "";
     cluster_ = "";
@@ -52,42 +34,35 @@ private SnapshotTableRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new SnapshotTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-            com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -96,33 +71,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -131,22 +104,16 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object cluster_ = ""; /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ @java.lang.Override @@ -155,33 +122,31 @@ public java.lang.String getCluster() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; } } /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -190,12 +155,9 @@ public com.google.protobuf.ByteString getClusterBytes() { } public static final int SNAPSHOT_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object snapshotId_ = ""; /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -204,7 +166,6 @@ public com.google.protobuf.ByteString getClusterBytes() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ @java.lang.Override @@ -213,15 +174,14 @@ public java.lang.String getSnapshotId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; } } /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -230,15 +190,16 @@ public java.lang.String getSnapshotId() {
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ @java.lang.Override - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -249,8 +210,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { public static final int TTL_FIELD_NUMBER = 4; private com.google.protobuf.Duration ttl_; /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -259,7 +218,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ @java.lang.Override @@ -267,8 +225,6 @@ public boolean hasTtl() { return ttl_ != null; } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -277,7 +233,6 @@ public boolean hasTtl() {
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ @java.lang.Override @@ -285,8 +240,6 @@ public com.google.protobuf.Duration getTtl() { return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_; } /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -302,18 +255,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
   }
 
   public static final int DESCRIPTION_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object description_ = "";
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ @java.lang.Override @@ -322,29 +271,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -353,7 +302,6 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -365,7 +313,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -400,7 +349,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, snapshotId_); } if (ttl_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getTtl()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getTtl()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -413,22 +363,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.SnapshotTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.SnapshotTableRequest other = - (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; + com.google.bigtable.admin.v2.SnapshotTableRequest other = (com.google.bigtable.admin.v2.SnapshotTableRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getCluster().equals(other.getCluster())) return false; - if (!getSnapshotId().equals(other.getSnapshotId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getCluster() + .equals(other.getCluster())) return false; + if (!getSnapshotId() + .equals(other.getSnapshotId())) return false; if (hasTtl() != other.hasTtl()) return false; if (hasTtl()) { - if (!getTtl().equals(other.getTtl())) return false; + if (!getTtl() + .equals(other.getTtl())) return false; } - if (!getDescription().equals(other.getDescription())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,103 +412,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest 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.SnapshotTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.SnapshotTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.SnapshotTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.SnapshotTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
@@ -567,32 +516,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.SnapshotTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.SnapshotTableRequest)
       com.google.bigtable.admin.v2.SnapshotTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.SnapshotTableRequest.class,
-              com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.SnapshotTableRequest.class, com.google.bigtable.admin.v2.SnapshotTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.SnapshotTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -610,9 +560,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_SnapshotTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -631,11 +581,8 @@ public com.google.bigtable.admin.v2.SnapshotTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.SnapshotTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.SnapshotTableRequest result =
-          new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.SnapshotTableRequest result = new com.google.bigtable.admin.v2.SnapshotTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -652,7 +599,9 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
         result.snapshotId_ = snapshotId_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.ttl_ = ttlBuilder_ == null ? ttl_ : ttlBuilder_.build();
+        result.ttl_ = ttlBuilder_ == null
+            ? ttl_
+            : ttlBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.description_ = description_;
@@ -663,39 +612,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.SnapshotTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.SnapshotTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.SnapshotTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -703,8 +651,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.SnapshotTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.SnapshotTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -754,43 +701,39 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                cluster_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                snapshotId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getTtlFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            case 42:
-              {
-                description_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              cluster_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              snapshotId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getTtlFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            case 42: {
+              description_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -800,29 +743,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -831,25 +769,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -857,43 +792,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -903,25 +827,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to have the snapshot taken.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -931,24 +849,20 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object cluster_ = ""; /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ public java.lang.String getCluster() { java.lang.Object ref = cluster_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cluster_ = s; return s; @@ -957,25 +871,22 @@ public java.lang.String getCluster() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ - public com.google.protobuf.ByteString getClusterBytes() { + public com.google.protobuf.ByteString + getClusterBytes() { java.lang.Object ref = cluster_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); cluster_ = b; return b; } else { @@ -983,43 +894,32 @@ public com.google.protobuf.ByteString getClusterBytes() { } } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The cluster to set. * @return This builder for chaining. */ - public Builder setCluster(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setCluster( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } cluster_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearCluster() { @@ -1029,25 +929,19 @@ public Builder clearCluster() { return this; } /** - * - * *
      * Required. The name of the cluster where the snapshot will be created in.
      * Values are of the form
      * `projects/{project}/instances/{instance}/clusters/{cluster}`.
      * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for cluster to set. * @return This builder for chaining. */ - public Builder setClusterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cluster_ = value; bitField0_ |= 0x00000002; @@ -1057,8 +951,6 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) { private java.lang.Object snapshotId_ = ""; /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1067,13 +959,13 @@ public Builder setClusterBytes(com.google.protobuf.ByteString value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ public java.lang.String getSnapshotId() { java.lang.Object ref = snapshotId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); snapshotId_ = s; return s; @@ -1082,8 +974,6 @@ public java.lang.String getSnapshotId() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1092,14 +982,15 @@ public java.lang.String getSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ - public com.google.protobuf.ByteString getSnapshotIdBytes() { + public com.google.protobuf.ByteString + getSnapshotIdBytes() { java.lang.Object ref = snapshotId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); snapshotId_ = b; return b; } else { @@ -1107,8 +998,6 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() { } } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1117,22 +1006,18 @@ public com.google.protobuf.ByteString getSnapshotIdBytes() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } snapshotId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1141,7 +1026,6 @@ public Builder setSnapshotId(java.lang.String value) {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearSnapshotId() { @@ -1151,8 +1035,6 @@ public Builder clearSnapshotId() { return this; } /** - * - * *
      * Required. The ID by which the new snapshot should be referred to within the
      * parent cluster, e.g., `mysnapshot` of the form:
@@ -1161,14 +1043,12 @@ public Builder clearSnapshotId() {
      * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for snapshotId to set. * @return This builder for chaining. */ - public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSnapshotIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); snapshotId_ = value; bitField0_ |= 0x00000004; @@ -1178,13 +1058,8 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Duration ttl_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - ttlBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> ttlBuilder_; /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1193,15 +1068,12 @@ public Builder setSnapshotIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ public boolean hasTtl() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1210,7 +1082,6 @@ public boolean hasTtl() {
      * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ public com.google.protobuf.Duration getTtl() { @@ -1221,8 +1092,6 @@ public com.google.protobuf.Duration getTtl() { } } /** - * - * *
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1246,8 +1115,6 @@ public Builder setTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1257,7 +1124,8 @@ public Builder setTtl(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration ttl = 4;
      */
-    public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setTtl(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (ttlBuilder_ == null) {
         ttl_ = builderForValue.build();
       } else {
@@ -1268,8 +1136,6 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1281,9 +1147,9 @@ public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergeTtl(com.google.protobuf.Duration value) {
       if (ttlBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && ttl_ != null
-            && ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          ttl_ != null &&
+          ttl_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getTtlBuilder().mergeFrom(value);
         } else {
           ttl_ = value;
@@ -1296,8 +1162,6 @@ public Builder mergeTtl(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1318,8 +1182,6 @@ public Builder clearTtl() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1335,8 +1197,6 @@ public com.google.protobuf.Duration.Builder getTtlBuilder() {
       return getTtlFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1350,12 +1210,11 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
       if (ttlBuilder_ != null) {
         return ttlBuilder_.getMessageOrBuilder();
       } else {
-        return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_;
+        return ttl_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : ttl_;
       }
     }
     /**
-     *
-     *
      * 
      * The amount of time that the new snapshot can stay active after it is
      * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -1366,16 +1225,14 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      * .google.protobuf.Duration ttl = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getTtlFieldBuilder() {
       if (ttlBuilder_ == null) {
-        ttlBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(getTtl(), getParentForChildren(), isClean());
+        ttlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getTtl(),
+                getParentForChildren(),
+                isClean());
         ttl_ = null;
       }
       return ttlBuilder_;
@@ -1383,20 +1240,18 @@ public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
 
     private java.lang.Object description_ = "";
     /**
-     *
-     *
      * 
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1405,21 +1260,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1427,35 +1281,28 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescription( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @return This builder for chaining. */ public Builder clearDescription() { @@ -1465,30 +1312,26 @@ public Builder clearDescription() { return this; } /** - * - * *
      * Description of the snapshot.
      * 
* * string description = 5; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1498,12 +1341,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.SnapshotTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.SnapshotTableRequest) private static final com.google.bigtable.admin.v2.SnapshotTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.SnapshotTableRequest(); } @@ -1512,27 +1355,27 @@ public static com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SnapshotTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SnapshotTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1547,4 +1390,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.SnapshotTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java index 813376a1d0..7494f59456 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/SnapshotTableRequestOrBuilder.java @@ -1,97 +1,61 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 SnapshotTableRequestOrBuilder - extends +public interface SnapshotTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.SnapshotTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the table to have the snapshot taken.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The cluster. */ java.lang.String getCluster(); /** - * - * *
    * Required. The name of the cluster where the snapshot will be created in.
    * Values are of the form
    * `projects/{project}/instances/{instance}/clusters/{cluster}`.
    * 
* - * - * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string cluster = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for cluster. */ - com.google.protobuf.ByteString getClusterBytes(); + com.google.protobuf.ByteString + getClusterBytes(); /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -100,13 +64,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The snapshotId. */ java.lang.String getSnapshotId(); /** - * - * *
    * Required. The ID by which the new snapshot should be referred to within the
    * parent cluster, e.g., `mysnapshot` of the form:
@@ -115,14 +76,12 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * string snapshot_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for snapshotId. */ - com.google.protobuf.ByteString getSnapshotIdBytes(); + com.google.protobuf.ByteString + getSnapshotIdBytes(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -131,13 +90,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return Whether the ttl field is set. */ boolean hasTtl(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -146,13 +102,10 @@ public interface SnapshotTableRequestOrBuilder
    * 
* * .google.protobuf.Duration ttl = 4; - * * @return The ttl. */ com.google.protobuf.Duration getTtl(); /** - * - * *
    * The amount of time that the new snapshot can stay active after it is
    * created. Once 'ttl' expires, the snapshot will get deleted. The maximum
@@ -165,27 +118,22 @@ public interface SnapshotTableRequestOrBuilder
   com.google.protobuf.DurationOrBuilder getTtlOrBuilder();
 
   /**
-   *
-   *
    * 
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Description of the snapshot.
    * 
* * string description = 5; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java similarity index 67% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java index 8e2c4971a1..146bd1e57f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/StorageType.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/common.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Storage media types for persisting Bigtable data.
  * 
* * Protobuf enum {@code google.bigtable.admin.v2.StorageType} */ -public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { +public enum StorageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The user did not specify a storage type.
    * 
@@ -39,8 +21,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ STORAGE_TYPE_UNSPECIFIED(0), /** - * - * *
    * Flash (SSD) storage should be used.
    * 
@@ -49,8 +29,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ SSD(1), /** - * - * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -62,8 +40,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The user did not specify a storage type.
    * 
@@ -72,8 +48,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STORAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Flash (SSD) storage should be used.
    * 
@@ -82,8 +56,6 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SSD_VALUE = 1; /** - * - * *
    * Magnetic drive (HDD) storage should be used.
    * 
@@ -92,6 +64,7 @@ public enum StorageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HDD_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,49 +89,49 @@ public static StorageType valueOf(int value) { */ public static StorageType forNumber(int value) { switch (value) { - case 0: - return STORAGE_TYPE_UNSPECIFIED; - case 1: - return SSD; - case 2: - return HDD; - default: - return null; + case 0: return STORAGE_TYPE_UNSPECIFIED; + case 1: return SSD; + case 2: return HDD; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public StorageType findValueByNumber(int number) { - return StorageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + StorageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public StorageType findValueByNumber(int number) { + return StorageType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.CommonProto.getDescriptor().getEnumTypes().get(0); } private static final StorageType[] VALUES = values(); - public static StorageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static StorageType valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -174,3 +147,4 @@ private StorageType(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.StorageType) } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java similarity index 68% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java index 9d98a100c3..d9bcc01fdf 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/Table.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; /** - * - * *
  * A collection of user data indexed by row, column, and timestamp.
  * Each table is served using the resources of its parent cluster.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.Table}
  */
-public final class Table extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Table extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Table)
     TableOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Table.newBuilder() to construct.
   private Table(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Table() {
     name_ = "";
     granularity_ = 0;
@@ -45,41 +27,39 @@ private Table() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Table();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(int number) {
+  protected com.google.protobuf.MapField internalGetMapField(
+      int number) {
     switch (number) {
       case 2:
         return internalGetClusterStates();
       case 3:
         return internalGetColumnFamilies();
       default:
-        throw new RuntimeException("Invalid map field number: " + number);
+        throw new RuntimeException(
+            "Invalid map field number: " + number);
     }
   }
-
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.TableProto
-        .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+    return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.Table.class,
-            com.google.bigtable.admin.v2.Table.Builder.class);
+            com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Possible timestamp granularities to use when keeping multiple versions
    * of data in a table.
@@ -87,10 +67,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * Protobuf enum {@code google.bigtable.admin.v2.Table.TimestampGranularity}
    */
-  public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageEnum {
+  public enum TimestampGranularity
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -100,8 +79,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     TIMESTAMP_GRANULARITY_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -113,8 +90,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE ; /** - * - * *
      * The user did not specify a granularity. Should not be returned.
      * When specified during table creation, MILLIS will be used.
@@ -124,8 +99,6 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE
      */
     public static final int TIMESTAMP_GRANULARITY_UNSPECIFIED_VALUE = 0;
     /**
-     *
-     *
      * 
      * The table keeps data versioned at a granularity of 1ms.
      * 
@@ -134,6 +107,7 @@ public enum TimestampGranularity implements com.google.protobuf.ProtocolMessageE */ public static final int MILLIS_VALUE = 1; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -158,12 +132,9 @@ public static TimestampGranularity valueOf(int value) { */ public static TimestampGranularity forNumber(int value) { switch (value) { - case 0: - return TIMESTAMP_GRANULARITY_UNSPECIFIED; - case 1: - return MILLIS; - default: - return null; + case 0: return TIMESTAMP_GRANULARITY_UNSPECIFIED; + case 1: return MILLIS; + default: return null; } } @@ -171,28 +142,28 @@ public static TimestampGranularity forNumber(int value) { internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + TimestampGranularity> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public TimestampGranularity findValueByNumber(int number) { + return TimestampGranularity.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public TimestampGranularity findValueByNumber(int number) { - return TimestampGranularity.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(0); } @@ -201,7 +172,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static TimestampGranularity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -219,18 +191,15 @@ private TimestampGranularity(int value) { } /** - * - * *
    * Defines a view over a table's fields.
    * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.View} */ - public enum View implements com.google.protobuf.ProtocolMessageEnum { + public enum View + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -239,8 +208,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ VIEW_UNSPECIFIED(0), /** - * - * *
      * Only populates `name`.
      * 
@@ -249,8 +216,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ NAME_ONLY(1), /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -259,8 +224,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ SCHEMA_VIEW(2), /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -270,8 +233,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     REPLICATION_VIEW(3),
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -280,8 +241,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ ENCRYPTION_VIEW(5), /** - * - * *
      * Populates all fields.
      * 
@@ -293,8 +252,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Uses the default view for each method as documented in its request.
      * 
@@ -303,8 +260,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Only populates `name`.
      * 
@@ -313,8 +268,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NAME_ONLY_VALUE = 1; /** - * - * *
      * Only populates `name` and fields related to the table's schema.
      * 
@@ -323,8 +276,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SCHEMA_VIEW_VALUE = 2; /** - * - * *
      * Only populates `name` and fields related to the table's replication
      * state.
@@ -334,8 +285,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REPLICATION_VIEW_VALUE = 3;
     /**
-     *
-     *
      * 
      * Only populates `name` and fields related to the table's encryption state.
      * 
@@ -344,8 +293,6 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ENCRYPTION_VIEW_VALUE = 5; /** - * - * *
      * Populates all fields.
      * 
@@ -354,6 +301,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -378,55 +326,52 @@ public static View valueOf(int value) { */ public static View forNumber(int value) { switch (value) { - case 0: - return VIEW_UNSPECIFIED; - case 1: - return NAME_ONLY; - case 2: - return SCHEMA_VIEW; - case 3: - return REPLICATION_VIEW; - case 5: - return ENCRYPTION_VIEW; - case 4: - return FULL; - default: - return null; + case 0: return VIEW_UNSPECIFIED; + case 1: return NAME_ONLY; + case 2: return SCHEMA_VIEW; + case 3: return REPLICATION_VIEW; + case 5: return ENCRYPTION_VIEW; + case 4: return FULL; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + View> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public View findValueByNumber(int number) { + return View.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public View findValueByNumber(int number) { - return View.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.bigtable.admin.v2.Table.getDescriptor().getEnumTypes().get(1); } private static final View[] VALUES = values(); - public static View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static View valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -443,43 +388,30 @@ private View(int value) { // @@protoc_insertion_point(enum_scope:google.bigtable.admin.v2.Table.View) } - public interface ClusterStateOrBuilder - extends + public interface ClusterStateOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Table.ClusterState) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ int getReplicationStateValue(); /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -488,14 +420,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List getEncryptionInfoList(); + java.util.List + getEncryptionInfoList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -504,14 +433,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -520,14 +445,10 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getEncryptionInfoCount(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -536,15 +457,11 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - java.util.List + java.util.List getEncryptionInfoOrBuilderList(); /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -553,31 +470,27 @@ public interface ClusterStateOrBuilder
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder(int index); + com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( + int index); } /** - * - * *
    * The state of a table's data in a particular cluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class ClusterState extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class ClusterState extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.Table.ClusterState) ClusterStateOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ClusterState.newBuilder() to construct. private ClusterState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ClusterState() { replicationState_ = 0; encryptionInfo_ = java.util.Collections.emptyList(); @@ -585,38 +498,34 @@ private ClusterState() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ClusterState(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } /** - * - * *
      * Table replication states.
      * 
* * Protobuf enum {@code google.bigtable.admin.v2.Table.ClusterState.ReplicationState} */ - public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum { + public enum ReplicationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The replication state of the table is unknown in this cluster.
        * 
@@ -625,8 +534,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ STATE_NOT_KNOWN(0), /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -637,8 +544,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       INITIALIZING(1),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -648,8 +553,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       PLANNED_MAINTENANCE(2),
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -659,8 +562,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       UNPLANNED_MAINTENANCE(3),
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -671,8 +572,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       READY(4),
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -686,8 +585,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
       ;
 
       /**
-       *
-       *
        * 
        * The replication state of the table is unknown in this cluster.
        * 
@@ -696,8 +593,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum */ public static final int STATE_NOT_KNOWN_VALUE = 0; /** - * - * *
        * The cluster was recently created, and the table must finish copying
        * over pre-existing data from other clusters before it can begin
@@ -708,8 +603,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int INITIALIZING_VALUE = 1;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to planned internal maintenance.
@@ -719,8 +612,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int PLANNED_MAINTENANCE_VALUE = 2;
       /**
-       *
-       *
        * 
        * The table is temporarily unable to serve Data API requests from this
        * cluster due to unplanned or emergency maintenance.
@@ -730,8 +621,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int UNPLANNED_MAINTENANCE_VALUE = 3;
       /**
-       *
-       *
        * 
        * The table can serve Data API requests from this cluster. Depending on
        * replication delay, reads may not immediately reflect the state of the
@@ -742,8 +631,6 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_VALUE = 4;
       /**
-       *
-       *
        * 
        * The table is fully created and ready for use after a restore, and is
        * being optimized for performance. When optimizations are complete, the
@@ -754,6 +641,7 @@ public enum ReplicationState implements com.google.protobuf.ProtocolMessageEnum
        */
       public static final int READY_OPTIMIZING_VALUE = 5;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -778,20 +666,13 @@ public static ReplicationState valueOf(int value) {
        */
       public static ReplicationState forNumber(int value) {
         switch (value) {
-          case 0:
-            return STATE_NOT_KNOWN;
-          case 1:
-            return INITIALIZING;
-          case 2:
-            return PLANNED_MAINTENANCE;
-          case 3:
-            return UNPLANNED_MAINTENANCE;
-          case 4:
-            return READY;
-          case 5:
-            return READY_OPTIMIZING;
-          default:
-            return null;
+          case 0: return STATE_NOT_KNOWN;
+          case 1: return INITIALIZING;
+          case 2: return PLANNED_MAINTENANCE;
+          case 3: return UNPLANNED_MAINTENANCE;
+          case 4: return READY;
+          case 5: return READY_OPTIMIZING;
+          default: return null;
         }
       }
 
@@ -799,31 +680,29 @@ public static ReplicationState forNumber(int value) {
           internalGetValueMap() {
         return internalValueMap;
       }
+      private static final com.google.protobuf.Internal.EnumLiteMap<
+          ReplicationState> internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public ReplicationState findValueByNumber(int number) {
+                return ReplicationState.forNumber(number);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap
-          internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public ReplicationState findValueByNumber(int number) {
-                  return ReplicationState.forNumber(number);
-                }
-              };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor()
-            .getEnumTypes()
-            .get(0);
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return com.google.bigtable.admin.v2.Table.ClusterState.getDescriptor().getEnumTypes().get(0);
       }
 
       private static final ReplicationState[] VALUES = values();
@@ -831,7 +710,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
       public static ReplicationState valueOf(
           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
         if (desc.getType() != getDescriptor()) {
-          throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
         }
         if (desc.getIndex() == -1) {
           return UNRECOGNIZED;
@@ -851,52 +731,33 @@ private ReplicationState(int value) {
     public static final int REPLICATION_STATE_FIELD_NUMBER = 1;
     private int replicationState_ = 0;
     /**
-     *
-     *
      * 
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
      * Output only. The state of replication for the table in this cluster.
      * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } public static final int ENCRYPTION_INFO_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List encryptionInfo_; /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -905,17 +766,13 @@ public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getRepli
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public java.util.List getEncryptionInfoList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -924,18 +781,14 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.List + public java.util.List getEncryptionInfoOrBuilderList() { return encryptionInfo_; } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -944,17 +797,13 @@ public java.util.List getEncryption
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public int getEncryptionInfoCount() { return encryptionInfo_.size(); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -963,17 +812,13 @@ public int getEncryptionInfoCount() {
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { return encryptionInfo_.get(index); } /** - * - * *
      * Output only. The encryption information for the table in this cluster.
      * If the encryption key protecting this resource is customer managed, then
@@ -982,9 +827,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
      * changes propagate from Cloud KMS.
      * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( @@ -993,7 +836,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1005,10 +847,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { output.writeEnum(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { @@ -1023,13 +864,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (replicationState_ - != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, replicationState_); + if (replicationState_ != com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.STATE_NOT_KNOWN.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, replicationState_); } for (int i = 0; i < encryptionInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, encryptionInfo_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, encryptionInfo_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1039,16 +880,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table.ClusterState)) { return super.equals(obj); } - com.google.bigtable.admin.v2.Table.ClusterState other = - (com.google.bigtable.admin.v2.Table.ClusterState) obj; + com.google.bigtable.admin.v2.Table.ClusterState other = (com.google.bigtable.admin.v2.Table.ClusterState) obj; if (replicationState_ != other.replicationState_) return false; - if (!getEncryptionInfoList().equals(other.getEncryptionInfoList())) return false; + if (!getEncryptionInfoList() + .equals(other.getEncryptionInfoList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1072,93 +913,89 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState 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.Table.ClusterState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table.ClusterState parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table.ClusterState parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table.ClusterState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1168,41 +1005,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * The state of a table's data in a particular cluster.
      * 
* * Protobuf type {@code google.bigtable.admin.v2.Table.ClusterState} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Table.ClusterState) com.google.bigtable.admin.v2.Table.ClusterStateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.Table.ClusterState.class, - com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); + com.google.bigtable.admin.v2.Table.ClusterState.class, com.google.bigtable.admin.v2.Table.ClusterState.Builder.class); } // Construct using com.google.bigtable.admin.v2.Table.ClusterState.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1219,9 +1054,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; } @java.lang.Override @@ -1240,18 +1075,14 @@ public com.google.bigtable.admin.v2.Table.ClusterState build() { @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState buildPartial() { - com.google.bigtable.admin.v2.Table.ClusterState result = - new com.google.bigtable.admin.v2.Table.ClusterState(this); + com.google.bigtable.admin.v2.Table.ClusterState result = new com.google.bigtable.admin.v2.Table.ClusterState(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.admin.v2.Table.ClusterState result) { + private void buildPartialRepeatedFields(com.google.bigtable.admin.v2.Table.ClusterState result) { if (encryptionInfoBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { encryptionInfo_ = java.util.Collections.unmodifiableList(encryptionInfo_); @@ -1274,41 +1105,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table.ClusterState resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.Table.ClusterState) { - return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState) other); + return mergeFrom((com.google.bigtable.admin.v2.Table.ClusterState)other); } else { super.mergeFrom(other); return this; @@ -1316,8 +1144,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) { - if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()) return this; if (other.replicationState_ != 0) { setReplicationStateValue(other.getReplicationStateValue()); } @@ -1339,10 +1166,9 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table.ClusterState other) encryptionInfoBuilder_ = null; encryptionInfo_ = other.encryptionInfo_; bitField0_ = (bitField0_ & ~0x00000002); - encryptionInfoBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEncryptionInfoFieldBuilder() - : null; + encryptionInfoBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEncryptionInfoFieldBuilder() : null; } else { encryptionInfoBuilder_.addAllMessages(other.encryptionInfo_); } @@ -1374,32 +1200,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - replicationState_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.bigtable.admin.v2.EncryptionInfo m = - input.readMessage( - com.google.bigtable.admin.v2.EncryptionInfo.parser(), extensionRegistry); - if (encryptionInfoBuilder_ == null) { - ensureEncryptionInfoIsMutable(); - encryptionInfo_.add(m); - } else { - encryptionInfoBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + replicationState_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.bigtable.admin.v2.EncryptionInfo m = + input.readMessage( + com.google.bigtable.admin.v2.EncryptionInfo.parser(), + extensionRegistry); + if (encryptionInfoBuilder_ == null) { + ensureEncryptionInfoIsMutable(); + encryptionInfo_.add(m); + } else { + encryptionInfoBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1409,38 +1233,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int replicationState_ = 0; /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for replicationState. */ - @java.lang.Override - public int getReplicationStateValue() { + @java.lang.Override public int getReplicationStateValue() { return replicationState_; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for replicationState to set. * @return This builder for chaining. */ @@ -1451,44 +1263,28 @@ public Builder setReplicationStateValue(int value) { return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The replicationState. */ @java.lang.Override - public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState - getReplicationState() { - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber( - replicationState_); - return result == null - ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED - : result; + public com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState getReplicationState() { + com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState result = com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.forNumber(replicationState_); + return result == null ? com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState.UNRECOGNIZED : result; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The replicationState to set. * @return This builder for chaining. */ - public Builder setReplicationState( - com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { + public Builder setReplicationState(com.google.bigtable.admin.v2.Table.ClusterState.ReplicationState value) { if (value == null) { throw new NullPointerException(); } @@ -1498,16 +1294,11 @@ public Builder setReplicationState( return this; } /** - * - * *
        * Output only. The state of replication for the table in this cluster.
        * 
* - * - * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.Table.ClusterState.ReplicationState replication_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearReplicationState() { @@ -1518,25 +1309,18 @@ public Builder clearReplicationState() { } private java.util.List encryptionInfo_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEncryptionInfoIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - encryptionInfo_ = - new java.util.ArrayList(encryptionInfo_); + encryptionInfo_ = new java.util.ArrayList(encryptionInfo_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> - encryptionInfoBuilder_; + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> encryptionInfoBuilder_; /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1545,9 +1329,7 @@ private void ensureEncryptionInfoIsMutable() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public java.util.List getEncryptionInfoList() { if (encryptionInfoBuilder_ == null) { @@ -1557,8 +1339,6 @@ public java.util.List getEncryption } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1567,9 +1347,7 @@ public java.util.List getEncryption
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public int getEncryptionInfoCount() { if (encryptionInfoBuilder_ == null) { @@ -1579,8 +1357,6 @@ public int getEncryptionInfoCount() { } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1589,9 +1365,7 @@ public int getEncryptionInfoCount() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1601,8 +1375,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index) } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1611,9 +1383,7 @@ public com.google.bigtable.admin.v2.EncryptionInfo getEncryptionInfo(int index)
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1630,8 +1400,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1640,9 +1408,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1656,8 +1422,6 @@ public Builder setEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1666,9 +1430,7 @@ public Builder setEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo value) { if (encryptionInfoBuilder_ == null) { @@ -1684,8 +1446,6 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1694,9 +1454,7 @@ public Builder addEncryptionInfo(com.google.bigtable.admin.v2.EncryptionInfo val
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo value) { @@ -1713,8 +1471,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1723,9 +1479,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1739,8 +1493,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1749,9 +1501,7 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addEncryptionInfo( int index, com.google.bigtable.admin.v2.EncryptionInfo.Builder builderForValue) { @@ -1765,8 +1515,6 @@ public Builder addEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1775,15 +1523,14 @@ public Builder addEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder addAllEncryptionInfo( java.lang.Iterable values) { if (encryptionInfoBuilder_ == null) { ensureEncryptionInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, encryptionInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, encryptionInfo_); onChanged(); } else { encryptionInfoBuilder_.addAllMessages(values); @@ -1791,8 +1538,6 @@ public Builder addAllEncryptionInfo( return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1801,9 +1546,7 @@ public Builder addAllEncryptionInfo(
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEncryptionInfo() { if (encryptionInfoBuilder_ == null) { @@ -1816,8 +1559,6 @@ public Builder clearEncryptionInfo() { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1826,9 +1567,7 @@ public Builder clearEncryptionInfo() {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder removeEncryptionInfo(int index) { if (encryptionInfoBuilder_ == null) { @@ -1841,8 +1580,6 @@ public Builder removeEncryptionInfo(int index) { return this; } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1851,17 +1588,13 @@ public Builder removeEncryptionInfo(int index) {
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuilder( int index) { return getEncryptionInfoFieldBuilder().getBuilder(index); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1870,21 +1603,16 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder getEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder( int index) { if (encryptionInfoBuilder_ == null) { - return encryptionInfo_.get(index); - } else { + return encryptionInfo_.get(index); } else { return encryptionInfoBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1893,12 +1621,10 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoOrBuilderList() { + public java.util.List + getEncryptionInfoOrBuilderList() { if (encryptionInfoBuilder_ != null) { return encryptionInfoBuilder_.getMessageOrBuilderList(); } else { @@ -1906,8 +1632,6 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB } } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1916,17 +1640,13 @@ public com.google.bigtable.admin.v2.EncryptionInfoOrBuilder getEncryptionInfoOrB
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder() { - return getEncryptionInfoFieldBuilder() - .addBuilder(com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1935,18 +1655,14 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuilder( int index) { - return getEncryptionInfoFieldBuilder() - .addBuilder(index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); + return getEncryptionInfoFieldBuilder().addBuilder( + index, com.google.bigtable.admin.v2.EncryptionInfo.getDefaultInstance()); } /** - * - * *
        * Output only. The encryption information for the table in this cluster.
        * If the encryption key protecting this resource is customer managed, then
@@ -1955,26 +1671,18 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil
        * changes propagate from Cloud KMS.
        * 
* - * - * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * repeated .google.bigtable.admin.v2.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public java.util.List - getEncryptionInfoBuilderList() { + public java.util.List + getEncryptionInfoBuilderList() { return getEncryptionInfoFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder> getEncryptionInfoFieldBuilder() { if (encryptionInfoBuilder_ == null) { - encryptionInfoBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.admin.v2.EncryptionInfo, - com.google.bigtable.admin.v2.EncryptionInfo.Builder, - com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( + encryptionInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.admin.v2.EncryptionInfo, com.google.bigtable.admin.v2.EncryptionInfo.Builder, com.google.bigtable.admin.v2.EncryptionInfoOrBuilder>( encryptionInfo_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), @@ -1983,7 +1691,6 @@ public com.google.bigtable.admin.v2.EncryptionInfo.Builder addEncryptionInfoBuil } return encryptionInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1996,12 +1703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Table.ClusterState) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Table.ClusterState) private static final com.google.bigtable.admin.v2.Table.ClusterState DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Table.ClusterState(); } @@ -2010,28 +1717,27 @@ public static com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ClusterState parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ClusterState parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2046,15 +1752,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2062,7 +1766,6 @@ public com.google.bigtable.admin.v2.Table.ClusterState getDefaultInstanceForType
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2071,15 +1774,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -2087,15 +1789,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2104,43 +1807,32 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int CLUSTER_STATES_FIELD_NUMBER = 2; - private static final class ClusterStatesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> defaultEntry = com.google.protobuf.MapEntry - . - newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.Table.ClusterState.getDefaultInstance()); } - @SuppressWarnings("serial") private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - internalGetClusterStates() { + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; + private com.google.protobuf.MapField + internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( ClusterStatesDefaultEntryHolder.defaultEntry); } return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2149,27 +1841,23 @@ public int getClusterStatesCount() {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().getMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2178,18 +1866,13 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getMap(); } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2198,25 +1881,20 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -2225,16 +1903,12 @@ public boolean containsClusterStates(java.lang.String key) {
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); if (!map.containsKey(key)) { @@ -2244,40 +1918,32 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3; - private static final class ColumnFamiliesDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - defaultEntry = + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.bigtable.admin.v2.TableProto - .internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); + .newDefaultInstance( + com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.bigtable.admin.v2.ColumnFamily.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; private com.google.protobuf.MapField - columnFamilies_; - - private com.google.protobuf.MapField - internalGetColumnFamilies() { + internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( ColumnFamiliesDefaultEntryHolder.defaultEntry); } return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2286,22 +1952,20 @@ public int getColumnFamiliesCount() {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public boolean containsColumnFamilies(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsColumnFamilies(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetColumnFamilies().getMap().containsKey(key);
   }
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getColumnFamilies() {
+  public java.util.Map getColumnFamilies() {
     return getColumnFamiliesMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2310,13 +1974,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public java.util.Map
-      getColumnFamiliesMap() {
+  public java.util.Map getColumnFamiliesMap() {
     return internalGetColumnFamilies().getMap();
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2325,20 +1986,17 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+  public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -2347,10 +2005,9 @@ public boolean containsColumnFamilies(java.lang.String key) {
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   @java.lang.Override
-  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetColumnFamilies().getMap();
     if (!map.containsKey(key)) {
@@ -2362,8 +2019,6 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
   public static final int GRANULARITY_FIELD_NUMBER = 4;
   private int granularity_ = 0;
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -2371,19 +2026,13 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.l
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -2391,35 +2040,23 @@ public int getGranularityValue() {
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ - @java.lang.Override - public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } public static final int RESTORE_INFO_FIELD_NUMBER = 6; private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ @java.lang.Override @@ -2427,49 +2064,34 @@ public boolean hasRestoreInfo() { return restoreInfo_ != null; } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } public static final int CHANGE_STREAM_CONFIG_FIELD_NUMBER = 8; private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2477,7 +2099,6 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ @java.lang.Override @@ -2485,8 +2106,6 @@ public boolean hasChangeStreamConfig() { return changeStreamConfig_ != null; } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2494,18 +2113,13 @@ public boolean hasChangeStreamConfig() {
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ @java.lang.Override public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -2516,16 +2130,12 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() {
    */
   @java.lang.Override
   public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
-    return changeStreamConfig_ == null
-        ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-        : changeStreamConfig_;
+    return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
   }
 
   public static final int DELETION_PROTECTION_FIELD_NUMBER = 9;
   private boolean deletionProtection_ = false;
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -2538,7 +2148,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamC
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -2547,7 +2156,6 @@ public boolean getDeletionProtection() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2559,17 +2167,24 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetClusterStates(), ClusterStatesDefaultEntryHolder.defaultEntry, 2); - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetColumnFamilies(), ColumnFamiliesDefaultEntryHolder.defaultEntry, 3); - if (granularity_ - != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED - .getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetClusterStates(), + ClusterStatesDefaultEntryHolder.defaultEntry, + 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetColumnFamilies(), + ColumnFamiliesDefaultEntryHolder.defaultEntry, + 3); + if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { output.writeEnum(4, granularity_); } if (restoreInfo_ != null) { @@ -2593,42 +2208,41 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - for (java.util.Map.Entry - entry : internalGetClusterStates().getMap().entrySet()) { - com.google.protobuf.MapEntry< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates__ = - ClusterStatesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, clusterStates__); - } - for (java.util.Map.Entry entry : - internalGetColumnFamilies().getMap().entrySet()) { + for (java.util.Map.Entry entry + : internalGetClusterStates().getMap().entrySet()) { + com.google.protobuf.MapEntry + clusterStates__ = ClusterStatesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, clusterStates__); + } + for (java.util.Map.Entry entry + : internalGetColumnFamilies().getMap().entrySet()) { com.google.protobuf.MapEntry - columnFamilies__ = - ColumnFamiliesDefaultEntryHolder.defaultEntry - .newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, columnFamilies__); - } - if (granularity_ - != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, granularity_); + columnFamilies__ = ColumnFamiliesDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, columnFamilies__); + } + if (granularity_ != com.google.bigtable.admin.v2.Table.TimestampGranularity.TIMESTAMP_GRANULARITY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, granularity_); } if (restoreInfo_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getRestoreInfo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getRestoreInfo()); } if (changeStreamConfig_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getChangeStreamConfig()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getChangeStreamConfig()); } if (deletionProtection_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, deletionProtection_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(9, deletionProtection_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2638,26 +2252,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.Table)) { return super.equals(obj); } com.google.bigtable.admin.v2.Table other = (com.google.bigtable.admin.v2.Table) obj; - if (!getName().equals(other.getName())) return false; - if (!internalGetClusterStates().equals(other.internalGetClusterStates())) return false; - if (!internalGetColumnFamilies().equals(other.internalGetColumnFamilies())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!internalGetClusterStates().equals( + other.internalGetClusterStates())) return false; + if (!internalGetColumnFamilies().equals( + other.internalGetColumnFamilies())) return false; if (granularity_ != other.granularity_) return false; if (hasRestoreInfo() != other.hasRestoreInfo()) return false; if (hasRestoreInfo()) { - if (!getRestoreInfo().equals(other.getRestoreInfo())) return false; + if (!getRestoreInfo() + .equals(other.getRestoreInfo())) return false; } if (hasChangeStreamConfig() != other.hasChangeStreamConfig()) return false; if (hasChangeStreamConfig()) { - if (!getChangeStreamConfig().equals(other.getChangeStreamConfig())) return false; + if (!getChangeStreamConfig() + .equals(other.getChangeStreamConfig())) return false; } - if (getDeletionProtection() != other.getDeletionProtection()) return false; + if (getDeletionProtection() + != other.getDeletionProtection()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2690,109 +2310,106 @@ public int hashCode() { hash = (53 * hash) + getChangeStreamConfig().hashCode(); } hash = (37 * hash) + DELETION_PROTECTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDeletionProtection()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDeletionProtection()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.admin.v2.Table parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.Table parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.Table parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.admin.v2.Table parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table 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.Table parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.Table parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.Table parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.Table parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.Table parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.Table prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A collection of user data indexed by row, column, and timestamp.
    * Each table is served using the resources of its parent cluster.
@@ -2800,56 +2417,59 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.Table}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.Table)
       com.google.bigtable.admin.v2.TableOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetClusterStates();
         case 3:
           return internalGetColumnFamilies();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+    protected com.google.protobuf.MapField internalGetMutableMapField(
+        int number) {
       switch (number) {
         case 2:
           return internalGetMutableClusterStates();
         case 3:
           return internalGetMutableColumnFamilies();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.Table.class,
-              com.google.bigtable.admin.v2.Table.Builder.class);
+              com.google.bigtable.admin.v2.Table.class, com.google.bigtable.admin.v2.Table.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.Table.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2873,9 +2493,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.TableProto
-          .internal_static_google_bigtable_admin_v2_Table_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.TableProto.internal_static_google_bigtable_admin_v2_Table_descriptor;
     }
 
     @java.lang.Override
@@ -2895,9 +2515,7 @@ public com.google.bigtable.admin.v2.Table build() {
     @java.lang.Override
     public com.google.bigtable.admin.v2.Table buildPartial() {
       com.google.bigtable.admin.v2.Table result = new com.google.bigtable.admin.v2.Table(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -2919,14 +2537,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
         result.granularity_ = granularity_;
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
-        result.restoreInfo_ =
-            restoreInfoBuilder_ == null ? restoreInfo_ : restoreInfoBuilder_.build();
+        result.restoreInfo_ = restoreInfoBuilder_ == null
+            ? restoreInfo_
+            : restoreInfoBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.changeStreamConfig_ =
-            changeStreamConfigBuilder_ == null
-                ? changeStreamConfig_
-                : changeStreamConfigBuilder_.build();
+        result.changeStreamConfig_ = changeStreamConfigBuilder_ == null
+            ? changeStreamConfig_
+            : changeStreamConfigBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
         result.deletionProtection_ = deletionProtection_;
@@ -2937,39 +2555,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.Table result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.Table) {
-        return mergeFrom((com.google.bigtable.admin.v2.Table) other);
+        return mergeFrom((com.google.bigtable.admin.v2.Table)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2983,9 +2600,11 @@ public Builder mergeFrom(com.google.bigtable.admin.v2.Table other) {
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableClusterStates().mergeFrom(other.internalGetClusterStates());
+      internalGetMutableClusterStates().mergeFrom(
+          other.internalGetClusterStates());
       bitField0_ |= 0x00000002;
-      internalGetMutableColumnFamilies().mergeFrom(other.internalGetColumnFamilies());
+      internalGetMutableColumnFamilies().mergeFrom(
+          other.internalGetColumnFamilies());
       bitField0_ |= 0x00000004;
       if (other.granularity_ != 0) {
         setGranularityValue(other.getGranularityValue());
@@ -3025,72 +2644,59 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState>
-                    clusterStates__ =
-                        input.readMessage(
-                            ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableClusterStates()
-                    .getMutableMap()
-                    .put(clusterStates__.getKey(), clusterStates__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.bigtable.admin.v2.ColumnFamily>
-                    columnFamilies__ =
-                        input.readMessage(
-                            ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableColumnFamilies()
-                    .getMutableMap()
-                    .put(columnFamilies__.getKey(), columnFamilies__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                granularity_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 50:
-              {
-                input.readMessage(getRestoreInfoFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000010;
-                break;
-              } // case 50
-            case 66:
-              {
-                input.readMessage(
-                    getChangeStreamConfigFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 66
-            case 72:
-              {
-                deletionProtection_ = input.readBool();
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 72
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              clusterStates__ = input.readMessage(
+                  ClusterStatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableClusterStates().getMutableMap().put(
+                  clusterStates__.getKey(), clusterStates__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              com.google.protobuf.MapEntry
+              columnFamilies__ = input.readMessage(
+                  ColumnFamiliesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableColumnFamilies().getMutableMap().put(
+                  columnFamilies__.getKey(), columnFamilies__.getValue());
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              granularity_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 50: {
+              input.readMessage(
+                  getRestoreInfoFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000010;
+              break;
+            } // case 50
+            case 66: {
+              input.readMessage(
+                  getChangeStreamConfigFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 66
+            case 72: {
+              deletionProtection_ = input.readBool();
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 72
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3100,13 +2706,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3114,13 +2717,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3129,8 +2732,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3138,14 +2739,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3153,8 +2755,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3162,22 +2762,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3185,7 +2781,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -3195,8 +2790,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique name of the table. Values are of the form
      * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -3204,14 +2797,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -3220,11 +2811,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> - clusterStates_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> clusterStates_; + private com.google.protobuf.MapField internalGetClusterStates() { if (clusterStates_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3232,13 +2820,11 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } return clusterStates_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.Table.ClusterState> + private com.google.protobuf.MapField internalGetMutableClusterStates() { if (clusterStates_ == null) { - clusterStates_ = - com.google.protobuf.MapField.newMapField(ClusterStatesDefaultEntryHolder.defaultEntry); + clusterStates_ = com.google.protobuf.MapField.newMapField( + ClusterStatesDefaultEntryHolder.defaultEntry); } if (!clusterStates_.isMutable()) { clusterStates_ = clusterStates_.copy(); @@ -3247,13 +2833,10 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { onChanged(); return clusterStates_; } - public int getClusterStatesCount() { return internalGetClusterStates().getMap().size(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3262,27 +2845,23 @@ public int getClusterStatesCount() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public boolean containsClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + public boolean containsClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } return internalGetClusterStates().getMap().containsKey(key); } - /** Use {@link #getClusterStatesMap()} instead. */ + /** + * Use {@link #getClusterStatesMap()} instead. + */ @java.lang.Override @java.lang.Deprecated - public java.util.Map - getClusterStates() { + public java.util.Map getClusterStates() { return getClusterStatesMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3291,18 +2870,13 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public java.util.Map - getClusterStatesMap() { + public java.util.Map getClusterStatesMap() { return internalGetClusterStates().getMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3311,25 +2885,20 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override - public /* nullable */ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( + public /* nullable */ +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } +com.google.bigtable.admin.v2.Table.ClusterState defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3338,16 +2907,12 @@ public boolean containsClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } + if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetClusterStates().getMap(); if (!map.containsKey(key)) { @@ -3355,15 +2920,13 @@ public com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( } return map.get(key); } - public Builder clearClusterStates() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableClusterStates().getMutableMap().clear(); + internalGetMutableClusterStates().getMutableMap() + .clear(); return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3372,18 +2935,18 @@ public Builder clearClusterStates() {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder removeClusterStates(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableClusterStates().getMutableMap().remove(key); + public Builder removeClusterStates( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableClusterStates().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated public java.util.Map getMutableClusterStates() { @@ -3391,8 +2954,6 @@ public Builder removeClusterStates(java.lang.String key) { return internalGetMutableClusterStates().getMutableMap(); } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3401,25 +2962,19 @@ public Builder removeClusterStates(java.lang.String key) {
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putClusterStates( - java.lang.String key, com.google.bigtable.admin.v2.Table.ClusterState value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableClusterStates().getMutableMap().put(key, value); + java.lang.String key, + com.google.bigtable.admin.v2.Table.ClusterState value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableClusterStates().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Output only. Map from cluster ID to per-cluster table state.
      * If it could not be determined whether or not the table has data in a
@@ -3428,23 +2983,19 @@ public Builder putClusterStates(
      * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
      * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder putAllClusterStates( java.util.Map values) { - internalGetMutableClusterStates().getMutableMap().putAll(values); + internalGetMutableClusterStates().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> - columnFamilies_; - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> columnFamilies_; + private com.google.protobuf.MapField internalGetColumnFamilies() { if (columnFamilies_ == null) { return com.google.protobuf.MapField.emptyMapField( @@ -3452,13 +3003,11 @@ public Builder putAllClusterStates( } return columnFamilies_; } - - private com.google.protobuf.MapField< - java.lang.String, com.google.bigtable.admin.v2.ColumnFamily> + private com.google.protobuf.MapField internalGetMutableColumnFamilies() { if (columnFamilies_ == null) { - columnFamilies_ = - com.google.protobuf.MapField.newMapField(ColumnFamiliesDefaultEntryHolder.defaultEntry); + columnFamilies_ = com.google.protobuf.MapField.newMapField( + ColumnFamiliesDefaultEntryHolder.defaultEntry); } if (!columnFamilies_.isMutable()) { columnFamilies_ = columnFamilies_.copy(); @@ -3467,13 +3016,10 @@ public Builder putAllClusterStates( onChanged(); return columnFamilies_; } - public int getColumnFamiliesCount() { return internalGetColumnFamilies().getMap().size(); } /** - * - * *
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3482,22 +3028,20 @@ public int getColumnFamiliesCount() {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public boolean containsColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetColumnFamilies().getMap().containsKey(key);
     }
-    /** Use {@link #getColumnFamiliesMap()} instead. */
+    /**
+     * Use {@link #getColumnFamiliesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getColumnFamilies() {
+    public java.util.Map getColumnFamilies() {
       return getColumnFamiliesMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3506,13 +3050,10 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public java.util.Map
-        getColumnFamiliesMap() {
+    public java.util.Map getColumnFamiliesMap() {
       return internalGetColumnFamilies().getMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3521,20 +3062,17 @@ public boolean containsColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+    public /* nullable */
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+com.google.bigtable.admin.v2.ColumnFamily defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3545,9 +3083,7 @@ public boolean containsColumnFamilies(java.lang.String key) {
     @java.lang.Override
     public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
         java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+      if (key == null) { throw new NullPointerException("map key"); }
       java.util.Map map =
           internalGetColumnFamilies().getMap();
       if (!map.containsKey(key)) {
@@ -3555,15 +3091,13 @@ public com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
       }
       return map.get(key);
     }
-
     public Builder clearColumnFamilies() {
       bitField0_ = (bitField0_ & ~0x00000004);
-      internalGetMutableColumnFamilies().getMutableMap().clear();
+      internalGetMutableColumnFamilies().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3571,14 +3105,16 @@ public Builder clearColumnFamilies() {
      *
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
-    public Builder removeColumnFamilies(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableColumnFamilies().getMutableMap().remove(key);
+    public Builder removeColumnFamilies(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableColumnFamilies().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableColumnFamilies() {
@@ -3586,8 +3122,6 @@ public Builder removeColumnFamilies(java.lang.String key) {
       return internalGetMutableColumnFamilies().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3596,20 +3130,16 @@ public Builder removeColumnFamilies(java.lang.String key) {
      * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
      */
     public Builder putColumnFamilies(
-        java.lang.String key, com.google.bigtable.admin.v2.ColumnFamily value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableColumnFamilies().getMutableMap().put(key, value);
+        java.lang.String key,
+        com.google.bigtable.admin.v2.ColumnFamily value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableColumnFamilies().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * The column families configured for this table, mapped by column family ID.
      * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -3619,15 +3149,14 @@ public Builder putColumnFamilies(
      */
     public Builder putAllColumnFamilies(
         java.util.Map values) {
-      internalGetMutableColumnFamilies().getMutableMap().putAll(values);
+      internalGetMutableColumnFamilies().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
 
     private int granularity_ = 0;
     /**
-     *
-     *
      * 
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3635,19 +3164,13 @@ public Builder putAllColumnFamilies(
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ - @java.lang.Override - public int getGranularityValue() { + @java.lang.Override public int getGranularityValue() { return granularity_; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3655,10 +3178,7 @@ public int getGranularityValue() {
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The enum numeric value on the wire for granularity to set. * @return This builder for chaining. */ @@ -3669,8 +3189,6 @@ public Builder setGranularityValue(int value) { return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3678,23 +3196,15 @@ public Builder setGranularityValue(int value) {
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ @java.lang.Override public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity() { - com.google.bigtable.admin.v2.Table.TimestampGranularity result = - com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); - return result == null - ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED - : result; + com.google.bigtable.admin.v2.Table.TimestampGranularity result = com.google.bigtable.admin.v2.Table.TimestampGranularity.forNumber(granularity_); + return result == null ? com.google.bigtable.admin.v2.Table.TimestampGranularity.UNRECOGNIZED : result; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3702,10 +3212,7 @@ public com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity()
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @param value The granularity to set. * @return This builder for chaining. */ @@ -3719,8 +3226,6 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul return this; } /** - * - * *
      * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
      * in this table. Timestamps not matching the granularity will be rejected. If
@@ -3728,10 +3233,7 @@ public Builder setGranularity(com.google.bigtable.admin.v2.Table.TimestampGranul
      * `SCHEMA_VIEW`, `FULL`.
      * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return This builder for chaining. */ public Builder clearGranularity() { @@ -3743,61 +3245,42 @@ public Builder clearGranularity() { private com.google.bigtable.admin.v2.RestoreInfo restoreInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> - restoreInfoBuilder_; + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> restoreInfoBuilder_; /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ public boolean hasRestoreInfo() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ public com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo() { if (restoreInfoBuilder_ == null) { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } else { return restoreInfoBuilder_.getMessage(); } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { @@ -3813,16 +3296,12 @@ public Builder setRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setRestoreInfo( com.google.bigtable.admin.v2.RestoreInfo.Builder builderForValue) { @@ -3836,22 +3315,18 @@ public Builder setRestoreInfo( return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) { if (restoreInfoBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && restoreInfo_ != null - && restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + restoreInfo_ != null && + restoreInfo_ != com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance()) { getRestoreInfoBuilder().mergeFrom(value); } else { restoreInfo_ = value; @@ -3864,16 +3339,12 @@ public Builder mergeRestoreInfo(com.google.bigtable.admin.v2.RestoreInfo value) return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearRestoreInfo() { bitField0_ = (bitField0_ & ~0x00000010); @@ -3886,16 +3357,12 @@ public Builder clearRestoreInfo() { return this; } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() { bitField0_ |= 0x00000010; @@ -3903,50 +3370,38 @@ public com.google.bigtable.admin.v2.RestoreInfo.Builder getRestoreInfoBuilder() return getRestoreInfoFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder() { if (restoreInfoBuilder_ != null) { return restoreInfoBuilder_.getMessageOrBuilder(); } else { - return restoreInfo_ == null - ? com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() - : restoreInfo_; + return restoreInfo_ == null ? + com.google.bigtable.admin.v2.RestoreInfo.getDefaultInstance() : restoreInfo_; } } /** - * - * *
      * Output only. If this table was restored from another data source (e.g. a
      * backup), this field will be populated with information about the restore.
      * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder> + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder> getRestoreInfoFieldBuilder() { if (restoreInfoBuilder_ == null) { - restoreInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.RestoreInfo, - com.google.bigtable.admin.v2.RestoreInfo.Builder, - com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( - getRestoreInfo(), getParentForChildren(), isClean()); + restoreInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.RestoreInfo, com.google.bigtable.admin.v2.RestoreInfo.Builder, com.google.bigtable.admin.v2.RestoreInfoOrBuilder>( + getRestoreInfo(), + getParentForChildren(), + isClean()); restoreInfo_ = null; } return restoreInfoBuilder_; @@ -3954,13 +3409,8 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder private com.google.bigtable.admin.v2.ChangeStreamConfig changeStreamConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.ChangeStreamConfig, - com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, - com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> - changeStreamConfigBuilder_; + com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> changeStreamConfigBuilder_; /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3968,15 +3418,12 @@ public com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ public boolean hasChangeStreamConfig() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -3984,21 +3431,16 @@ public boolean hasChangeStreamConfig() {
      * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ public com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig() { if (changeStreamConfigBuilder_ == null) { - return changeStreamConfig_ == null - ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() - : changeStreamConfig_; + return changeStreamConfig_ == null ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_; } else { return changeStreamConfigBuilder_.getMessage(); } } /** - * - * *
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4021,8 +3463,6 @@ public Builder setChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamCo
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4043,8 +3483,6 @@ public Builder setChangeStreamConfig(
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4055,10 +3493,9 @@ public Builder setChangeStreamConfig(
      */
     public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStreamConfig value) {
       if (changeStreamConfigBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && changeStreamConfig_ != null
-            && changeStreamConfig_
-                != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          changeStreamConfig_ != null &&
+          changeStreamConfig_ != com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()) {
           getChangeStreamConfigBuilder().mergeFrom(value);
         } else {
           changeStreamConfig_ = value;
@@ -4071,8 +3508,6 @@ public Builder mergeChangeStreamConfig(com.google.bigtable.admin.v2.ChangeStream
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4092,8 +3527,6 @@ public Builder clearChangeStreamConfig() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4108,8 +3541,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
       return getChangeStreamConfigFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4118,19 +3549,15 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      *
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
-    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder
-        getChangeStreamConfigOrBuilder() {
+    public com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder() {
       if (changeStreamConfigBuilder_ != null) {
         return changeStreamConfigBuilder_.getMessageOrBuilder();
       } else {
-        return changeStreamConfig_ == null
-            ? com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance()
-            : changeStreamConfig_;
+        return changeStreamConfig_ == null ?
+            com.google.bigtable.admin.v2.ChangeStreamConfig.getDefaultInstance() : changeStreamConfig_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, enable the change stream on this table.
      * Otherwise, the change stream is disabled and the change stream is not
@@ -4140,26 +3567,21 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.ChangeStreamConfig,
-            com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-            com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>
+        com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder> 
         getChangeStreamConfigFieldBuilder() {
       if (changeStreamConfigBuilder_ == null) {
-        changeStreamConfigBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.admin.v2.ChangeStreamConfig,
-                com.google.bigtable.admin.v2.ChangeStreamConfig.Builder,
-                com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
-                getChangeStreamConfig(), getParentForChildren(), isClean());
+        changeStreamConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.admin.v2.ChangeStreamConfig, com.google.bigtable.admin.v2.ChangeStreamConfig.Builder, com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder>(
+                getChangeStreamConfig(),
+                getParentForChildren(),
+                isClean());
         changeStreamConfig_ = null;
       }
       return changeStreamConfigBuilder_;
     }
 
-    private boolean deletionProtection_;
+    private boolean deletionProtection_ ;
     /**
-     *
-     *
      * 
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4172,7 +3594,6 @@ public com.google.bigtable.admin.v2.ChangeStreamConfig.Builder getChangeStreamCo
      * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ @java.lang.Override @@ -4180,8 +3601,6 @@ public boolean getDeletionProtection() { return deletionProtection_; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4194,7 +3613,6 @@ public boolean getDeletionProtection() {
      * 
* * bool deletion_protection = 9; - * * @param value The deletionProtection to set. * @return This builder for chaining. */ @@ -4206,8 +3624,6 @@ public Builder setDeletionProtection(boolean value) { return this; } /** - * - * *
      * Set to true to make the table protected against data loss. i.e. deleting
      * the following resources through Admin APIs are prohibited:
@@ -4220,7 +3636,6 @@ public Builder setDeletionProtection(boolean value) {
      * 
* * bool deletion_protection = 9; - * * @return This builder for chaining. */ public Builder clearDeletionProtection() { @@ -4229,9 +3644,9 @@ public Builder clearDeletionProtection() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4241,12 +3656,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.Table) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.Table) private static final com.google.bigtable.admin.v2.Table DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.Table(); } @@ -4255,27 +3670,27 @@ public static com.google.bigtable.admin.v2.Table getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser
PARSER = - new com.google.protobuf.AbstractParser
() { - @java.lang.Override - public Table parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser
() { + @java.lang.Override + public Table parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser
parser() { return PARSER; @@ -4290,4 +3705,6 @@ public com.google.protobuf.Parser
getParserForType() { public com.google.bigtable.admin.v2.Table getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableName.java diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java index 952e777dec..f54dc3b7e2 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto package com.google.bigtable.admin.v2; -public interface TableOrBuilder - extends +public interface TableOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.Table) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -33,13 +15,10 @@ public interface TableOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique name of the table. Values are of the form
    * `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
@@ -47,14 +26,12 @@ public interface TableOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -63,14 +40,10 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ int getClusterStatesCount(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -79,18 +52,17 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + boolean containsClusterStates( + java.lang.String key); + /** + * Use {@link #getClusterStatesMap()} instead. */ - boolean containsClusterStates(java.lang.String key); - /** Use {@link #getClusterStatesMap()} instead. */ @java.lang.Deprecated java.util.Map - getClusterStates(); + getClusterStates(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -99,15 +71,11 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ java.util.Map - getClusterStatesMap(); + getClusterStatesMap(); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -116,18 +84,14 @@ public interface TableOrBuilder
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( +com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault( java.lang.String key, /* nullable */ - com.google.bigtable.admin.v2.Table.ClusterState defaultValue); +com.google.bigtable.admin.v2.Table.ClusterState defaultValue); /** - * - * *
    * Output only. Map from cluster ID to per-cluster table state.
    * If it could not be determined whether or not the table has data in a
@@ -136,15 +100,12 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
    * 
* - * - * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow(java.lang.String key); + com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrThrow( + java.lang.String key); /** - * - * *
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -154,8 +115,6 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    */
   int getColumnFamiliesCount();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -163,13 +122,15 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  boolean containsColumnFamilies(java.lang.String key);
-  /** Use {@link #getColumnFamiliesMap()} instead. */
+  boolean containsColumnFamilies(
+      java.lang.String key);
+  /**
+   * Use {@link #getColumnFamiliesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getColumnFamilies();
+  java.util.Map
+  getColumnFamilies();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -177,10 +138,9 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  java.util.Map getColumnFamiliesMap();
+  java.util.Map
+  getColumnFamiliesMap();
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -189,13 +149,11 @@ com.google.bigtable.admin.v2.Table.ClusterState getClusterStatesOrDefault(
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
   /* nullable */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
+com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.bigtable.admin.v2.ColumnFamily defaultValue);
+com.google.bigtable.admin.v2.ColumnFamily defaultValue);
   /**
-   *
-   *
    * 
    * The column families configured for this table, mapped by column family ID.
    * Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
@@ -203,11 +161,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    *
    * map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;
    */
-  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(java.lang.String key);
+  com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -215,16 +172,11 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The enum numeric value on the wire for granularity. */ int getGranularityValue(); /** - * - * *
    * Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
    * in this table. Timestamps not matching the granularity will be rejected. If
@@ -232,61 +184,42 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * `SCHEMA_VIEW`, `FULL`.
    * 
* - * - * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * - * + * .google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4 [(.google.api.field_behavior) = IMMUTABLE]; * @return The granularity. */ com.google.bigtable.admin.v2.Table.TimestampGranularity getGranularity(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the restoreInfo field is set. */ boolean hasRestoreInfo(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The restoreInfo. */ com.google.bigtable.admin.v2.RestoreInfo getRestoreInfo(); /** - * - * *
    * Output only. If this table was restored from another data source (e.g. a
    * backup), this field will be populated with information about the restore.
    * 
* - * - * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.bigtable.admin.v2.RestoreInfo restore_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.bigtable.admin.v2.RestoreInfoOrBuilder getRestoreInfoOrBuilder(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -294,13 +227,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return Whether the changeStreamConfig field is set. */ boolean hasChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -308,13 +238,10 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * .google.bigtable.admin.v2.ChangeStreamConfig change_stream_config = 8; - * * @return The changeStreamConfig. */ com.google.bigtable.admin.v2.ChangeStreamConfig getChangeStreamConfig(); /** - * - * *
    * If specified, enable the change stream on this table.
    * Otherwise, the change stream is disabled and the change stream is not
@@ -326,8 +253,6 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
   com.google.bigtable.admin.v2.ChangeStreamConfigOrBuilder getChangeStreamConfigOrBuilder();
 
   /**
-   *
-   *
    * 
    * Set to true to make the table protected against data loss. i.e. deleting
    * the following resources through Admin APIs are prohibited:
@@ -340,7 +265,6 @@ com.google.bigtable.admin.v2.ColumnFamily getColumnFamiliesOrDefault(
    * 
* * bool deletion_protection = 9; - * * @return The deletionProtection. */ boolean getDeletionProtection(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java new file mode 100644 index 0000000000..3a7caea122 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java @@ -0,0 +1,311 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/table.proto + +package com.google.bigtable.admin.v2; + +public final class TableProto { + private TableProto() {} + 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_RestoreInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Snapshot_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_Backup_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n$google/bigtable/admin/v2/table.proto\022\030" + + "google.bigtable.admin.v2\032\037google/api/fie" + + "ld_behavior.proto\032\031google/api/resource.p" + + "roto\032\036google/protobuf/duration.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\027google/rp" + + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" + + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" + + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." + + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" + + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" + + "tention_period\030\001 \001(\0132\031.google.protobuf.D" + + "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" + + "er_states\030\002 \003(\01322.google.bigtable.admin." + + "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" + + "umn_families\030\003 \003(\01323.google.bigtable.adm" + + "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" + + "larity\030\004 \001(\01624.google.bigtable.admin.v2." + + "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" + + "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" + + "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" + + "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" + + "ngeStreamConfig\022\033\n\023deletion_protection\030\t" + + " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" + + "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" + + "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" + + "\017encryption_info\030\002 \003(\0132(.google.bigtable" + + ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" + + "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" + + "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" + + "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" + + "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" + + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" + + "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" + + "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" + + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" + + "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" + + "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" + + "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" + + "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" + + "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" + + ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" + + "e\0226projects/{project}/instances/{instanc" + + "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" + + "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" + + "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" + + "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" + + "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" + + ".bigtable.admin.v2.GcRule.IntersectionH\000" + + "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." + + "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" + + "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" + + "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" + + "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" + + "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" + + "e.bigtable.admin.v2.EncryptionInfo.Encry" + + "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" + + "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" + + "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" + + "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" + + "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" + + "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" + + "ANAGED_ENCRYPTION\020\002\"\344\003\n\010Snapshot\022\014\n\004name" + + "\030\001 \001(\t\022;\n\014source_table\030\002 \001(\0132\037.google.bi" + + "gtable.admin.v2.TableB\004\342A\001\003\022\035\n\017data_size" + + "_bytes\030\003 \001(\003B\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132" + + "\032.google.protobuf.TimestampB\004\342A\001\003\022/\n\013del" + + "ete_time\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mp\022=\n\005state\030\006 \001(\0162(.google.bigtable.admi" + + "n.v2.Snapshot.StateB\004\342A\001\003\022\023\n\013description" + + "\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" + + "READY\020\001\022\014\n\010CREATING\020\002:{\352Ax\n%bigtableadmi" + + "n.googleapis.com/Snapshot\022Oprojects/{pro" + + "ject}/instances/{instance}/clusters/{clu" + + "ster}/snapshots/{snapshot}\"\301\004\n\006Backup\022\014\n" + + "\004name\030\001 \001(\t\022\033\n\014source_table\030\002 \001(\tB\005\342A\002\005\002" + + "\022\033\n\rsource_backup\030\n \001(\tB\004\342A\001\003\0225\n\013expire_" + + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" + + "\342A\001\002\0224\n\nstart_time\030\004 \001(\0132\032.google.protob" + + "uf.TimestampB\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\004\342A\001\003\022\030\n\nsize_b" + + "ytes\030\006 \001(\003B\004\342A\001\003\022;\n\005state\030\007 \001(\0162&.google" + + ".bigtable.admin.v2.Backup.StateB\004\342A\001\003\022G\n" + + "\017encryption_info\030\t \001(\0132(.google.bigtable" + + ".admin.v2.EncryptionInfoB\004\342A\001\003\"7\n\005State\022" + + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005" + + "READY\020\002:u\352Ar\n#bigtableadmin.googleapis.c" + + "om/Backup\022Kprojects/{project}/instances/" + + "{instance}/clusters/{cluster}/backups/{b" + + "ackup}\"\305\001\n\nBackupInfo\022\024\n\006backup\030\001 \001(\tB\004\342" + + "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\022\032\n\014source_" + + "table\030\004 \001(\tB\004\342A\001\003\022\033\n\rsource_backup\030\n \001(\t" + + "B\004\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_S" + + "OURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n" + + "\034com.google.bigtable.admin.v2B\nTableProt" + + "oP\001Z=google.golang.org/genproto/googleap" + + "is/bigtable/admin/v2;admin\252\002\036Google.Clou" + + "d.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigta" + + "ble\\Admin\\V2\352\002\"Google::Cloud::Bigtable::" + + "Admin::V2\352A\246\001\n(cloudkms.googleapis.com/C" + + "ryptoKeyVersion\022zprojects/{project}/loca" + + "tions/{location}/keyRings/{key_ring}/cry" + + "ptoKeys/{crypto_key}/cryptoKeyVersions/{" + + "crypto_key_version}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, + new java.lang.String[] { "SourceType", "BackupInfo", "SourceInfo", }); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, + new java.lang.String[] { "RetentionPeriod", }); + internal_static_google_bigtable_admin_v2_Table_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_descriptor, + new java.lang.String[] { "Name", "ClusterStates", "ColumnFamilies", "Granularity", "RestoreInfo", "ChangeStreamConfig", "DeletionProtection", }); + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, + new java.lang.String[] { "ReplicationState", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = + internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, + new java.lang.String[] { "GcRule", }); + internal_static_google_bigtable_admin_v2_GcRule_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_descriptor, + new java.lang.String[] { "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", }); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = + internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, + new java.lang.String[] { "Rules", }); + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, + new java.lang.String[] { "EncryptionType", "EncryptionStatus", "KmsKeyVersion", }); + internal_static_google_bigtable_admin_v2_Snapshot_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Snapshot_descriptor, + new java.lang.String[] { "Name", "SourceTable", "DataSizeBytes", "CreateTime", "DeleteTime", "State", "Description", }); + internal_static_google_bigtable_admin_v2_Backup_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_Backup_descriptor, + new java.lang.String[] { "Name", "SourceTable", "SourceBackup", "ExpireTime", "StartTime", "EndTime", "SizeBytes", "State", "EncryptionInfo", }); + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, + new java.lang.String[] { "Backup", "StartTime", "EndTime", "SourceTable", "SourceBackup", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java index e6d3833181..b89f2a8591 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 operation returned by
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
  */
-public final class UndeleteTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
     UndeleteTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableMetadata.newBuilder() to construct.
   private UndeleteTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-            com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -132,14 +106,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -147,8 +118,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -163,14 +132,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -178,14 +144,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -193,8 +156,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
@@ -207,7 +168,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -242,10 +203,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,22 +218,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableMetadata other = - (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; + com.google.bigtable.admin.v2.UndeleteTableMetadata other = (com.google.bigtable.admin.v2.UndeleteTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -299,103 +264,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata 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.UndeleteTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable].
@@ -403,32 +363,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableMetadata)
       com.google.bigtable.admin.v2.UndeleteTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.class,
-              com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableMetadata.class, com.google.bigtable.admin.v2.UndeleteTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -469,11 +430,8 @@ public com.google.bigtable.admin.v2.UndeleteTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableMetadata result =
-          new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableMetadata result = new com.google.bigtable.admin.v2.UndeleteTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -484,10 +442,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -495,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableMetadata re
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -574,31 +534,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -608,25 +568,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -635,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -657,35 +613,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -695,21 +644,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being restored.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -719,33 +664,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -756,8 +692,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -778,15 +712,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -797,8 +730,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -807,9 +738,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -822,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -841,8 +770,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -855,8 +782,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -867,12 +792,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -880,17 +804,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -898,33 +819,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -935,8 +847,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -957,15 +867,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -976,8 +885,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -986,9 +893,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1001,8 +908,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1020,8 +925,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1034,8 +937,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1046,12 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was cancelled.
      * 
@@ -1059,24 +959,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1086,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableMetadata) private static final com.google.bigtable.admin.v2.UndeleteTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableMetadata(); } @@ -1100,27 +997,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java index 09dbb2a7fc..1931771c95 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 UndeleteTableMetadataOrBuilder - extends +public interface UndeleteTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the table being restored.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -84,32 +55,24 @@ public interface UndeleteTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was cancelled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java similarity index 64% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java index d12f04e9b0..7b5a197882 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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; /** - * - * *
  * Request message for
  * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -28,58 +11,50 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
  */
-public final class UndeleteTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UndeleteTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UndeleteTableRequest)
     UndeleteTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UndeleteTableRequest.newBuilder() to construct.
   private UndeleteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UndeleteTableRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UndeleteTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-            com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to be restored.
    * Values are of the form
    * `projects/{project}/instances/{instance}/tables/{table}`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,7 +96,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -135,7 +107,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -159,15 +132,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UndeleteTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UndeleteTableRequest other = - (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; + com.google.bigtable.admin.v2.UndeleteTableRequest other = (com.google.bigtable.admin.v2.UndeleteTableRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -187,103 +160,98 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest 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.UndeleteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UndeleteTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UndeleteTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UndeleteTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for
    * [google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable]
@@ -291,32 +259,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UndeleteTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UndeleteTableRequest)
       com.google.bigtable.admin.v2.UndeleteTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UndeleteTableRequest.class,
-              com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UndeleteTableRequest.class, com.google.bigtable.admin.v2.UndeleteTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UndeleteTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -326,9 +295,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UndeleteTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -347,11 +316,8 @@ public com.google.bigtable.admin.v2.UndeleteTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UndeleteTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UndeleteTableRequest result =
-          new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UndeleteTableRequest result = new com.google.bigtable.admin.v2.UndeleteTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -367,39 +333,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UndeleteTableRequest res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UndeleteTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UndeleteTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -407,8 +372,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UndeleteTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UndeleteTableRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -440,19 +404,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -462,29 +424,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -493,25 +450,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -519,43 +473,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -565,34 +508,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the table to be restored.
      * Values are of the form
      * `projects/{project}/instances/{instance}/tables/{table}`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -602,12 +539,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UndeleteTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UndeleteTableRequest) private static final com.google.bigtable.admin.v2.UndeleteTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UndeleteTableRequest(); } @@ -616,27 +553,27 @@ public static com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UndeleteTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UndeleteTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -651,4 +588,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UndeleteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java new file mode 100644 index 0000000000..fbdabddecd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java @@ -0,0 +1,33 @@ +// 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 UndeleteTableRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The unique name of the table to be restored.
+   * Values are of the form
+   * `projects/{project}/instances/{instance}/tables/{table}`.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java similarity index 63% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java index 14334318c9..d1b7f52540 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadata.java @@ -1,67 +1,48 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ -public final class UpdateAppProfileMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) UpdateAppProfileMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileMetadata.newBuilder() to construct. private UpdateAppProfileMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileMetadata() {} + private UpdateAppProfileMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,13 +73,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = - (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; + com.google.bigtable.admin.v2.UpdateAppProfileMetadata other = (com.google.bigtable.admin.v2.UpdateAppProfileMetadata) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -116,136 +97,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata 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.UpdateAppProfileMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { + public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileMetadata) com.google.bigtable.admin.v2.UpdateAppProfileMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, - com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata.class, com.google.bigtable.admin.v2.UpdateAppProfileMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -253,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; } @java.lang.Override @@ -274,8 +250,7 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = - new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); + com.google.bigtable.admin.v2.UpdateAppProfileMetadata result = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(this); onBuilt(); return result; } @@ -284,39 +259,38 @@ public com.google.bigtable.admin.v2.UpdateAppProfileMetadata buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileMetadata)other); } else { super.mergeFrom(other); return this; @@ -324,8 +298,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -352,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -368,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -380,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileMetadata) private static final com.google.bigtable.admin.v2.UpdateAppProfileMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileMetadata(); } @@ -394,27 +366,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -429,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java new file mode 100644 index 0000000000..738fbc3ccd --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/admin/v2/bigtable_instance_admin.proto + +package com.google.bigtable.admin.v2; + +public interface UpdateAppProfileMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java similarity index 65% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java index 0dcc0dca8d..e86d4c0715 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequest.java @@ -1,78 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * Request message for BigtableInstanceAdmin.UpdateAppProfile.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ -public final class UpdateAppProfileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateAppProfileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) UpdateAppProfileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateAppProfileRequest.newBuilder() to construct. private UpdateAppProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateAppProfileRequest() {} + private UpdateAppProfileRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateAppProfileRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } public static final int APP_PROFILE_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.AppProfile appProfile_; /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ @java.lang.Override @@ -80,55 +57,38 @@ public boolean hasAppProfile() { return appProfile_ != null; } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfile getAppProfile() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -136,16 +96,12 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -153,15 +109,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -171,14 +124,11 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { public static final int IGNORE_WARNINGS_FIELD_NUMBER = 3; private boolean ignoreWarnings_ = false; /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -187,7 +137,6 @@ public boolean getIgnoreWarnings() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +148,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (appProfile_ != null) { output.writeMessage(1, getAppProfile()); } @@ -219,13 +169,16 @@ public int getSerializedSize() { size = 0; if (appProfile_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getAppProfile()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getAppProfile()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } if (ignoreWarnings_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, ignoreWarnings_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, ignoreWarnings_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -235,23 +188,25 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateAppProfileRequest other = - (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; + com.google.bigtable.admin.v2.UpdateAppProfileRequest other = (com.google.bigtable.admin.v2.UpdateAppProfileRequest) obj; if (hasAppProfile() != other.hasAppProfile()) return false; if (hasAppProfile()) { - if (!getAppProfile().equals(other.getAppProfile())) return false; + if (!getAppProfile() + .equals(other.getAppProfile())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } - if (getIgnoreWarnings() != other.getIgnoreWarnings()) return false; + if (getIgnoreWarnings() + != other.getIgnoreWarnings()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -272,142 +227,139 @@ public int hashCode() { hash = (53 * hash) + getUpdateMask().hashCode(); } hash = (37 * hash) + IGNORE_WARNINGS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIgnoreWarnings()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIgnoreWarnings()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest 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.UpdateAppProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateAppProfileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateAppProfileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableInstanceAdmin.UpdateAppProfile.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateAppProfileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateAppProfileRequest) com.google.bigtable.admin.v2.UpdateAppProfileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, - com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); + com.google.bigtable.admin.v2.UpdateAppProfileRequest.class, com.google.bigtable.admin.v2.UpdateAppProfileRequest.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateAppProfileRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -427,9 +379,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; } @java.lang.Override @@ -448,11 +400,8 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { - com.google.bigtable.admin.v2.UpdateAppProfileRequest result = - new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateAppProfileRequest result = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -460,10 +409,14 @@ public com.google.bigtable.admin.v2.UpdateAppProfileRequest buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.appProfile_ = appProfileBuilder_ == null ? appProfile_ : appProfileBuilder_.build(); + result.appProfile_ = appProfileBuilder_ == null + ? appProfile_ + : appProfileBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build(); + result.updateMask_ = updateMaskBuilder_ == null + ? updateMask_ + : updateMaskBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { result.ignoreWarnings_ = ignoreWarnings_; @@ -474,39 +427,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateAppProfileRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateAppProfileRequest) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateAppProfileRequest)other); } else { super.mergeFrom(other); return this; @@ -514,8 +466,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateAppProfileRequest other) { - if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateAppProfileRequest.getDefaultInstance()) return this; if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } @@ -551,31 +502,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getAppProfileFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - ignoreWarnings_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getAppProfileFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getUpdateMaskFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + ignoreWarnings_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -585,63 +536,43 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.AppProfile appProfile_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> - appProfileBuilder_; + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> appProfileBuilder_; /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ public boolean hasAppProfile() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ public com.google.bigtable.admin.v2.AppProfile getAppProfile() { if (appProfileBuilder_ == null) { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } else { return appProfileBuilder_.getMessage(); } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { @@ -657,17 +588,14 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { + public Builder setAppProfile( + com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); } else { @@ -678,21 +606,17 @@ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder bui return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && appProfile_ != null - && appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + appProfile_ != null && + appProfile_ != com.google.bigtable.admin.v2.AppProfile.getDefaultInstance()) { getAppProfileBuilder().mergeFrom(value); } else { appProfile_ = value; @@ -705,15 +629,11 @@ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearAppProfile() { bitField0_ = (bitField0_ & ~0x00000001); @@ -726,15 +646,11 @@ public Builder clearAppProfile() { return this; } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { bitField0_ |= 0x00000001; @@ -742,48 +658,36 @@ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { return getAppProfileFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() { if (appProfileBuilder_ != null) { return appProfileBuilder_.getMessageOrBuilder(); } else { - return appProfile_ == null - ? com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() - : appProfile_; + return appProfile_ == null ? + com.google.bigtable.admin.v2.AppProfile.getDefaultInstance() : appProfile_; } } /** - * - * *
      * Required. The app profile which will (partially) replace the current value.
      * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder> + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder> getAppProfileFieldBuilder() { if (appProfileBuilder_ == null) { - appProfileBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.AppProfile, - com.google.bigtable.admin.v2.AppProfile.Builder, - com.google.bigtable.admin.v2.AppProfileOrBuilder>( - getAppProfile(), getParentForChildren(), isClean()); + appProfileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.AppProfile, com.google.bigtable.admin.v2.AppProfile.Builder, com.google.bigtable.admin.v2.AppProfileOrBuilder>( + getAppProfile(), + getParentForChildren(), + isClean()); appProfile_ = null; } return appProfileBuilder_; @@ -791,58 +695,42 @@ public com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder() private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -858,17 +746,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -879,21 +765,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -906,15 +789,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -927,15 +807,12 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -943,63 +820,50 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The subset of app profile fields which should be replaced.
      * If unset, all fields will be replaced.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - private boolean ignoreWarnings_; + private boolean ignoreWarnings_ ; /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ @java.lang.Override @@ -1007,14 +871,11 @@ public boolean getIgnoreWarnings() { return ignoreWarnings_; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @param value The ignoreWarnings to set. * @return This builder for chaining. */ @@ -1026,14 +887,11 @@ public Builder setIgnoreWarnings(boolean value) { return this; } /** - * - * *
      * If true, ignore safety checks when updating the app profile.
      * 
* * bool ignore_warnings = 3; - * * @return This builder for chaining. */ public Builder clearIgnoreWarnings() { @@ -1042,9 +900,9 @@ public Builder clearIgnoreWarnings() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1054,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateAppProfileRequest) private static final com.google.bigtable.admin.v2.UpdateAppProfileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateAppProfileRequest(); } @@ -1068,27 +926,27 @@ public static com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateAppProfileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateAppProfileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1103,4 +961,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateAppProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java index 33ac1d9e05..e42fa05591 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileRequestOrBuilder.java @@ -1,119 +1,75 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface UpdateAppProfileRequestOrBuilder - extends +public interface UpdateAppProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the appProfile field is set. */ boolean hasAppProfile(); /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The appProfile. */ com.google.bigtable.admin.v2.AppProfile getAppProfile(); /** - * - * *
    * Required. The app profile which will (partially) replace the current value.
    * 
* - * - * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.AppProfile app_profile = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.AppProfileOrBuilder getAppProfileOrBuilder(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The subset of app profile fields which should be replaced.
    * If unset, all fields will be replaced.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); /** - * - * *
    * If true, ignore safety checks when updating the app profile.
    * 
* * bool ignore_warnings = 3; - * * @return The ignoreWarnings. */ boolean getIgnoreWarnings(); diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java similarity index 72% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java index 77e28b229a..6df3b230a3 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
@@ -28,44 +11,41 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateBackupRequest}
  */
-public final class UpdateBackupRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateBackupRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateBackupRequest)
     UpdateBackupRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateBackupRequest.newBuilder() to construct.
   private UpdateBackupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateBackupRequest() {}
+  private UpdateBackupRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateBackupRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateBackupRequest.class,
-            com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
+            com.google.bigtable.admin.v2.UpdateBackupRequest.class, com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
   }
 
   public static final int BACKUP_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.Backup backup_;
   /**
-   *
-   *
    * 
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -74,9 +54,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ @java.lang.Override @@ -84,8 +62,6 @@ public boolean hasBackup() { return backup_ != null; } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -94,9 +70,7 @@ public boolean hasBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ @java.lang.Override @@ -104,8 +78,6 @@ public com.google.bigtable.admin.v2.Backup getBackup() { return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -114,8 +86,7 @@ public com.google.bigtable.admin.v2.Backup getBackup() {
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { @@ -125,8 +96,6 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -135,9 +104,7 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -145,8 +112,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -155,9 +120,7 @@ public boolean hasUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -165,8 +128,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -175,8 +136,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -184,7 +144,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -196,7 +155,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (backup_ != null) { output.writeMessage(1, getBackup()); } @@ -213,10 +173,12 @@ public int getSerializedSize() { size = 0; if (backup_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBackup()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getBackup()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -226,21 +188,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateBackupRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateBackupRequest other = - (com.google.bigtable.admin.v2.UpdateBackupRequest) obj; + com.google.bigtable.admin.v2.UpdateBackupRequest other = (com.google.bigtable.admin.v2.UpdateBackupRequest) obj; if (hasBackup() != other.hasBackup()) return false; if (hasBackup()) { - if (!getBackup().equals(other.getBackup())) return false; + if (!getBackup() + .equals(other.getBackup())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -266,104 +229,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateBackupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateBackupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateBackupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup].
@@ -371,32 +329,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateBackupRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateBackupRequest)
       com.google.bigtable.admin.v2.UpdateBackupRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateBackupRequest.class,
-              com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
+              com.google.bigtable.admin.v2.UpdateBackupRequest.class, com.google.bigtable.admin.v2.UpdateBackupRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateBackupRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -415,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateBackupRequest_descriptor;
     }
 
     @java.lang.Override
@@ -436,11 +395,8 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateBackupRequest result =
-          new com.google.bigtable.admin.v2.UpdateBackupRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateBackupRequest result = new com.google.bigtable.admin.v2.UpdateBackupRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -448,10 +404,14 @@ public com.google.bigtable.admin.v2.UpdateBackupRequest buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.backup_ = backupBuilder_ == null ? backup_ : backupBuilder_.build();
+        result.backup_ = backupBuilder_ == null
+            ? backup_
+            : backupBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -459,39 +419,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateBackupRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateBackupRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateBackupRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -499,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateBackupRequest other) {
-      if (other == com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateBackupRequest.getDefaultInstance()) return this;
       if (other.hasBackup()) {
         mergeBackup(other.getBackup());
       }
@@ -533,25 +491,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getBackupFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getBackupFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -561,18 +520,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Backup backup_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.Backup,
-            com.google.bigtable.admin.v2.Backup.Builder,
-            com.google.bigtable.admin.v2.BackupOrBuilder>
-        backupBuilder_;
+        com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> backupBuilder_;
     /**
-     *
-     *
      * 
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -581,17 +534,13 @@ public Builder mergeFrom(
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ public boolean hasBackup() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -600,9 +549,7 @@ public boolean hasBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ public com.google.bigtable.admin.v2.Backup getBackup() { @@ -613,8 +560,6 @@ public com.google.bigtable.admin.v2.Backup getBackup() { } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -623,8 +568,7 @@ public com.google.bigtable.admin.v2.Backup getBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { @@ -640,8 +584,6 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -650,10 +592,10 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForValue) { + public Builder setBackup( + com.google.bigtable.admin.v2.Backup.Builder builderForValue) { if (backupBuilder_ == null) { backup_ = builderForValue.build(); } else { @@ -664,8 +606,6 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -674,14 +614,13 @@ public Builder setBackup(com.google.bigtable.admin.v2.Backup.Builder builderForV
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { if (backupBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && backup_ != null - && backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + backup_ != null && + backup_ != com.google.bigtable.admin.v2.Backup.getDefaultInstance()) { getBackupBuilder().mergeFrom(value); } else { backup_ = value; @@ -694,8 +633,6 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -704,8 +641,7 @@ public Builder mergeBackup(com.google.bigtable.admin.v2.Backup value) {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearBackup() { bitField0_ = (bitField0_ & ~0x00000001); @@ -718,8 +654,6 @@ public Builder clearBackup() { return this; } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -728,8 +662,7 @@ public Builder clearBackup() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { bitField0_ |= 0x00000001; @@ -737,8 +670,6 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() { return getBackupFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -747,19 +678,17 @@ public com.google.bigtable.admin.v2.Backup.Builder getBackupBuilder() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { if (backupBuilder_ != null) { return backupBuilder_.getMessageOrBuilder(); } else { - return backup_ == null ? com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; + return backup_ == null ? + com.google.bigtable.admin.v2.Backup.getDefaultInstance() : backup_; } } /** - * - * *
      * Required. The backup to update. `backup.name`, and the fields to be updated
      * as specified by `update_mask` are required. Other fields are ignored.
@@ -768,21 +697,17 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
      *  * `backup.expire_time`.
      * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder> + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder> getBackupFieldBuilder() { if (backupBuilder_ == null) { - backupBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Backup, - com.google.bigtable.admin.v2.Backup.Builder, - com.google.bigtable.admin.v2.BackupOrBuilder>( - getBackup(), getParentForChildren(), isClean()); + backupBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Backup, com.google.bigtable.admin.v2.Backup.Builder, com.google.bigtable.admin.v2.BackupOrBuilder>( + getBackup(), + getParentForChildren(), + isClean()); backup_ = null; } return backupBuilder_; @@ -790,13 +715,8 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -805,17 +725,13 @@ public com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -824,23 +740,17 @@ public boolean hasUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -849,8 +759,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -866,8 +775,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -876,10 +783,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -890,8 +797,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -900,14 +805,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -920,8 +824,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -930,8 +832,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -944,8 +845,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -954,8 +853,7 @@ public Builder clearUpdateMask() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -963,8 +861,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -973,21 +869,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. A mask specifying which fields (e.g. `expire_time`) in the
      * Backup resource should be updated. This mask is relative to the Backup
@@ -996,28 +888,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * by clients that do not know about them.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +915,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateBackupRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateBackupRequest) private static final com.google.bigtable.admin.v2.UpdateBackupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateBackupRequest(); } @@ -1041,27 +929,27 @@ public static com.google.bigtable.admin.v2.UpdateBackupRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateBackupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateBackupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1076,4 +964,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateBackupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java index 75dd4d311c..5a6d54f91b 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateBackupRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 UpdateBackupRequestOrBuilder - extends +public interface UpdateBackupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateBackupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -34,15 +16,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the backup field is set. */ boolean hasBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -51,15 +29,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The backup. */ com.google.bigtable.admin.v2.Backup getBackup(); /** - * - * *
    * Required. The backup to update. `backup.name`, and the fields to be updated
    * as specified by `update_mask` are required. Other fields are ignored.
@@ -68,14 +42,11 @@ public interface UpdateBackupRequestOrBuilder
    *  * `backup.expire_time`.
    * 
* - * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Backup backup = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.BackupOrBuilder getBackupOrBuilder(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -84,15 +55,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -101,15 +68,11 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. A mask specifying which fields (e.g. `expire_time`) in the
    * Backup resource should be updated. This mask is relative to the Backup
@@ -118,8 +81,7 @@ public interface UpdateBackupRequestOrBuilder
    * by clients that do not know about them.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java index 8bfa1817e9..39b078378f 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateCluster.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ -public final class UpdateClusterMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateClusterMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateClusterMetadata) UpdateClusterMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateClusterMetadata.newBuilder() to construct. private UpdateClusterMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateClusterMetadata() {} + private UpdateClusterMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateClusterMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.Cluster originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
@@ -105,22 +77,17 @@ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { */ @java.lang.Override public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -128,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -143,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -159,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -174,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -189,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -203,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -235,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -251,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateClusterMetadata other = - (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; + com.google.bigtable.admin.v2.UpdateClusterMetadata other = (com.google.bigtable.admin.v2.UpdateClusterMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -300,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata 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.UpdateClusterMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateClusterMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateClusterMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateCluster.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateClusterMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateClusterMetadata) com.google.bigtable.admin.v2.UpdateClusterMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateClusterMetadata.class, - com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateClusterMetadata.class, com.google.bigtable.admin.v2.UpdateClusterMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateClusterMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -452,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; } @java.lang.Override @@ -473,11 +428,8 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateClusterMetadata result = - new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateClusterMetadata result = new com.google.bigtable.admin.v2.UpdateClusterMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -485,15 +437,19 @@ public com.google.bigtable.admin.v2.UpdateClusterMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -501,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateClusterMetadata re public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateClusterMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateClusterMetadata)other); } else { super.mergeFrom(other); return this; @@ -541,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateClusterMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateClusterMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -578,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -612,52 +568,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.Cluster originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.Cluster getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -678,8 +620,6 @@ public Builder setOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -698,8 +638,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -708,9 +646,9 @@ public Builder setOriginalRequest( */ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.Cluster.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -723,8 +661,6 @@ public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.Cluster value) return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -742,8 +678,6 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -756,8 +690,6 @@ public com.google.bigtable.admin.v2.Cluster.Builder getOriginalRequestBuilder() return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -768,14 +700,11 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.Cluster.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.Cluster.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateCluster operation.
      * 
@@ -783,17 +712,14 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder * .google.bigtable.admin.v2.Cluster original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder> + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Cluster, - com.google.bigtable.admin.v2.Cluster.Builder, - com.google.bigtable.admin.v2.ClusterOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Cluster, com.google.bigtable.admin.v2.Cluster.Builder, com.google.bigtable.admin.v2.ClusterOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -801,47 +727,34 @@ public com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -862,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -881,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -891,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -906,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -925,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -939,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -951,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -966,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -984,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1045,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1064,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1074,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1089,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1108,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1122,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1134,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1149,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1176,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateClusterMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateClusterMetadata) private static final com.google.bigtable.admin.v2.UpdateClusterMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateClusterMetadata(); } @@ -1190,27 +1060,27 @@ public static com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateClusterMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateClusterMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1225,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateClusterMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java index c1fd538f5e..97f5df8e20 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateClusterMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface UpdateClusterMetadataOrBuilder - extends +public interface UpdateClusterMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateClusterMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
* * .google.bigtable.admin.v2.Cluster original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.Cluster getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateCluster operation.
    * 
@@ -59,32 +35,24 @@ public interface UpdateClusterMetadataOrBuilder com.google.bigtable.admin.v2.ClusterOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface UpdateClusterMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java index cc61dfc4f6..c253d3060d 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadata.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; /** - * - * *
  * The metadata for the Operation returned by UpdateInstance.
  * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ -public final class UpdateInstanceMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateInstanceMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) UpdateInstanceMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateInstanceMetadata.newBuilder() to construct. private UpdateInstanceMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateInstanceMetadata() {} + private UpdateInstanceMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateInstanceMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } public static final int ORIGINAL_REQUEST_FIELD_NUMBER = 1; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ @java.lang.Override @@ -78,25 +57,18 @@ public boolean hasOriginalRequest() { return originalRequest_ != null; } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ @java.lang.Override public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
@@ -104,24 +76,18 @@ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequ * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ @java.lang.Override - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } public static final int REQUEST_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp requestTime_; /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ @java.lang.Override @@ -129,14 +95,11 @@ public boolean hasRequestTime() { return requestTime_ != null; } /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ @java.lang.Override @@ -144,8 +107,6 @@ public com.google.protobuf.Timestamp getRequestTime() { return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } /** - * - * *
    * The time at which the original request was received.
    * 
@@ -160,14 +121,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { public static final int FINISH_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp finishTime_; /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ @java.lang.Override @@ -175,14 +133,11 @@ public boolean hasFinishTime() { return finishTime_ != null; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ @java.lang.Override @@ -190,8 +145,6 @@ public com.google.protobuf.Timestamp getFinishTime() { return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
@@ -204,7 +157,6 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -216,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (originalRequest_ != null) { output.writeMessage(1, getOriginalRequest()); } @@ -236,13 +189,16 @@ public int getSerializedSize() { size = 0; if (originalRequest_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getOriginalRequest()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getOriginalRequest()); } if (requestTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRequestTime()); } if (finishTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFinishTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFinishTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -252,25 +208,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateInstanceMetadata other = - (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; + com.google.bigtable.admin.v2.UpdateInstanceMetadata other = (com.google.bigtable.admin.v2.UpdateInstanceMetadata) obj; if (hasOriginalRequest() != other.hasOriginalRequest()) return false; if (hasOriginalRequest()) { - if (!getOriginalRequest().equals(other.getOriginalRequest())) return false; + if (!getOriginalRequest() + .equals(other.getOriginalRequest())) return false; } if (hasRequestTime() != other.hasRequestTime()) return false; if (hasRequestTime()) { - if (!getRequestTime().equals(other.getRequestTime())) return false; + if (!getRequestTime() + .equals(other.getRequestTime())) return false; } if (hasFinishTime() != other.hasFinishTime()) return false; if (hasFinishTime()) { - if (!getFinishTime().equals(other.getFinishTime())) return false; + if (!getFinishTime() + .equals(other.getFinishTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -301,135 +259,131 @@ public int hashCode() { } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateInstanceMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateInstanceMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The metadata for the Operation returned by UpdateInstance.
    * 
* * Protobuf type {@code google.bigtable.admin.v2.UpdateInstanceMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateInstanceMetadata) com.google.bigtable.admin.v2.UpdateInstanceMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, - com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); + com.google.bigtable.admin.v2.UpdateInstanceMetadata.class, com.google.bigtable.admin.v2.UpdateInstanceMetadata.Builder.class); } // Construct using com.google.bigtable.admin.v2.UpdateInstanceMetadata.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -453,9 +407,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.admin.v2.BigtableInstanceAdminProto - .internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.admin.v2.BigtableInstanceAdminProto.internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; } @java.lang.Override @@ -474,11 +428,8 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata build() { @java.lang.Override public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { - com.google.bigtable.admin.v2.UpdateInstanceMetadata result = - new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.admin.v2.UpdateInstanceMetadata result = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -486,15 +437,19 @@ public com.google.bigtable.admin.v2.UpdateInstanceMetadata buildPartial() { private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.originalRequest_ = - originalRequestBuilder_ == null ? originalRequest_ : originalRequestBuilder_.build(); + result.originalRequest_ = originalRequestBuilder_ == null + ? originalRequest_ + : originalRequestBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestTime_ = - requestTimeBuilder_ == null ? requestTime_ : requestTimeBuilder_.build(); + result.requestTime_ = requestTimeBuilder_ == null + ? requestTime_ + : requestTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.finishTime_ = finishTimeBuilder_ == null ? finishTime_ : finishTimeBuilder_.build(); + result.finishTime_ = finishTimeBuilder_ == null + ? finishTime_ + : finishTimeBuilder_.build(); } } @@ -502,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateInstanceMetadata r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.admin.v2.UpdateInstanceMetadata) { - return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata) other); + return mergeFrom((com.google.bigtable.admin.v2.UpdateInstanceMetadata)other); } else { super.mergeFrom(other); return this; @@ -542,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateInstanceMetadata other) { - if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) - return this; + if (other == com.google.bigtable.admin.v2.UpdateInstanceMetadata.getDefaultInstance()) return this; if (other.hasOriginalRequest()) { mergeOriginalRequest(other.getOriginalRequest()); } @@ -579,31 +532,33 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getOriginalRequestFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRequestTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getFinishTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getOriginalRequestFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getFinishTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,60 +568,45 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.admin.v2.PartialUpdateInstanceRequest originalRequest_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> - originalRequestBuilder_; + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> originalRequestBuilder_; /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ public boolean hasOriginalRequest() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest() { if (originalRequestBuilder_ == null) { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } else { return originalRequestBuilder_.getMessage(); } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder setOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder setOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -680,8 +620,6 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -700,21 +638,17 @@ public Builder setOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public Builder mergeOriginalRequest( - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { + public Builder mergeOriginalRequest(com.google.bigtable.admin.v2.PartialUpdateInstanceRequest value) { if (originalRequestBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && originalRequest_ != null - && originalRequest_ - != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + originalRequest_ != null && + originalRequest_ != com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance()) { getOriginalRequestBuilder().mergeFrom(value); } else { originalRequest_ = value; @@ -727,8 +661,6 @@ public Builder mergeOriginalRequest( return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -746,42 +678,33 @@ public Builder clearOriginalRequest() { return this; } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder - getOriginalRequestBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder getOriginalRequestBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOriginalRequestFieldBuilder().getBuilder(); } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ - public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder - getOriginalRequestOrBuilder() { + public com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder() { if (originalRequestBuilder_ != null) { return originalRequestBuilder_.getMessageOrBuilder(); } else { - return originalRequest_ == null - ? com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() - : originalRequest_; + return originalRequest_ == null ? + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.getDefaultInstance() : originalRequest_; } } /** - * - * *
      * The request that prompted the initiation of this UpdateInstance operation.
      * 
@@ -789,17 +712,14 @@ public Builder clearOriginalRequest() { * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder> getOriginalRequestFieldBuilder() { if (originalRequestBuilder_ == null) { - originalRequestBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, - com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( - getOriginalRequest(), getParentForChildren(), isClean()); + originalRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.PartialUpdateInstanceRequest, com.google.bigtable.admin.v2.PartialUpdateInstanceRequest.Builder, com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder>( + getOriginalRequest(), + getParentForChildren(), + isClean()); originalRequest_ = null; } return originalRequestBuilder_; @@ -807,47 +727,34 @@ public Builder clearOriginalRequest() { private com.google.protobuf.Timestamp requestTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - requestTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> requestTimeBuilder_; /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ public boolean hasRequestTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ public com.google.protobuf.Timestamp getRequestTime() { if (requestTimeBuilder_ == null) { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } else { return requestTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -868,15 +775,14 @@ public Builder setRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
* * .google.protobuf.Timestamp request_time = 2; */ - public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setRequestTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (requestTimeBuilder_ == null) { requestTime_ = builderForValue.build(); } else { @@ -887,8 +793,6 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -897,9 +801,9 @@ public Builder setRequestTime(com.google.protobuf.Timestamp.Builder builderForVa */ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { if (requestTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && requestTime_ != null - && requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + requestTime_ != null && + requestTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getRequestTimeBuilder().mergeFrom(value); } else { requestTime_ = value; @@ -912,8 +816,6 @@ public Builder mergeRequestTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -931,8 +833,6 @@ public Builder clearRequestTime() { return this; } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -945,8 +845,6 @@ public com.google.protobuf.Timestamp.Builder getRequestTimeBuilder() { return getRequestTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -957,14 +855,11 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { if (requestTimeBuilder_ != null) { return requestTimeBuilder_.getMessageOrBuilder(); } else { - return requestTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : requestTime_; + return requestTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : requestTime_; } } /** - * - * *
      * The time at which the original request was received.
      * 
@@ -972,17 +867,14 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { * .google.protobuf.Timestamp request_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRequestTimeFieldBuilder() { if (requestTimeBuilder_ == null) { - requestTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getRequestTime(), getParentForChildren(), isClean()); + requestTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getRequestTime(), + getParentForChildren(), + isClean()); requestTime_ = null; } return requestTimeBuilder_; @@ -990,47 +882,34 @@ public com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder() { private com.google.protobuf.Timestamp finishTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - finishTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finishTimeBuilder_; /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ public boolean hasFinishTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ public com.google.protobuf.Timestamp getFinishTime() { if (finishTimeBuilder_ == null) { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } else { return finishTimeBuilder_.getMessage(); } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1051,15 +930,14 @@ public Builder setFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
* * .google.protobuf.Timestamp finish_time = 3; */ - public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setFinishTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (finishTimeBuilder_ == null) { finishTime_ = builderForValue.build(); } else { @@ -1070,8 +948,6 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1080,9 +956,9 @@ public Builder setFinishTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { if (finishTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && finishTime_ != null - && finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + finishTime_ != null && + finishTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getFinishTimeBuilder().mergeFrom(value); } else { finishTime_ = value; @@ -1095,8 +971,6 @@ public Builder mergeFinishTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1114,8 +988,6 @@ public Builder clearFinishTime() { return this; } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1128,8 +1000,6 @@ public com.google.protobuf.Timestamp.Builder getFinishTimeBuilder() { return getFinishTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1140,14 +1010,11 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { if (finishTimeBuilder_ != null) { return finishTimeBuilder_.getMessageOrBuilder(); } else { - return finishTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : finishTime_; + return finishTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : finishTime_; } } /** - * - * *
      * The time at which the operation failed or was completed successfully.
      * 
@@ -1155,24 +1022,21 @@ public com.google.protobuf.TimestampOrBuilder getFinishTimeOrBuilder() { * .google.protobuf.Timestamp finish_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinishTimeFieldBuilder() { if (finishTimeBuilder_ == null) { - finishTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getFinishTime(), getParentForChildren(), isClean()); + finishTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getFinishTime(), + getParentForChildren(), + isClean()); finishTime_ = null; } return finishTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1182,12 +1046,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateInstanceMetadata) private static final com.google.bigtable.admin.v2.UpdateInstanceMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateInstanceMetadata(); } @@ -1196,27 +1060,27 @@ public static com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateInstanceMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateInstanceMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,4 +1095,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateInstanceMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java index fd8944b420..b7711996fe 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateInstanceMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto package com.google.bigtable.admin.v2; -public interface UpdateInstanceMetadataOrBuilder - extends +public interface UpdateInstanceMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateInstanceMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return Whether the originalRequest field is set. */ boolean hasOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
* * .google.bigtable.admin.v2.PartialUpdateInstanceRequest original_request = 1; - * * @return The originalRequest. */ com.google.bigtable.admin.v2.PartialUpdateInstanceRequest getOriginalRequest(); /** - * - * *
    * The request that prompted the initiation of this UpdateInstance operation.
    * 
@@ -59,32 +35,24 @@ public interface UpdateInstanceMetadataOrBuilder com.google.bigtable.admin.v2.PartialUpdateInstanceRequestOrBuilder getOriginalRequestOrBuilder(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return Whether the requestTime field is set. */ boolean hasRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
* * .google.protobuf.Timestamp request_time = 2; - * * @return The requestTime. */ com.google.protobuf.Timestamp getRequestTime(); /** - * - * *
    * The time at which the original request was received.
    * 
@@ -94,32 +62,24 @@ public interface UpdateInstanceMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getRequestTimeOrBuilder(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return Whether the finishTime field is set. */ boolean hasFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
* * .google.protobuf.Timestamp finish_time = 3; - * * @return The finishTime. */ com.google.protobuf.Timestamp getFinishTime(); /** - * - * *
    * The time at which the operation failed or was completed successfully.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java similarity index 70% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java index 0a7313afbe..a2d46208c9 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadata.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 operation returned by
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -28,54 +11,48 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
  */
-public final class UpdateTableMetadata extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableMetadata)
     UpdateTableMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableMetadata.newBuilder() to construct.
   private UpdateTableMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private UpdateTableMetadata() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-            com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -84,29 +61,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -117,14 +94,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -132,14 +106,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ @java.lang.Override @@ -147,8 +118,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time at which this operation started.
    * 
@@ -163,14 +132,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -178,14 +144,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ @java.lang.Override @@ -193,8 +156,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
@@ -207,7 +168,6 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,7 +179,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -242,10 +203,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,22 +218,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableMetadata)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableMetadata other = - (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; + com.google.bigtable.admin.v2.UpdateTableMetadata other = (com.google.bigtable.admin.v2.UpdateTableMetadata) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -298,104 +263,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata 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.UpdateTableMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Metadata type for the operation returned by
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -403,32 +363,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableMetadata)
       com.google.bigtable.admin.v2.UpdateTableMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableMetadata.class,
-              com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableMetadata.class, com.google.bigtable.admin.v2.UpdateTableMetadata.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableMetadata.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +409,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableMetadata_descriptor;
     }
 
     @java.lang.Override
@@ -469,11 +430,8 @@ public com.google.bigtable.admin.v2.UpdateTableMetadata build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableMetadata buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableMetadata result =
-          new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableMetadata result = new com.google.bigtable.admin.v2.UpdateTableMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -484,10 +442,14 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null
+            ? startTime_
+            : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
     }
 
@@ -495,39 +457,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableMetadata resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableMetadata) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -535,8 +496,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableMetadata other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableMetadata.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -574,31 +534,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -608,25 +568,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -635,21 +592,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -657,35 +613,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -695,21 +644,17 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the table being updated.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -719,33 +664,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -756,8 +692,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -778,15 +712,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
* * .google.protobuf.Timestamp start_time = 2; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -797,8 +730,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -807,9 +738,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -822,8 +753,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -841,8 +770,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time at which this operation started.
      * 
@@ -855,8 +782,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which this operation started.
      * 
@@ -867,12 +792,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * The time at which this operation started.
      * 
@@ -880,17 +804,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * .google.protobuf.Timestamp start_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -898,33 +819,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -935,8 +847,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -957,15 +867,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
* * .google.protobuf.Timestamp end_time = 3; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -976,8 +885,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -986,9 +893,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1001,8 +908,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1020,8 +925,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1034,8 +937,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1046,12 +947,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * If set, the time at which this operation finished or was canceled.
      * 
@@ -1059,24 +959,21 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1086,12 +983,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableMetadata) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableMetadata) private static final com.google.bigtable.admin.v2.UpdateTableMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableMetadata(); } @@ -1100,27 +997,27 @@ public static com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1032,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java index c258b82a92..f4040a909a 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableMetadataOrBuilder.java @@ -1,80 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 UpdateTableMetadataOrBuilder - extends +public interface UpdateTableMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the table being updated.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
* * .google.protobuf.Timestamp start_time = 2; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time at which this operation started.
    * 
@@ -84,32 +55,24 @@ public interface UpdateTableMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
* * .google.protobuf.Timestamp end_time = 3; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If set, the time at which this operation finished or was canceled.
    * 
diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java similarity index 73% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java index 2b7e423d49..6364cde752 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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
  * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -28,52 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
  */
-public final class UpdateTableRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class UpdateTableRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.admin.v2.UpdateTableRequest)
     UpdateTableRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use UpdateTableRequest.newBuilder() to construct.
   private UpdateTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private UpdateTableRequest() {}
+  private UpdateTableRequest() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new UpdateTableRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.admin.v2.BigtableTableAdminProto
-        .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+    return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.admin.v2.UpdateTableRequest.class,
-            com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+            com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
   }
 
   public static final int TABLE_FIELD_NUMBER = 1;
   private com.google.bigtable.admin.v2.Table table_;
   /**
-   *
-   *
    * 
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ @java.lang.Override @@ -81,16 +59,12 @@ public boolean hasTable() { return table_ != null; } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ @java.lang.Override @@ -98,15 +72,12 @@ public com.google.bigtable.admin.v2.Table getTable() { return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { @@ -116,8 +87,6 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -133,9 +102,7 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ @java.lang.Override @@ -143,8 +110,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -160,9 +125,7 @@ public boolean hasUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ @java.lang.Override @@ -170,8 +133,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -187,8 +148,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { @@ -196,7 +156,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,7 +167,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (table_ != null) { output.writeMessage(1, getTable()); } @@ -225,10 +185,12 @@ public int getSerializedSize() { size = 0; if (table_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTable()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getTable()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -238,21 +200,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.admin.v2.UpdateTableRequest)) { return super.equals(obj); } - com.google.bigtable.admin.v2.UpdateTableRequest other = - (com.google.bigtable.admin.v2.UpdateTableRequest) obj; + com.google.bigtable.admin.v2.UpdateTableRequest other = (com.google.bigtable.admin.v2.UpdateTableRequest) obj; if (hasTable() != other.hasTable()) return false; if (hasTable()) { - if (!getTable().equals(other.getTable())) return false; + if (!getTable() + .equals(other.getTable())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -278,104 +241,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest 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.UpdateTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.admin.v2.UpdateTableRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.admin.v2.UpdateTableRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.admin.v2.UpdateTableRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request for
    * [UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable].
@@ -383,32 +341,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.admin.v2.UpdateTableRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.admin.v2.UpdateTableRequest)
       com.google.bigtable.admin.v2.UpdateTableRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.admin.v2.UpdateTableRequest.class,
-              com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
+              com.google.bigtable.admin.v2.UpdateTableRequest.class, com.google.bigtable.admin.v2.UpdateTableRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.admin.v2.UpdateTableRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -427,9 +386,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.admin.v2.BigtableTableAdminProto
-          .internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.admin.v2.BigtableTableAdminProto.internal_static_google_bigtable_admin_v2_UpdateTableRequest_descriptor;
     }
 
     @java.lang.Override
@@ -448,11 +407,8 @@ public com.google.bigtable.admin.v2.UpdateTableRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
-      com.google.bigtable.admin.v2.UpdateTableRequest result =
-          new com.google.bigtable.admin.v2.UpdateTableRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.admin.v2.UpdateTableRequest result = new com.google.bigtable.admin.v2.UpdateTableRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -460,10 +416,14 @@ public com.google.bigtable.admin.v2.UpdateTableRequest buildPartial() {
     private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.table_ = tableBuilder_ == null ? table_ : tableBuilder_.build();
+        result.table_ = tableBuilder_ == null
+            ? table_
+            : tableBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.updateMask_ = updateMaskBuilder_ == null ? updateMask_ : updateMaskBuilder_.build();
+        result.updateMask_ = updateMaskBuilder_ == null
+            ? updateMask_
+            : updateMaskBuilder_.build();
       }
     }
 
@@ -471,39 +431,38 @@ private void buildPartial0(com.google.bigtable.admin.v2.UpdateTableRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.admin.v2.UpdateTableRequest) {
-        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest) other);
+        return mergeFrom((com.google.bigtable.admin.v2.UpdateTableRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,8 +470,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.admin.v2.UpdateTableRequest other) {
-      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.admin.v2.UpdateTableRequest.getDefaultInstance()) return this;
       if (other.hasTable()) {
         mergeTable(other.getTable());
       }
@@ -545,25 +503,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getTableFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getTableFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getUpdateMaskFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -573,42 +532,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.admin.v2.Table table_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.admin.v2.Table,
-            com.google.bigtable.admin.v2.Table.Builder,
-            com.google.bigtable.admin.v2.TableOrBuilder>
-        tableBuilder_;
+        com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> tableBuilder_;
     /**
-     *
-     *
      * 
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ public boolean hasTable() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ public com.google.bigtable.admin.v2.Table getTable() { @@ -619,15 +566,12 @@ public com.google.bigtable.admin.v2.Table getTable() { } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { @@ -643,17 +587,15 @@ public Builder setTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForValue) { + public Builder setTable( + com.google.bigtable.admin.v2.Table.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); } else { @@ -664,21 +606,18 @@ public Builder setTable(com.google.bigtable.admin.v2.Table.Builder builderForVal return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { if (tableBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && table_ != null - && table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + table_ != null && + table_ != com.google.bigtable.admin.v2.Table.getDefaultInstance()) { getTableBuilder().mergeFrom(value); } else { table_ = value; @@ -691,15 +630,12 @@ public Builder mergeTable(com.google.bigtable.admin.v2.Table value) { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearTable() { bitField0_ = (bitField0_ & ~0x00000001); @@ -712,15 +648,12 @@ public Builder clearTable() { return this; } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { bitField0_ |= 0x00000001; @@ -728,46 +661,38 @@ public com.google.bigtable.admin.v2.Table.Builder getTableBuilder() { return getTableFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { - return table_ == null ? com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; + return table_ == null ? + com.google.bigtable.admin.v2.Table.getDefaultInstance() : table_; } } /** - * - * *
      * Required. The table to update.
      * The table's `name` field is used to identify the table to update.
      * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder> + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { - tableBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.admin.v2.Table, - com.google.bigtable.admin.v2.Table.Builder, - com.google.bigtable.admin.v2.TableOrBuilder>( - getTable(), getParentForChildren(), isClean()); + tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.admin.v2.Table, com.google.bigtable.admin.v2.Table.Builder, com.google.bigtable.admin.v2.TableOrBuilder>( + getTable(), + getParentForChildren(), + isClean()); table_ = null; } return tableBuilder_; @@ -775,13 +700,8 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() { private com.google.protobuf.FieldMask updateMask_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> - updateMaskBuilder_; + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> updateMaskBuilder_; /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -797,17 +717,13 @@ public com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -823,23 +739,17 @@ public boolean hasUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ public com.google.protobuf.FieldMask getUpdateMask() { if (updateMaskBuilder_ == null) { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } else { return updateMaskBuilder_.getMessage(); } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -855,8 +765,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -872,8 +781,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -889,10 +796,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); } else { @@ -903,8 +810,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -920,14 +825,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && updateMask_ != null - && updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + updateMask_ != null && + updateMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) { getUpdateMaskBuilder().mergeFrom(value); } else { updateMask_ = value; @@ -940,8 +844,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -957,8 +859,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearUpdateMask() { bitField0_ = (bitField0_ & ~0x00000002); @@ -971,8 +872,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -988,8 +887,7 @@ public Builder clearUpdateMask() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { bitField0_ |= 0x00000002; @@ -997,8 +895,6 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1014,21 +910,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { return updateMaskBuilder_.getMessageOrBuilder(); } else { - return updateMask_ == null - ? com.google.protobuf.FieldMask.getDefaultInstance() - : updateMask_; + return updateMask_ == null ? + com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } } /** - * - * *
      * Required. The list of fields to update.
      * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -1044,28 +936,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * UNIMPLEMENTED error.
      * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder> + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder> getUpdateMaskFieldBuilder() { if (updateMaskBuilder_ == null) { - updateMaskBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.FieldMask, - com.google.protobuf.FieldMask.Builder, - com.google.protobuf.FieldMaskOrBuilder>( - getUpdateMask(), getParentForChildren(), isClean()); + updateMaskBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.FieldMask, com.google.protobuf.FieldMask.Builder, com.google.protobuf.FieldMaskOrBuilder>( + getUpdateMask(), + getParentForChildren(), + isClean()); updateMask_ = null; } return updateMaskBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1075,12 +963,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.admin.v2.UpdateTableRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.admin.v2.UpdateTableRequest) private static final com.google.bigtable.admin.v2.UpdateTableRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.admin.v2.UpdateTableRequest(); } @@ -1089,27 +977,27 @@ public static com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateTableRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateTableRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1124,4 +1012,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.admin.v2.UpdateTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java index 825c02f333..a8ea344413 100644 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateTableRequestOrBuilder.java @@ -1,72 +1,43 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 UpdateTableRequestOrBuilder - extends +public interface UpdateTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateTableRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the table field is set. */ boolean hasTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; * @return The table. */ com.google.bigtable.admin.v2.Table getTable(); /** - * - * *
    * Required. The table to update.
    * The table's `name` field is used to identify the table to update.
    * 
* - * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.bigtable.admin.v2.Table table = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.admin.v2.TableOrBuilder getTableOrBuilder(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -82,15 +53,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -106,15 +73,11 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Required. The list of fields to update.
    * A mask specifying which fields (e.g. `change_stream_config`) in the `table`
@@ -130,8 +93,7 @@ public interface UpdateTableRequestOrBuilder
    * UNIMPLEMENTED error.
    * 
* - * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_instance_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/bigtable_table_admin.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/common.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/instance.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto similarity index 100% rename from proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-admin-v2/src/main/proto/google/bigtable/admin/v2/table.proto diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java new file mode 100644 index 0000000000..cd9c3735ce --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java @@ -0,0 +1,578 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public final class BigtableProto { + private BigtableProto() {} + 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_v2_ReadRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n!google/bigtable/v2/bigtable.proto\022\022goo" + + "gle.bigtable.v2\032\034google/api/annotations." + + "proto\032\027google/api/client.proto\032\037google/a" + + "pi/field_behavior.proto\032\031google/api/reso" + + "urce.proto\032\030google/api/routing.proto\032\035go" + + "ogle/bigtable/v2/data.proto\032&google/bigt" + + "able/v2/request_stats.proto\032\036google/prot" + + "obuf/duration.proto\032\037google/protobuf/tim" + + "estamp.proto\032\036google/protobuf/wrappers.p" + + "roto\032\027google/rpc/status.proto\"\243\003\n\017ReadRo" + + "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" + + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" + + "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" + + "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" + + "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" + + "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" + + "ogle.bigtable.v2.ReadRowsRequest.Request" + + "StatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSt" + + "atsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIE" + + "D\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_S" + + "TATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chun" + + "ks\030\001 \003(\0132..google.bigtable.v2.ReadRowsRe" + + "sponse.CellChunk\022\034\n\024last_scanned_row_key" + + "\030\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.b" + + "igtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n" + + "\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.go" + + "ogle.protobuf.StringValue\022.\n\tqualifier\030\003" + + " \001(\0132\033.google.protobuf.BytesValue\022\030\n\020tim" + + "estamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005v" + + "alue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_" + + "row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow" + + "_status\"o\n\024SampleRowKeysRequest\022?\n\ntable" + + "_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goog" + + "leapis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t" + + "\">\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001" + + "(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\271\001\n\020MutateRowRe" + + "quest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigt" + + "ableadmin.googleapis.com/Table\022\026\n\016app_pr" + + "ofile_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\0225\n" + + "\tmutations\030\003 \003(\0132\034.google.bigtable.v2.Mu" + + "tationB\004\342A\001\002\"\023\n\021MutateRowResponse\"\201\002\n\021Mu" + + "tateRowsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\003 \001(\t\022B\n\007entries\030\002 \003(" + + "\0132+.google.bigtable.v2.MutateRowsRequest" + + ".EntryB\004\342A\001\002\032O\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0225" + + "\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2.M" + + "utationB\004\342A\001\002\"\344\001\n\022MutateRowsResponse\022=\n\007" + + "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat" + + "eRowsResponse.Entry\022?\n\017rate_limit_info\030\003" + + " \001(\0132!.google.bigtable.v2.RateLimitInfoH" + + "\000\210\001\001\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002" + + " \001(\0132\022.google.rpc.StatusB\022\n\020_rate_limit_" + + "info\"J\n\rRateLimitInfo\022)\n\006period\030\001 \001(\0132\031." + + "google.protobuf.Duration\022\016\n\006factor\030\002 \001(\001" + + "\"\260\002\n\030CheckAndMutateRowRequest\022?\n\ntable_n" + + "ame\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.google" + + "apis.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\025" + + "\n\007row_key\030\002 \001(\014B\004\342A\001\002\0227\n\020predicate_filte" + + "r\030\006 \001(\0132\035.google.bigtable.v2.RowFilter\0224" + + "\n\016true_mutations\030\004 \003(\0132\034.google.bigtable" + + ".v2.Mutation\0225\n\017false_mutations\030\005 \003(\0132\034." + + "google.bigtable.v2.Mutation\"6\n\031CheckAndM" + + "utateRowResponse\022\031\n\021predicate_matched\030\001 " + + "\001(\010\"j\n\022PingAndWarmRequest\022<\n\004name\030\001 \001(\tB" + + ".\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/I" + + "nstance\022\026\n\016app_profile_id\030\002 \001(\t\"\025\n\023PingA" + + "ndWarmResponse\"\311\001\n\031ReadModifyWriteRowReq" + + "uest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigta" + + "bleadmin.googleapis.com/Table\022\026\n\016app_pro" + + "file_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\022<\n\005" + + "rules\030\003 \003(\0132\'.google.bigtable.v2.ReadMod" + + "ifyWriteRuleB\004\342A\001\002\"B\n\032ReadModifyWriteRow" + + "Response\022$\n\003row\030\001 \001(\0132\027.google.bigtable." + + "v2.Row\"\207\001\n,GenerateInitialChangeStreamPa" + + "rtitionsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" + + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" + + "\022\026\n\016app_profile_id\030\002 \001(\t\"g\n-GenerateInit" + + "ialChangeStreamPartitionsResponse\0226\n\tpar" + + "tition\030\001 \001(\0132#.google.bigtable.v2.Stream" + + "Partition\"\234\003\n\027ReadChangeStreamRequest\022?\n" + + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" + + "n.googleapis.com/Table\022\026\n\016app_profile_id" + + "\030\002 \001(\t\0226\n\tpartition\030\003 \001(\0132#.google.bigta" + + "ble.v2.StreamPartition\0220\n\nstart_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampH\000\022K\n\023cont" + + "inuation_tokens\030\006 \001(\0132,.google.bigtable." + + "v2.StreamContinuationTokensH\000\022,\n\010end_tim" + + "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\022h" + + "eartbeat_duration\030\007 \001(\0132\031.google.protobu" + + "f.DurationB\014\n\nstart_from\"\251\n\n\030ReadChangeS" + + "treamResponse\022N\n\013data_change\030\001 \001(\01327.goo" + + "gle.bigtable.v2.ReadChangeStreamResponse" + + ".DataChangeH\000\022K\n\theartbeat\030\002 \001(\01326.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.H" + + "eartbeatH\000\022P\n\014close_stream\030\003 \001(\01328.googl" + + "e.bigtable.v2.ReadChangeStreamResponse.C" + + "loseStreamH\000\032\364\001\n\rMutationChunk\022X\n\nchunk_" + + "info\030\001 \001(\0132D.google.bigtable.v2.ReadChan" + + "geStreamResponse.MutationChunk.ChunkInfo" + + "\022.\n\010mutation\030\002 \001(\0132\034.google.bigtable.v2." + + "Mutation\032Y\n\tChunkInfo\022\032\n\022chunked_value_s" + + "ize\030\001 \001(\005\022\034\n\024chunked_value_offset\030\002 \001(\005\022" + + "\022\n\nlast_chunk\030\003 \001(\010\032\306\003\n\nDataChange\022J\n\004ty" + + "pe\030\001 \001(\0162<.google.bigtable.v2.ReadChange" + + "StreamResponse.DataChange.Type\022\031\n\021source" + + "_cluster_id\030\002 \001(\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020co" + + "mmit_timestamp\030\004 \001(\0132\032.google.protobuf.T" + + "imestamp\022\022\n\ntiebreaker\030\005 \001(\005\022J\n\006chunks\030\006" + + " \003(\0132:.google.bigtable.v2.ReadChangeStre" + + "amResponse.MutationChunk\022\014\n\004done\030\010 \001(\010\022\r" + + "\n\005token\030\t \001(\t\022;\n\027estimated_low_watermark" + + "\030\n \001(\0132\032.google.protobuf.Timestamp\"P\n\004Ty" + + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GA" + + "RBAGE_COLLECTION\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n" + + "\tHeartbeat\022G\n\022continuation_token\030\001 \001(\0132+" + + ".google.bigtable.v2.StreamContinuationTo" + + "ken\022;\n\027estimated_low_watermark\030\002 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\032\270\001\n\013CloseStream" + + "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022H\n\023" + + "continuation_tokens\030\002 \003(\0132+.google.bigta" + + "ble.v2.StreamContinuationToken\022;\n\016new_pa" + + "rtitions\030\003 \003(\0132#.google.bigtable.v2.Stre" + + "amPartitionB\017\n\rstream_record2\327\030\n\010Bigtabl" + + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" + + "RowsRequest\032$.google.bigtable.v2.ReadRow" + + "sResponse\"\301\001\332A\ntable_name\332A\031table_name,a" + + "pp_profile_id\202\323\344\223\002>\"9/v2/{table_name=pro" + + "jects/*/instances/*/tables/*}:readRows:\001" + + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" + + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" + + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" + + "ble.v2.SampleRowKeysRequest\032).google.big" + + "table.v2.SampleRowKeysResponse\"\303\001\332A\ntabl" + + "e_name\332A\031table_name,app_profile_id\202\323\344\223\002@" + + "\022>/v2/{table_name=projects/*/instances/*" + + "/tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_" + + "name\022,{table_name=projects/*/instances/*" + + "/tables/*}\022\020\n\016app_profile_id0\001\022\301\002\n\tMutat" + + "eRow\022$.google.bigtable.v2.MutateRowReque" + + "st\032%.google.bigtable.v2.MutateRowRespons" + + "e\"\346\001\332A\034table_name,row_key,mutations\332A+ta" + + "ble_name,row_key,mutations,app_profile_i" + + "d\202\323\344\223\002?\":/v2/{table_name=projects/*/inst" + + "ances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\n" + + "table_name\022,{table_name=projects/*/insta" + + "nces/*/tables/*}\022\020\n\016app_profile_id\022\263\002\n\nM" + + "utateRows\022%.google.bigtable.v2.MutateRow" + + "sRequest\032&.google.bigtable.v2.MutateRows" + + "Response\"\323\001\332A\022table_name,entries\332A!table" + + "_name,entries,app_profile_id\202\323\344\223\002@\";/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:mutateRows:\001*\212\323\344\223\002N\022:\n\ntable_name\022," + + "{table_name=projects/*/instances/*/table" + + "s/*}\022\020\n\016app_profile_id0\001\022\255\003\n\021CheckAndMut" + + "ateRow\022,.google.bigtable.v2.CheckAndMuta" + + "teRowRequest\032-.google.bigtable.v2.CheckA" + + "ndMutateRowResponse\"\272\002\332ABtable_name,row_" + + "key,predicate_filter,true_mutations,fals" + + "e_mutations\332AQtable_name,row_key,predica" + + "te_filter,true_mutations,false_mutations" + + ",app_profile_id\202\323\344\223\002G\"B/v2/{table_name=p" + + "rojects/*/instances/*/tables/*}:checkAnd" + + "MutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table" + + "_name=projects/*/instances/*/tables/*}\022\020" + + "\n\016app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" + + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" + + "e.bigtable.v2.PingAndWarmResponse\"\215\001\332A\004n" + + "ame\332A\023name,app_profile_id\202\323\344\223\002+\"&/v2/{na" + + "me=projects/*/instances/*}:ping:\001*\212\323\344\223\0029" + + "\022%\n\004name\022\035{name=projects/*/instances/*}\022" + + "\020\n\016app_profile_id\022\335\002\n\022ReadModifyWriteRow" + + "\022-.google.bigtable.v2.ReadModifyWriteRow" + + "Request\032..google.bigtable.v2.ReadModifyW" + + "riteRowResponse\"\347\001\332A\030table_name,row_key," + + "rules\332A\'table_name,row_key,rules,app_pro" + + "file_id\202\323\344\223\002H\"C/v2/{table_name=projects/" + + "*/instances/*/tables/*}:readModifyWriteR" + + "ow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=p" + + "rojects/*/instances/*/tables/*}\022\020\n\016app_p" + + "rofile_id\022\273\002\n%GenerateInitialChangeStrea" + + "mPartitions\022@.google.bigtable.v2.Generat" + + "eInitialChangeStreamPartitionsRequest\032A." + + "google.bigtable.v2.GenerateInitialChange" + + "StreamPartitionsResponse\"\212\001\332A\ntable_name" + + "\332A\031table_name,app_profile_id\202\323\344\223\002[\"V/v2/" + + "{table_name=projects/*/instances/*/table" + + "s/*}:generateInitialChangeStreamPartitio" + + "ns:\001*0\001\022\346\001\n\020ReadChangeStream\022+.google.bi" + + "gtable.v2.ReadChangeStreamRequest\032,.goog" + + "le.bigtable.v2.ReadChangeStreamResponse\"" + + "u\332A\ntable_name\332A\031table_name,app_profile_" + + "id\202\323\344\223\002F\"A/v2/{table_name=projects/*/ins" + + "tances/*/tables/*}:readChangeStream:\001*0\001" + + "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" + + "/www.googleapis.com/auth/bigtable.data,h" + + "ttps://www.googleapis.com/auth/bigtable." + + "data.readonly,https://www.googleapis.com" + + "/auth/cloud-bigtable.data,https://www.go" + + "ogleapis.com/auth/cloud-bigtable.data.re" + + "adonly,https://www.googleapis.com/auth/c" + + "loud-platform,https://www.googleapis.com" + + "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" + + "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" + + "le.golang.org/genproto/googleapis/bigtab" + + "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" + + "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" + + "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" + + "gleapis.com/Instance\022\'projects/{project}" + + "/instances/{instance}\352A\\\n\"bigtableadmin." + + "googleapis.com/Table\0226projects/{project}" + + "/instances/{instance}/tables/{table}b\006pr" + + "oto3" + }; + 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.api.RoutingProto.getDescriptor(), + com.google.bigtable.v2.DataProto.getDescriptor(), + com.google.bigtable.v2.RequestStatsProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + com.google.protobuf.WrappersProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Rows", "Filter", "RowsLimit", "RequestStatsView", "Reversed", }); + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, + new java.lang.String[] { "Chunks", "LastScannedRowKey", "RequestStats", }); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = + internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, + new java.lang.String[] { "RowKey", "FamilyName", "Qualifier", "TimestampMicros", "Labels", "Value", "ValueSize", "ResetRow", "CommitRow", "RowStatus", }); + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, + new java.lang.String[] { "RowKey", "OffsetBytes", }); + internal_static_google_bigtable_v2_MutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Entries", }); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, + new java.lang.String[] { "RowKey", "Mutations", }); + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, + new java.lang.String[] { "Entries", "RateLimitInfo", "RateLimitInfo", }); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = + internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, + new java.lang.String[] { "Index", "Status", }); + internal_static_google_bigtable_v2_RateLimitInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RateLimitInfo_descriptor, + new java.lang.String[] { "Period", "Factor", }); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "PredicateFilter", "TrueMutations", "FalseMutations", }); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, + new java.lang.String[] { "PredicateMatched", }); + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, + new java.lang.String[] { "Name", "AppProfileId", }); + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "RowKey", "Rules", }); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, + new java.lang.String[] { "Row", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", }); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, + new java.lang.String[] { "Partition", }); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, + new java.lang.String[] { "TableName", "AppProfileId", "Partition", "StartTime", "ContinuationTokens", "EndTime", "HeartbeatDuration", "StartFrom", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, + new java.lang.String[] { "DataChange", "Heartbeat", "CloseStream", "StreamRecord", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, + new java.lang.String[] { "ChunkInfo", "Mutation", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, + new java.lang.String[] { "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, + new java.lang.String[] { "Type", "SourceClusterId", "RowKey", "CommitTimestamp", "Tiebreaker", "Chunks", "Done", "Token", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, + new java.lang.String[] { "ContinuationToken", "EstimatedLowWatermark", }); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = + internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, + new java.lang.String[] { "Status", "ContinuationTokens", "NewPartitions", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); + registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.api.RoutingProto.routing); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.api.RoutingProto.getDescriptor(); + com.google.bigtable.v2.DataProto.getDescriptor(); + com.google.bigtable.v2.RequestStatsProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + com.google.protobuf.WrappersProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java similarity index 72% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java index 14ca3817dc..a59a55e5f7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Cell.java @@ -1,62 +1,46 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column/timestamp of a table.
  * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ -public final class Cell extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Cell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Cell) CellOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Cell.newBuilder() to construct. private Cell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Cell() { value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Cell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } @@ -64,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long timestampMicros_ = 0L; /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -76,7 +58,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -87,8 +68,6 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -96,7 +75,6 @@ public long getTimestampMicros() {
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -105,47 +83,38 @@ public com.google.protobuf.ByteString getValue() { } public static final int LABELS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -153,23 +122,20 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (timestampMicros_ != 0L) { output.writeInt64(1, timestampMicros_); } @@ -201,10 +168,12 @@ public int getSerializedSize() { size = 0; if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } { int dataSize = 0; @@ -222,16 +191,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Cell)) { return super.equals(obj); } com.google.bigtable.v2.Cell other = (com.google.bigtable.v2.Cell) obj; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -244,7 +216,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); if (getLabelsCount() > 0) { @@ -256,145 +229,146 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Cell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Cell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell 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.v2.Cell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Cell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Cell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Cell parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Cell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Cell parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Cell parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Cell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Cell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column/timestamp of a table.
    * 
* * Protobuf type {@code google.bigtable.v2.Cell} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Cell) com.google.bigtable.v2.CellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Cell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Cell.class, com.google.bigtable.v2.Cell.Builder.class); } // Construct using com.google.bigtable.v2.Cell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; timestampMicros_ = 0L; value_ = com.google.protobuf.ByteString.EMPTY; - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Cell_descriptor; } @@ -415,9 +389,7 @@ public com.google.bigtable.v2.Cell build() { @java.lang.Override public com.google.bigtable.v2.Cell buildPartial() { com.google.bigtable.v2.Cell result = new com.google.bigtable.v2.Cell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -440,39 +412,38 @@ private void buildPartial0(com.google.bigtable.v2.Cell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Cell) { - return mergeFrom((com.google.bigtable.v2.Cell) other); + return mergeFrom((com.google.bigtable.v2.Cell)other); } else { super.mergeFrom(other); return this; @@ -523,32 +494,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - ensureLabelsIsMutable(); - labels_.add(s); - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + value_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + ensureLabelsIsMutable(); + labels_.add(s); + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -558,13 +525,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -575,7 +539,6 @@ public Builder mergeFrom(
      * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ @java.lang.Override @@ -583,8 +546,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -595,7 +556,6 @@ public long getTimestampMicros() {
      * 
* * int64 timestamp_micros = 1; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -607,8 +567,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
      * The cell's stored timestamp, which also uniquely identifies it within
      * its column.
@@ -619,7 +577,6 @@ public Builder setTimestampMicros(long value) {
      * 
* * int64 timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -631,8 +588,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -640,7 +595,6 @@ public Builder clearTimestampMicros() {
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -648,8 +602,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -657,22 +609,17 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The value stored in the cell.
      * May contain any byte string, including the empty string, up to 100MiB in
@@ -680,7 +627,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -692,7 +638,6 @@ public Builder clearValue() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -700,43 +645,35 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000004; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -744,37 +681,31 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param index The index to set the value at. * @param value The labels to set. * @return This builder for chaining. */ - public Builder setLabels(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000004; @@ -782,21 +713,17 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000004; @@ -804,58 +731,50 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels(java.lang.Iterable values) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000004); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004);; onChanged(); return this; } /** - * - * *
      * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
      * 
* * repeated string labels = 3; - * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -863,9 +782,9 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,12 +794,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Cell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Cell) private static final com.google.bigtable.v2.Cell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Cell(); } @@ -889,27 +808,27 @@ public static com.google.bigtable.v2.Cell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Cell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Cell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -924,4 +843,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Cell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java index 3c0a84b32f..f68249fe55 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CellOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface CellOrBuilder - extends +public interface CellOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Cell) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cell's stored timestamp, which also uniquely identifies it within
    * its column.
@@ -36,14 +18,11 @@ public interface CellOrBuilder
    * 
* * int64 timestamp_micros = 1; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
    * The value stored in the cell.
    * May contain any byte string, including the empty string, up to 100MiB in
@@ -51,59 +30,48 @@ public interface CellOrBuilder
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return A list containing the labels. */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @return The count of labels. */ int getLabelsCount(); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the element to return. * @return The labels at the given index. */ java.lang.String getLabels(int index); /** - * - * *
    * Labels applied to the cell by a [RowFilter][google.bigtable.v2.RowFilter].
    * 
* * repeated string labels = 3; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - com.google.protobuf.ByteString getLabelsBytes(int index); + com.google.protobuf.ByteString + getLabelsBytes(int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java similarity index 79% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java index 836127acd5..919df20bfe 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ -public final class CheckAndMutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowRequest) CheckAndMutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowRequest.newBuilder() to construct. private CheckAndMutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CheckAndMutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -47,42 +29,35 @@ private CheckAndMutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -91,33 +66,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -126,19 +99,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ @java.lang.Override @@ -147,30 +116,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -181,15 +150,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -200,8 +166,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int PREDICATE_FILTER_FIELD_NUMBER = 6; private com.google.bigtable.v2.RowFilter predicateFilter_; /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -210,7 +174,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -218,8 +181,6 @@ public boolean hasPredicateFilter() { return predicateFilter_ != null; } /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -228,18 +189,13 @@ public boolean hasPredicateFilter() {
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -251,18 +207,13 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-    return predicateFilter_ == null
-        ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-        : predicateFilter_;
+    return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
   }
 
   public static final int TRUE_MUTATIONS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List trueMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -278,8 +229,6 @@ public java.util.List getTrueMutationsList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -291,13 +240,11 @@ public java.util.List getTrueMutationsList() {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getTrueMutationsOrBuilderList() {
     return trueMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -313,8 +260,6 @@ public int getTrueMutationsCount() {
     return trueMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -330,8 +275,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
     return trueMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -343,17 +286,15 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index) {
     return trueMutations_.get(index);
   }
 
   public static final int FALSE_MUTATIONS_FIELD_NUMBER = 5;
-
   @SuppressWarnings("serial")
   private java.util.List falseMutations_;
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -369,8 +310,6 @@ public java.util.List getFalseMutationsList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -382,13 +321,11 @@ public java.util.List getFalseMutationsList() {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFalseMutationsOrBuilderList() {
     return falseMutations_;
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -404,8 +341,6 @@ public int getFalseMutationsCount() {
     return falseMutations_.size();
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -421,8 +356,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
     return falseMutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -434,12 +367,12 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+  public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index) {
     return falseMutations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -451,7 +384,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -483,16 +417,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_);
     }
     if (!rowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, rowKey_);
     }
     for (int i = 0; i < trueMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, trueMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, trueMutations_.get(i));
     }
     for (int i = 0; i < falseMutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, falseMutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, falseMutations_.get(i));
     }
     if (predicateFilter_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getPredicateFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getPredicateFilter());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, appProfileId_);
@@ -505,23 +443,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.CheckAndMutateRowRequest other =
-        (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
+    com.google.bigtable.v2.CheckAndMutateRowRequest other = (com.google.bigtable.v2.CheckAndMutateRowRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
-    if (!getRowKey().equals(other.getRowKey())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
+    if (!getRowKey()
+        .equals(other.getRowKey())) return false;
     if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
     if (hasPredicateFilter()) {
-      if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+      if (!getPredicateFilter()
+          .equals(other.getPredicateFilter())) return false;
     }
-    if (!getTrueMutationsList().equals(other.getTrueMutationsList())) return false;
-    if (!getFalseMutationsList().equals(other.getFalseMutationsList())) return false;
+    if (!getTrueMutationsList()
+        .equals(other.getTrueMutationsList())) return false;
+    if (!getFalseMutationsList()
+        .equals(other.getFalseMutationsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -556,136 +499,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest 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.v2.CheckAndMutateRowRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.CheckAndMutateRowRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Request message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowRequest) com.google.bigtable.v2.CheckAndMutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowRequest.class, - com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowRequest.class, com.google.bigtable.v2.CheckAndMutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -716,9 +655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; } @java.lang.Override @@ -737,18 +676,14 @@ public com.google.bigtable.v2.CheckAndMutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowRequest buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowRequest result = - new com.google.bigtable.v2.CheckAndMutateRowRequest(this); + com.google.bigtable.v2.CheckAndMutateRowRequest result = new com.google.bigtable.v2.CheckAndMutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.CheckAndMutateRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.CheckAndMutateRowRequest result) { if (trueMutationsBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { trueMutations_ = java.util.Collections.unmodifiableList(trueMutations_); @@ -781,8 +716,9 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul result.rowKey_ = rowKey_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.predicateFilter_ = - predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build(); + result.predicateFilter_ = predicateFilterBuilder_ == null + ? predicateFilter_ + : predicateFilterBuilder_.build(); } } @@ -790,39 +726,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowRequest resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -830,8 +765,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -866,10 +800,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) trueMutationsBuilder_ = null; trueMutations_ = other.trueMutations_; bitField0_ = (bitField0_ & ~0x00000010); - trueMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTrueMutationsFieldBuilder() - : null; + trueMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTrueMutationsFieldBuilder() : null; } else { trueMutationsBuilder_.addAllMessages(other.trueMutations_); } @@ -893,10 +826,9 @@ public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowRequest other) falseMutationsBuilder_ = null; falseMutations_ = other.falseMutations_; bitField0_ = (bitField0_ & ~0x00000020); - falseMutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFalseMutationsFieldBuilder() - : null; + falseMutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFalseMutationsFieldBuilder() : null; } else { falseMutationsBuilder_.addAllMessages(other.falseMutations_); } @@ -928,61 +860,60 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 34: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (trueMutationsBuilder_ == null) { - ensureTrueMutationsIsMutable(); - trueMutations_.add(m); - } else { - trueMutationsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (falseMutationsBuilder_ == null) { - ensureFalseMutationsIsMutable(); - falseMutations_.add(m); - } else { - falseMutationsBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - input.readMessage(getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 34: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (trueMutationsBuilder_ == null) { + ensureTrueMutationsIsMutable(); + trueMutations_.add(m); + } else { + trueMutationsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (falseMutationsBuilder_ == null) { + ensureFalseMutationsIsMutable(); + falseMutations_.add(m); + } else { + falseMutationsBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + input.readMessage( + getPredicateFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 58 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -992,29 +923,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1023,25 +949,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1049,43 +972,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1095,25 +1007,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the conditional mutation
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1123,21 +1029,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1146,22 +1050,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1169,37 +1072,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1209,22 +1105,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 7; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1234,15 +1126,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -1250,37 +1139,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the conditional mutation should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1292,13 +1173,8 @@ public Builder clearRowKey() { private com.google.bigtable.v2.RowFilter predicateFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - predicateFilterBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_; /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1307,15 +1183,12 @@ public Builder clearRowKey() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1324,21 +1197,16 @@ public boolean hasPredicateFilter() {
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1362,8 +1230,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1373,7 +1239,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
-    public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setPredicateFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (predicateFilterBuilder_ == null) {
         predicateFilter_ = builderForValue.build();
       } else {
@@ -1384,8 +1251,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1397,9 +1262,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
      */
     public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       if (predicateFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && predicateFilter_ != null
-            && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          predicateFilter_ != null &&
+          predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getPredicateFilterBuilder().mergeFrom(value);
         } else {
           predicateFilter_ = value;
@@ -1412,8 +1277,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1434,8 +1297,6 @@ public Builder clearPredicateFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1451,8 +1312,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
       return getPredicateFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1466,14 +1325,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
       if (predicateFilterBuilder_ != null) {
         return predicateFilterBuilder_.getMessageOrBuilder();
       } else {
-        return predicateFilter_ == null
-            ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-            : predicateFilter_;
+        return predicateFilter_ == null ?
+            com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter to be applied to the contents of the specified row. Depending
      * on whether or not any results are yielded, either `true_mutations` or
@@ -1484,41 +1340,32 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
      * .google.bigtable.v2.RowFilter predicate_filter = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
         getPredicateFilterFieldBuilder() {
       if (predicateFilterBuilder_ == null) {
-        predicateFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter,
-                com.google.bigtable.v2.RowFilter.Builder,
-                com.google.bigtable.v2.RowFilterOrBuilder>(
-                getPredicateFilter(), getParentForChildren(), isClean());
+        predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                getPredicateFilter(),
+                getParentForChildren(),
+                isClean());
         predicateFilter_ = null;
       }
       return predicateFilterBuilder_;
     }
 
     private java.util.List trueMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTrueMutationsIsMutable() {
       if (!((bitField0_ & 0x00000010) != 0)) {
         trueMutations_ = new java.util.ArrayList(trueMutations_);
         bitField0_ |= 0x00000010;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        trueMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> trueMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1537,8 +1384,6 @@ public java.util.List getTrueMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1557,8 +1402,6 @@ public int getTrueMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1577,8 +1420,6 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1589,7 +1430,8 @@ public com.google.bigtable.v2.Mutation getTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1603,8 +1445,6 @@ public Builder setTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1627,8 +1467,6 @@ public Builder setTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1653,8 +1491,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1665,7 +1501,8 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addTrueMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (trueMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1679,8 +1516,6 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1691,7 +1526,8 @@ public Builder addTrueMutations(int index, com.google.bigtable.v2.Mutation value
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addTrueMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
         trueMutations_.add(builderForValue.build());
@@ -1702,8 +1538,6 @@ public Builder addTrueMutations(com.google.bigtable.v2.Mutation.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1726,8 +1560,6 @@ public Builder addTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1742,7 +1574,8 @@ public Builder addAllTrueMutations(
         java.lang.Iterable values) {
       if (trueMutationsBuilder_ == null) {
         ensureTrueMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, trueMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, trueMutations_);
         onChanged();
       } else {
         trueMutationsBuilder_.addAllMessages(values);
@@ -1750,8 +1583,6 @@ public Builder addAllTrueMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1773,8 +1604,6 @@ public Builder clearTrueMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1796,8 +1625,6 @@ public Builder removeTrueMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1808,12 +1635,11 @@ public Builder removeTrueMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(
+        int index) {
       return getTrueMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1824,16 +1650,14 @@ public com.google.bigtable.v2.Mutation.Builder getTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+        int index) {
       if (trueMutationsBuilder_ == null) {
-        return trueMutations_.get(index);
-      } else {
+        return trueMutations_.get(index);  } else {
         return trueMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1844,8 +1668,8 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List
-        getTrueMutationsOrBuilderList() {
+    public java.util.List 
+         getTrueMutationsOrBuilderList() {
       if (trueMutationsBuilder_ != null) {
         return trueMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1853,8 +1677,6 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1866,12 +1688,10 @@ public com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int in
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
     public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getTrueMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1882,13 +1702,12 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index) {
-      return getTrueMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(
+        int index) {
+      return getTrueMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -1899,21 +1718,16 @@ public com.google.bigtable.v2.Mutation.Builder addTrueMutationsBuilder(int index
      *
      * repeated .google.bigtable.v2.Mutation true_mutations = 4;
      */
-    public java.util.List getTrueMutationsBuilderList() {
+    public java.util.List 
+         getTrueMutationsBuilderList() {
       return getTrueMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getTrueMutationsFieldBuilder() {
       if (trueMutationsBuilder_ == null) {
-        trueMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        trueMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 trueMutations_,
                 ((bitField0_ & 0x00000010) != 0),
                 getParentForChildren(),
@@ -1924,24 +1738,18 @@ public java.util.List getTrueMutationsB
     }
 
     private java.util.List falseMutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureFalseMutationsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         falseMutations_ = new java.util.ArrayList(falseMutations_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
-        falseMutationsBuilder_;
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> falseMutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1960,8 +1768,6 @@ public java.util.List getFalseMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -1980,8 +1786,6 @@ public int getFalseMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2000,8 +1804,6 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2012,7 +1814,8 @@ public com.google.bigtable.v2.Mutation getFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder setFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2026,8 +1829,6 @@ public Builder setFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2050,8 +1851,6 @@ public Builder setFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2076,8 +1875,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2088,7 +1885,8 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation value) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation value) {
+    public Builder addFalseMutations(
+        int index, com.google.bigtable.v2.Mutation value) {
       if (falseMutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2102,8 +1900,6 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2114,7 +1910,8 @@ public Builder addFalseMutations(int index, com.google.bigtable.v2.Mutation valu
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+    public Builder addFalseMutations(
+        com.google.bigtable.v2.Mutation.Builder builderForValue) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
         falseMutations_.add(builderForValue.build());
@@ -2125,8 +1922,6 @@ public Builder addFalseMutations(com.google.bigtable.v2.Mutation.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2149,8 +1944,6 @@ public Builder addFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2165,7 +1958,8 @@ public Builder addAllFalseMutations(
         java.lang.Iterable values) {
       if (falseMutationsBuilder_ == null) {
         ensureFalseMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, falseMutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, falseMutations_);
         onChanged();
       } else {
         falseMutationsBuilder_.addAllMessages(values);
@@ -2173,8 +1967,6 @@ public Builder addAllFalseMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2196,8 +1988,6 @@ public Builder clearFalseMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2219,8 +2009,6 @@ public Builder removeFalseMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2231,12 +2019,11 @@ public Builder removeFalseMutations(int index) {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int index) {
+    public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(
+        int index) {
       return getFalseMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2247,16 +2034,14 @@ public com.google.bigtable.v2.Mutation.Builder getFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index) {
+    public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+        int index) {
       if (falseMutationsBuilder_ == null) {
-        return falseMutations_.get(index);
-      } else {
+        return falseMutations_.get(index);  } else {
         return falseMutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2267,8 +2052,8 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List
-        getFalseMutationsOrBuilderList() {
+    public java.util.List 
+         getFalseMutationsOrBuilderList() {
       if (falseMutationsBuilder_ != null) {
         return falseMutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2276,8 +2061,6 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
       }
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2289,12 +2072,10 @@ public com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int i
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
     public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance());
+      return getFalseMutationsFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2305,13 +2086,12 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder() {
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int index) {
-      return getFalseMutationsFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance());
+    public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(
+        int index) {
+      return getFalseMutationsFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Changes to be atomically applied to the specified row if `predicate_filter`
      * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -2322,21 +2102,16 @@ public com.google.bigtable.v2.Mutation.Builder addFalseMutationsBuilder(int inde
      *
      * repeated .google.bigtable.v2.Mutation false_mutations = 5;
      */
-    public java.util.List getFalseMutationsBuilderList() {
+    public java.util.List 
+         getFalseMutationsBuilderList() {
       return getFalseMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Mutation,
-            com.google.bigtable.v2.Mutation.Builder,
-            com.google.bigtable.v2.MutationOrBuilder>
+        com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
         getFalseMutationsFieldBuilder() {
       if (falseMutationsBuilder_ == null) {
-        falseMutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Mutation,
-                com.google.bigtable.v2.Mutation.Builder,
-                com.google.bigtable.v2.MutationOrBuilder>(
+        falseMutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
                 falseMutations_,
                 ((bitField0_ & 0x00000020) != 0),
                 getParentForChildren(),
@@ -2345,9 +2120,9 @@ public java.util.List getFalseMutations
       }
       return falseMutationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2357,12 +2132,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowRequest)
   private static final com.google.bigtable.v2.CheckAndMutateRowRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowRequest();
   }
@@ -2371,27 +2146,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public CheckAndMutateRowRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public CheckAndMutateRowRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2406,4 +2181,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.CheckAndMutateRowRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
similarity index 84%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
index 52e574ca79..ef260cd0d0 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowRequestOrBuilder.java
@@ -1,105 +1,70 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface CheckAndMutateRowRequestOrBuilder
-    extends
+public interface CheckAndMutateRowRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the conditional mutation
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 7; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the conditional mutation should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -108,13 +73,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -123,13 +85,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    * 
* * .google.bigtable.v2.RowFilter predicate_filter = 6; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
    * The filter to be applied to the contents of the specified row. Depending
    * on whether or not any results are yielded, either `true_mutations` or
@@ -142,8 +101,6 @@ public interface CheckAndMutateRowRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -154,10 +111,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List getTrueMutationsList();
+  java.util.List 
+      getTrueMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -170,8 +126,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getTrueMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -184,8 +138,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getTrueMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -196,11 +148,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  java.util.List
+  java.util.List 
       getTrueMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * yields at least one cell when applied to `row_key`. Entries are applied in
@@ -211,11 +161,10 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation true_mutations = 4;
    */
-  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getTrueMutationsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -226,10 +175,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List getFalseMutationsList();
+  java.util.List 
+      getFalseMutationsList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -242,8 +190,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   com.google.bigtable.v2.Mutation getFalseMutations(int index);
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -256,8 +202,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    */
   int getFalseMutationsCount();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -268,11 +212,9 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  java.util.List
+  java.util.List 
       getFalseMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * Changes to be atomically applied to the specified row if `predicate_filter`
    * does not yield any cells when applied to `row_key`. Entries are applied in
@@ -283,5 +225,6 @@ public interface CheckAndMutateRowRequestOrBuilder
    *
    * repeated .google.bigtable.v2.Mutation false_mutations = 5;
    */
-  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(int index);
+  com.google.bigtable.v2.MutationOrBuilder getFalseMutationsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
similarity index 65%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
index 55cc9e6e34..dad96e0501 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponse.java
@@ -1,77 +1,56 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response message for Bigtable.CheckAndMutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ -public final class CheckAndMutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CheckAndMutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.CheckAndMutateRowResponse) CheckAndMutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CheckAndMutateRowResponse.newBuilder() to construct. private CheckAndMutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private CheckAndMutateRowResponse() {} + private CheckAndMutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CheckAndMutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } public static final int PREDICATE_MATCHED_FIELD_NUMBER = 1; private boolean predicateMatched_ = false; /** - * - * *
    * Whether or not the request's `predicate_filter` yielded any results for
    * the specified row.
    * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -80,7 +59,6 @@ public boolean getPredicateMatched() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -92,7 +70,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (predicateMatched_ != false) { output.writeBool(1, predicateMatched_); } @@ -106,7 +85,8 @@ public int getSerializedSize() { size = 0; if (predicateMatched_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, predicateMatched_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, predicateMatched_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -116,15 +96,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.CheckAndMutateRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.CheckAndMutateRowResponse other = - (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; + com.google.bigtable.v2.CheckAndMutateRowResponse other = (com.google.bigtable.v2.CheckAndMutateRowResponse) obj; - if (getPredicateMatched() != other.getPredicateMatched()) return false; + if (getPredicateMatched() + != other.getPredicateMatched()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -137,142 +117,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PREDICATE_MATCHED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPredicateMatched()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPredicateMatched()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse 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.v2.CheckAndMutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.CheckAndMutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.CheckAndMutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.CheckAndMutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.CheckAndMutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.CheckAndMutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.CheckAndMutateRowResponse) com.google.bigtable.v2.CheckAndMutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.CheckAndMutateRowResponse.class, - com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); + com.google.bigtable.v2.CheckAndMutateRowResponse.class, com.google.bigtable.v2.CheckAndMutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.CheckAndMutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -282,9 +259,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; } @java.lang.Override @@ -303,11 +280,8 @@ public com.google.bigtable.v2.CheckAndMutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.CheckAndMutateRowResponse buildPartial() { - com.google.bigtable.v2.CheckAndMutateRowResponse result = - new com.google.bigtable.v2.CheckAndMutateRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.CheckAndMutateRowResponse result = new com.google.bigtable.v2.CheckAndMutateRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -323,39 +297,38 @@ private void buildPartial0(com.google.bigtable.v2.CheckAndMutateRowResponse resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.CheckAndMutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.CheckAndMutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -363,8 +336,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.CheckAndMutateRowResponse other) { - if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.CheckAndMutateRowResponse.getDefaultInstance()) return this; if (other.getPredicateMatched() != false) { setPredicateMatched(other.getPredicateMatched()); } @@ -394,19 +366,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - predicateMatched_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + predicateMatched_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -416,20 +386,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean predicateMatched_; + private boolean predicateMatched_ ; /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return The predicateMatched. */ @java.lang.Override @@ -437,15 +403,12 @@ public boolean getPredicateMatched() { return predicateMatched_; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @param value The predicateMatched to set. * @return This builder for chaining. */ @@ -457,15 +420,12 @@ public Builder setPredicateMatched(boolean value) { return this; } /** - * - * *
      * Whether or not the request's `predicate_filter` yielded any results for
      * the specified row.
      * 
* * bool predicate_matched = 1; - * * @return This builder for chaining. */ public Builder clearPredicateMatched() { @@ -474,9 +434,9 @@ public Builder clearPredicateMatched() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -486,12 +446,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.CheckAndMutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.CheckAndMutateRowResponse) private static final com.google.bigtable.v2.CheckAndMutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.CheckAndMutateRowResponse(); } @@ -500,27 +460,27 @@ public static com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CheckAndMutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CheckAndMutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -535,4 +495,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.CheckAndMutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..4e64fe2a6b --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface CheckAndMutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Whether or not the request's `predicate_filter` yielded any results for
+   * the specified row.
+   * 
+ * + * bool predicate_matched = 1; + * @return The predicateMatched. + */ + boolean getPredicateMatched(); +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java index 2ca091f4d7..70ab2d5102 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Column.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column intersection of a
  * table.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Column}
  */
-public final class Column extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Column extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Column)
     ColumnOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Column.newBuilder() to construct.
   private Column(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Column() {
     qualifier_ = com.google.protobuf.ByteString.EMPTY;
     cells_ = java.util.Collections.emptyList();
@@ -45,19 +27,20 @@ private Column() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Column();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
   }
@@ -65,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int QUALIFIER_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -76,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -85,12 +65,9 @@ public com.google.protobuf.ByteString getQualifier() { } public static final int CELLS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List cells_; /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -102,8 +79,6 @@ public java.util.List getCellsList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -111,12 +86,11 @@ public java.util.List getCellsList() { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { return cells_; } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -128,8 +102,6 @@ public int getCellsCount() { return cells_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -141,8 +113,6 @@ public com.google.bigtable.v2.Cell getCells(int index) { return cells_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -150,12 +120,12 @@ public com.google.bigtable.v2.Cell getCells(int index) { * repeated .google.bigtable.v2.Cell cells = 2; */ @java.lang.Override - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { return cells_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -167,7 +137,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!qualifier_.isEmpty()) { output.writeBytes(1, qualifier_); } @@ -184,10 +155,12 @@ public int getSerializedSize() { size = 0; if (!qualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, qualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, qualifier_); } for (int i = 0; i < cells_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, cells_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, cells_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -197,15 +170,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Column)) { return super.equals(obj); } com.google.bigtable.v2.Column other = (com.google.bigtable.v2.Column) obj; - if (!getQualifier().equals(other.getQualifier())) return false; - if (!getCellsList().equals(other.getCellsList())) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + if (!getCellsList() + .equals(other.getCellsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -228,103 +203,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Column parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Column parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column 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.v2.Column parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Column parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Column parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Column parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Column parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Column parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Column parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Column parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Column prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column intersection of a
    * table.
@@ -332,30 +303,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Column}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Column)
       com.google.bigtable.v2.ColumnOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Column_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Column.class, com.google.bigtable.v2.Column.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Column.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -372,7 +346,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Column_descriptor;
     }
 
@@ -394,9 +369,7 @@ public com.google.bigtable.v2.Column build() {
     public com.google.bigtable.v2.Column buildPartial() {
       com.google.bigtable.v2.Column result = new com.google.bigtable.v2.Column(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -424,39 +397,38 @@ private void buildPartial0(com.google.bigtable.v2.Column result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Column) {
-        return mergeFrom((com.google.bigtable.v2.Column) other);
+        return mergeFrom((com.google.bigtable.v2.Column)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -486,10 +458,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Column other) {
             cellsBuilder_ = null;
             cells_ = other.cells_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            cellsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getCellsFieldBuilder()
-                    : null;
+            cellsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getCellsFieldBuilder() : null;
           } else {
             cellsBuilder_.addAllMessages(other.cells_);
           }
@@ -521,31 +492,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                qualifier_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Cell m =
-                    input.readMessage(com.google.bigtable.v2.Cell.parser(), extensionRegistry);
-                if (cellsBuilder_ == null) {
-                  ensureCellsIsMutable();
-                  cells_.add(m);
-                } else {
-                  cellsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              qualifier_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Cell m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Cell.parser(),
+                      extensionRegistry);
+              if (cellsBuilder_ == null) {
+                ensureCellsIsMutable();
+                cells_.add(m);
+              } else {
+                cellsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,13 +525,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -571,7 +538,6 @@ public Builder mergeFrom(
      * 
* * bytes qualifier = 1; - * * @return The qualifier. */ @java.lang.Override @@ -579,8 +545,6 @@ public com.google.protobuf.ByteString getQualifier() { return qualifier_; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -590,22 +554,17 @@ public com.google.protobuf.ByteString getQualifier() {
      * 
* * bytes qualifier = 1; - * * @param value The qualifier to set. * @return This builder for chaining. */ public Builder setQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } qualifier_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this column within its family. This is the
      * same key that's used to identify the column in, for example, a RowFilter
@@ -615,7 +574,6 @@ public Builder setQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes qualifier = 1; - * * @return This builder for chaining. */ public Builder clearQualifier() { @@ -625,24 +583,19 @@ public Builder clearQualifier() { return this; } - private java.util.List cells_ = java.util.Collections.emptyList(); - + private java.util.List cells_ = + java.util.Collections.emptyList(); private void ensureCellsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { cells_ = new java.util.ArrayList(cells_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> - cellsBuilder_; + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> cellsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -657,8 +610,6 @@ public java.util.List getCellsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -673,8 +624,6 @@ public int getCellsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -689,15 +638,14 @@ public com.google.bigtable.v2.Cell getCells(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell value) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -711,15 +659,14 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder setCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.set(index, builderForValue.build()); @@ -730,8 +677,6 @@ public Builder setCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -752,15 +697,14 @@ public Builder addCells(com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell value) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell value) { if (cellsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -774,15 +718,14 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(builderForValue.build()); @@ -793,15 +736,14 @@ public Builder addCells(com.google.bigtable.v2.Cell.Builder builderForValue) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderForValue) { + public Builder addCells( + int index, com.google.bigtable.v2.Cell.Builder builderForValue) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); cells_.add(index, builderForValue.build()); @@ -812,18 +754,18 @@ public Builder addCells(int index, com.google.bigtable.v2.Cell.Builder builderFo return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public Builder addAllCells(java.lang.Iterable values) { + public Builder addAllCells( + java.lang.Iterable values) { if (cellsBuilder_ == null) { ensureCellsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, cells_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cells_); onChanged(); } else { cellsBuilder_.addAllMessages(values); @@ -831,8 +773,6 @@ public Builder addAllCells(java.lang.Iterable * Must not be empty. Sorted in order of decreasing "timestamp_micros". *
@@ -850,8 +790,6 @@ public Builder clearCells() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -869,43 +807,39 @@ public Builder removeCells(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder getCellsBuilder(int index) { + public com.google.bigtable.v2.Cell.Builder getCellsBuilder( + int index) { return getCellsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index) { + public com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index) { if (cellsBuilder_ == null) { - return cells_.get(index); - } else { + return cells_.get(index); } else { return cellsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsOrBuilderList() { + public java.util.List + getCellsOrBuilderList() { if (cellsBuilder_ != null) { return cellsBuilder_.getMessageOrBuilderList(); } else { @@ -913,8 +847,6 @@ public java.util.List getCellsOr } } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
@@ -922,53 +854,49 @@ public java.util.List getCellsOr * repeated .google.bigtable.v2.Cell cells = 2; */ public com.google.bigtable.v2.Cell.Builder addCellsBuilder() { - return getCellsFieldBuilder().addBuilder(com.google.bigtable.v2.Cell.getDefaultInstance()); + return getCellsFieldBuilder().addBuilder( + com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public com.google.bigtable.v2.Cell.Builder addCellsBuilder(int index) { - return getCellsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Cell.getDefaultInstance()); + public com.google.bigtable.v2.Cell.Builder addCellsBuilder( + int index) { + return getCellsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Cell.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of decreasing "timestamp_micros".
      * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - public java.util.List getCellsBuilderList() { + public java.util.List + getCellsBuilderList() { return getCellsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder> + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder> getCellsFieldBuilder() { if (cellsBuilder_ == null) { - cellsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Cell, - com.google.bigtable.v2.Cell.Builder, - com.google.bigtable.v2.CellOrBuilder>( - cells_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + cellsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Cell, com.google.bigtable.v2.Cell.Builder, com.google.bigtable.v2.CellOrBuilder>( + cells_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); cells_ = null; } return cellsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +906,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Column) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Column) private static final com.google.bigtable.v2.Column DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Column(); } @@ -992,27 +920,27 @@ public static com.google.bigtable.v2.Column getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Column parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Column parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +955,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Column getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java index dd5f5508bf..75166dc08c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface ColumnOrBuilder - extends +public interface ColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Column) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this column within its family. This is the
    * same key that's used to identify the column in, for example, a RowFilter
@@ -35,24 +17,20 @@ public interface ColumnOrBuilder
    * 
* * bytes qualifier = 1; - * * @return The qualifier. */ com.google.protobuf.ByteString getQualifier(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - java.util.List getCellsList(); + java.util.List + getCellsList(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -61,8 +39,6 @@ public interface ColumnOrBuilder */ com.google.bigtable.v2.Cell getCells(int index); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
@@ -71,23 +47,21 @@ public interface ColumnOrBuilder */ int getCellsCount(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - java.util.List getCellsOrBuilderList(); + java.util.List + getCellsOrBuilderList(); /** - * - * *
    * Must not be empty. Sorted in order of decreasing "timestamp_micros".
    * 
* * repeated .google.bigtable.v2.Cell cells = 2; */ - com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder(int index); + com.google.bigtable.v2.CellOrBuilder getCellsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java index d82f65a377..7ab75c7ee0 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRange.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of columns within a single column family.
  * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -30,55 +13,49 @@
  *
  * Protobuf type {@code google.bigtable.v2.ColumnRange}
  */
-public final class ColumnRange extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ColumnRange extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ColumnRange)
     ColumnRangeOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ColumnRange.newBuilder() to construct.
   private ColumnRange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ColumnRange() {
     familyName_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ColumnRange();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ColumnRange.class,
-            com.google.bigtable.v2.ColumnRange.Builder.class);
+            com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
   }
 
   private int startQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startQualifier_;
-
   public enum StartQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_QUALIFIER_CLOSED(2),
     START_QUALIFIER_OPEN(3),
     STARTQUALIFIER_NOT_SET(0);
     private final int value;
-
     private StartQualifierCase(int value) {
       this.value = value;
     }
@@ -94,40 +71,33 @@ public static StartQualifierCase valueOf(int value) {
 
     public static StartQualifierCase forNumber(int value) {
       switch (value) {
-        case 2:
-          return START_QUALIFIER_CLOSED;
-        case 3:
-          return START_QUALIFIER_OPEN;
-        case 0:
-          return STARTQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 2: return START_QUALIFIER_CLOSED;
+        case 3: return START_QUALIFIER_OPEN;
+        case 0: return STARTQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartQualifierCase getStartQualifierCase() {
-    return StartQualifierCase.forNumber(startQualifierCase_);
+  public StartQualifierCase
+  getStartQualifierCase() {
+    return StartQualifierCase.forNumber(
+        startQualifierCase_);
   }
 
   private int endQualifierCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object endQualifier_;
-
   public enum EndQualifierCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     END_QUALIFIER_CLOSED(4),
     END_QUALIFIER_OPEN(5),
     ENDQUALIFIER_NOT_SET(0);
     private final int value;
-
     private EndQualifierCase(int value) {
       this.value = value;
     }
@@ -143,39 +113,32 @@ public static EndQualifierCase valueOf(int value) {
 
     public static EndQualifierCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return END_QUALIFIER_CLOSED;
-        case 5:
-          return END_QUALIFIER_OPEN;
-        case 0:
-          return ENDQUALIFIER_NOT_SET;
-        default:
-          return null;
+        case 4: return END_QUALIFIER_CLOSED;
+        case 5: return END_QUALIFIER_OPEN;
+        case 0: return ENDQUALIFIER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public EndQualifierCase getEndQualifierCase() {
-    return EndQualifierCase.forNumber(endQualifierCase_);
+  public EndQualifierCase
+  getEndQualifierCase() {
+    return EndQualifierCase.forNumber(
+        endQualifierCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -184,29 +147,29 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -216,14 +179,11 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int START_QUALIFIER_CLOSED_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ @java.lang.Override @@ -231,14 +191,11 @@ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ @java.lang.Override @@ -251,14 +208,11 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { public static final int START_QUALIFIER_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ @java.lang.Override @@ -266,14 +220,11 @@ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ @java.lang.Override @@ -286,14 +237,11 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { public static final int END_QUALIFIER_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ @java.lang.Override @@ -301,14 +249,11 @@ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ @java.lang.Override @@ -321,14 +266,11 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { public static final int END_QUALIFIER_OPEN_FIELD_NUMBER = 5; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ @java.lang.Override @@ -336,14 +278,11 @@ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ @java.lang.Override @@ -355,7 +294,6 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -367,21 +305,26 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } if (startQualifierCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) startQualifier_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - output.writeBytes(5, (com.google.protobuf.ByteString) endQualifier_); + output.writeBytes( + 5, (com.google.protobuf.ByteString) endQualifier_); } getUnknownFields().writeTo(output); } @@ -396,24 +339,24 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (startQualifierCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startQualifier_); } if (startQualifierCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) startQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) startQualifier_); } if (endQualifierCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endQualifier_); } if (endQualifierCase_ == 5) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 5, (com.google.protobuf.ByteString) endQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 5, (com.google.protobuf.ByteString) endQualifier_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -423,21 +366,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ColumnRange)) { return super.equals(obj); } com.google.bigtable.v2.ColumnRange other = (com.google.bigtable.v2.ColumnRange) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getStartQualifierCase().equals(other.getStartQualifierCase())) return false; switch (startQualifierCase_) { case 2: - if (!getStartQualifierClosed().equals(other.getStartQualifierClosed())) return false; + if (!getStartQualifierClosed() + .equals(other.getStartQualifierClosed())) return false; break; case 3: - if (!getStartQualifierOpen().equals(other.getStartQualifierOpen())) return false; + if (!getStartQualifierOpen() + .equals(other.getStartQualifierOpen())) return false; break; case 0: default: @@ -445,10 +391,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndQualifierCase().equals(other.getEndQualifierCase())) return false; switch (endQualifierCase_) { case 4: - if (!getEndQualifierClosed().equals(other.getEndQualifierClosed())) return false; + if (!getEndQualifierClosed() + .equals(other.getEndQualifierClosed())) return false; break; case 5: - if (!getEndQualifierOpen().equals(other.getEndQualifierOpen())) return false; + if (!getEndQualifierOpen() + .equals(other.getEndQualifierOpen())) return false; break; case 0: default: @@ -495,103 +443,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ColumnRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ColumnRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange 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.v2.ColumnRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ColumnRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ColumnRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ColumnRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ColumnRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of columns within a single column family.
    * The range spans from &lt;column_family&gt;:&lt;start_qualifier&gt; to
@@ -601,32 +545,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ColumnRange}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ColumnRange)
       com.google.bigtable.v2.ColumnRangeOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ColumnRange.class,
-              com.google.bigtable.v2.ColumnRange.Builder.class);
+              com.google.bigtable.v2.ColumnRange.class, com.google.bigtable.v2.ColumnRange.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ColumnRange.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -640,9 +585,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ColumnRange_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ColumnRange_descriptor;
     }
 
     @java.lang.Override
@@ -662,9 +607,7 @@ public com.google.bigtable.v2.ColumnRange build() {
     @java.lang.Override
     public com.google.bigtable.v2.ColumnRange buildPartial() {
       com.google.bigtable.v2.ColumnRange result = new com.google.bigtable.v2.ColumnRange(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -688,39 +631,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ColumnRange result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ColumnRange) {
-        return mergeFrom((com.google.bigtable.v2.ColumnRange) other);
+        return mergeFrom((com.google.bigtable.v2.ColumnRange)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -735,36 +677,30 @@ public Builder mergeFrom(com.google.bigtable.v2.ColumnRange other) {
         onChanged();
       }
       switch (other.getStartQualifierCase()) {
-        case START_QUALIFIER_CLOSED:
-          {
-            setStartQualifierClosed(other.getStartQualifierClosed());
-            break;
-          }
-        case START_QUALIFIER_OPEN:
-          {
-            setStartQualifierOpen(other.getStartQualifierOpen());
-            break;
-          }
-        case STARTQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case START_QUALIFIER_CLOSED: {
+          setStartQualifierClosed(other.getStartQualifierClosed());
+          break;
+        }
+        case START_QUALIFIER_OPEN: {
+          setStartQualifierOpen(other.getStartQualifierOpen());
+          break;
+        }
+        case STARTQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       switch (other.getEndQualifierCase()) {
-        case END_QUALIFIER_CLOSED:
-          {
-            setEndQualifierClosed(other.getEndQualifierClosed());
-            break;
-          }
-        case END_QUALIFIER_OPEN:
-          {
-            setEndQualifierOpen(other.getEndQualifierOpen());
-            break;
-          }
-        case ENDQUALIFIER_NOT_SET:
-          {
-            break;
-          }
+        case END_QUALIFIER_CLOSED: {
+          setEndQualifierClosed(other.getEndQualifierClosed());
+          break;
+        }
+        case END_QUALIFIER_OPEN: {
+          setEndQualifierOpen(other.getEndQualifierOpen());
+          break;
+        }
+        case ENDQUALIFIER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -792,43 +728,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                startQualifier_ = input.readBytes();
-                startQualifierCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                endQualifier_ = input.readBytes();
-                endQualifierCase_ = 5;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              startQualifier_ = input.readBytes();
+              startQualifierCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              endQualifier_ = input.readBytes();
+              endQualifierCase_ = 5;
+              break;
+            } // case 42
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -838,12 +768,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startQualifierCase_ = 0;
     private java.lang.Object startQualifier_;
-
-    public StartQualifierCase getStartQualifierCase() {
-      return StartQualifierCase.forNumber(startQualifierCase_);
+    public StartQualifierCase
+        getStartQualifierCase() {
+      return StartQualifierCase.forNumber(
+          startQualifierCase_);
     }
 
     public Builder clearStartQualifier() {
@@ -855,9 +785,10 @@ public Builder clearStartQualifier() {
 
     private int endQualifierCase_ = 0;
     private java.lang.Object endQualifier_;
-
-    public EndQualifierCase getEndQualifierCase() {
-      return EndQualifierCase.forNumber(endQualifierCase_);
+    public EndQualifierCase
+        getEndQualifierCase() {
+      return EndQualifierCase.forNumber(
+          endQualifierCase_);
     }
 
     public Builder clearEndQualifier() {
@@ -871,20 +802,18 @@ public Builder clearEndQualifier() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -893,21 +822,20 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -915,35 +843,28 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -953,21 +874,17 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the column family within which this range falls.
      * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -976,28 +893,22 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ public boolean hasStartQualifierClosed() { return startQualifierCase_ == 2; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ public com.google.protobuf.ByteString getStartQualifierClosed() { @@ -1007,35 +918,27 @@ public com.google.protobuf.ByteString getStartQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @param value The startQualifierClosed to set. * @return This builder for chaining. */ public Builder setStartQualifierClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 2; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_qualifier_closed = 2; - * * @return This builder for chaining. */ public Builder clearStartQualifierClosed() { @@ -1048,28 +951,22 @@ public Builder clearStartQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ public boolean hasStartQualifierOpen() { return startQualifierCase_ == 3; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ public com.google.protobuf.ByteString getStartQualifierOpen() { @@ -1079,35 +976,27 @@ public com.google.protobuf.ByteString getStartQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @param value The startQualifierOpen to set. * @return This builder for chaining. */ public Builder setStartQualifierOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startQualifierCase_ = 3; startQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_qualifier_open = 3; - * * @return This builder for chaining. */ public Builder clearStartQualifierOpen() { @@ -1120,28 +1009,22 @@ public Builder clearStartQualifierOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ public boolean hasEndQualifierClosed() { return endQualifierCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ public com.google.protobuf.ByteString getEndQualifierClosed() { @@ -1151,35 +1034,27 @@ public com.google.protobuf.ByteString getEndQualifierClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @param value The endQualifierClosed to set. * @return This builder for chaining. */ public Builder setEndQualifierClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 4; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_qualifier_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndQualifierClosed() { @@ -1192,28 +1067,22 @@ public Builder clearEndQualifierClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ public boolean hasEndQualifierOpen() { return endQualifierCase_ == 5; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ public com.google.protobuf.ByteString getEndQualifierOpen() { @@ -1223,35 +1092,27 @@ public com.google.protobuf.ByteString getEndQualifierOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @param value The endQualifierOpen to set. * @return This builder for chaining. */ public Builder setEndQualifierOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endQualifierCase_ = 5; endQualifier_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_qualifier_open = 5; - * * @return This builder for chaining. */ public Builder clearEndQualifierOpen() { @@ -1262,9 +1123,9 @@ public Builder clearEndQualifierOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1274,12 +1135,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ColumnRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ColumnRange) private static final com.google.bigtable.v2.ColumnRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ColumnRange(); } @@ -1288,27 +1149,27 @@ public static com.google.bigtable.v2.ColumnRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ColumnRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ColumnRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1323,4 +1184,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ColumnRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java index 075c754e08..f88745783f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ColumnRangeOrBuilder.java @@ -1,149 +1,104 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface ColumnRangeOrBuilder - extends +public interface ColumnRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ColumnRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * The name of the column family within which this range falls.
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return Whether the startQualifierClosed field is set. */ boolean hasStartQualifierClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_qualifier_closed = 2; - * * @return The startQualifierClosed. */ com.google.protobuf.ByteString getStartQualifierClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return Whether the startQualifierOpen field is set. */ boolean hasStartQualifierOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_qualifier_open = 3; - * * @return The startQualifierOpen. */ com.google.protobuf.ByteString getStartQualifierOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return Whether the endQualifierClosed field is set. */ boolean hasEndQualifierClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_qualifier_closed = 4; - * * @return The endQualifierClosed. */ com.google.protobuf.ByteString getEndQualifierClosed(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return Whether the endQualifierOpen field is set. */ boolean hasEndQualifierOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_qualifier_open = 5; - * * @return The endQualifierOpen. */ com.google.protobuf.ByteString getEndQualifierOpen(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java new file mode 100644 index 0000000000..f28469a17a --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java @@ -0,0 +1,358 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/data.proto + +package com.google.bigtable.v2; + +public final class DataProto { + private DataProto() {} + 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_v2_Row_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Row_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Family_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Family_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Column_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Column_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Cell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Cell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowSet_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ColumnRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_TimestampRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ValueRange_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamPartition_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\035google/bigtable/v2/data.proto\022\022google." + + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" + + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" + + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" + + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" + + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." + + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" + + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" + + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" + + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" + + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" + + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" + + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." + + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" + + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" + + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" + + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" + + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" + + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" + + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" + + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" + + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" + + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" + + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" + + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" + + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" + + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" + + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" + + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" + + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" + + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" + + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" + + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" + + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" + + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" + + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" + + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" + + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" + + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" + + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" + + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" + + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" + + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" + + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" + + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" + + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" + + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" + + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" + + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" + + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" + + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" + + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" + + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" + + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." + + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." + + "google.bigtable.v2.Mutation.DeleteFromCo" + + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" + + "gle.bigtable.v2.Mutation.DeleteFromFamil" + + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" + + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" + + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" + + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" + + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" + + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" + + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" + + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" + + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" + + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" + + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" + + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" + + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" + + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" + + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" + + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" + + "tinuationToken\"`\n\027StreamContinuationToke" + + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" + + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" + + ".google.bigtable.v2B\tDataProtoP\001Z:google" + + ".golang.org/genproto/googleapis/bigtable" + + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" + + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" + + "ud::Bigtable::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_Row_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_Row_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Row_descriptor, + new java.lang.String[] { "Key", "Families", }); + internal_static_google_bigtable_v2_Family_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_bigtable_v2_Family_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Family_descriptor, + new java.lang.String[] { "Name", "Columns", }); + internal_static_google_bigtable_v2_Column_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_bigtable_v2_Column_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Column_descriptor, + new java.lang.String[] { "Qualifier", "Cells", }); + internal_static_google_bigtable_v2_Cell_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_bigtable_v2_Cell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Cell_descriptor, + new java.lang.String[] { "TimestampMicros", "Value", "Labels", }); + internal_static_google_bigtable_v2_RowRange_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowRange_descriptor, + new java.lang.String[] { "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", }); + internal_static_google_bigtable_v2_RowSet_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowSet_descriptor, + new java.lang.String[] { "RowKeys", "RowRanges", }); + internal_static_google_bigtable_v2_ColumnRange_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ColumnRange_descriptor, + new java.lang.String[] { "FamilyName", "StartQualifierClosed", "StartQualifierOpen", "EndQualifierClosed", "EndQualifierOpen", "StartQualifier", "EndQualifier", }); + internal_static_google_bigtable_v2_TimestampRange_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_TimestampRange_descriptor, + new java.lang.String[] { "StartTimestampMicros", "EndTimestampMicros", }); + internal_static_google_bigtable_v2_ValueRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ValueRange_descriptor, + new java.lang.String[] { "StartValueClosed", "StartValueOpen", "EndValueClosed", "EndValueOpen", "StartValue", "EndValue", }); + internal_static_google_bigtable_v2_RowFilter_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_descriptor, + new java.lang.String[] { "Chain", "Interleave", "Condition", "Sink", "PassAllFilter", "BlockAllFilter", "RowKeyRegexFilter", "RowSampleFilter", "FamilyNameRegexFilter", "ColumnQualifierRegexFilter", "ColumnRangeFilter", "TimestampRangeFilter", "ValueRegexFilter", "ValueRangeFilter", "CellsPerRowOffsetFilter", "CellsPerRowLimitFilter", "CellsPerColumnLimitFilter", "StripValueTransformer", "ApplyLabelTransformer", "Filter", }); + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, + new java.lang.String[] { "Filters", }); + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = + internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, + new java.lang.String[] { "PredicateFilter", "TrueFilter", "FalseFilter", }); + internal_static_google_bigtable_v2_Mutation_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_descriptor, + new java.lang.String[] { "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", }); + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); + internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "TimeRange", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, + new java.lang.String[] { "FamilyName", }); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = + internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, + new java.lang.String[] { }); + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, + new java.lang.String[] { "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", }); + internal_static_google_bigtable_v2_StreamPartition_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamPartition_descriptor, + new java.lang.String[] { "RowRange", }); + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, + new java.lang.String[] { "Tokens", }); + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, + new java.lang.String[] { "Partition", "Token", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java index 80d4f77fb8..b8953d29a8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Family.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies (some of) the contents of a single row/column family intersection
  * of a table.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Family}
  */
-public final class Family extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Family extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Family)
     FamilyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Family.newBuilder() to construct.
   private Family(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Family() {
     name_ = "";
     columns_ = java.util.Collections.emptyList();
@@ -45,30 +27,28 @@ private Family() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Family();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -79,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -88,15 +67,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -107,15 +85,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -124,12 +103,9 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int COLUMNS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List columns_; /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -141,8 +117,6 @@ public java.util.List getColumnsList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -150,13 +124,11 @@ public java.util.List getColumnsList() { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public java.util.List + public java.util.List getColumnsOrBuilderList() { return columns_; } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -168,8 +140,6 @@ public int getColumnsCount() { return columns_.size(); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -181,8 +151,6 @@ public com.google.bigtable.v2.Column getColumns(int index) { return columns_.get(index); } /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -190,12 +158,12 @@ public com.google.bigtable.v2.Column getColumns(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ @java.lang.Override - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,7 +175,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -227,7 +196,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < columns_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, columns_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, columns_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -237,15 +207,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Family)) { return super.equals(obj); } com.google.bigtable.v2.Family other = (com.google.bigtable.v2.Family) obj; - if (!getName().equals(other.getName())) return false; - if (!getColumnsList().equals(other.getColumnsList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getColumnsList() + .equals(other.getColumnsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -268,103 +240,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Family parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Family parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family 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.v2.Family parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Family parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Family parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Family parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Family parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.Family parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.Family parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Family parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Family prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies (some of) the contents of a single row/column family intersection
    * of a table.
@@ -372,30 +340,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Family}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Family)
       com.google.bigtable.v2.FamilyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Family_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Family.class, com.google.bigtable.v2.Family.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Family.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -412,7 +383,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Family_descriptor;
     }
 
@@ -434,9 +406,7 @@ public com.google.bigtable.v2.Family build() {
     public com.google.bigtable.v2.Family buildPartial() {
       com.google.bigtable.v2.Family result = new com.google.bigtable.v2.Family(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -464,39 +434,38 @@ private void buildPartial0(com.google.bigtable.v2.Family result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Family) {
-        return mergeFrom((com.google.bigtable.v2.Family) other);
+        return mergeFrom((com.google.bigtable.v2.Family)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -528,10 +497,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Family other) {
             columnsBuilder_ = null;
             columns_ = other.columns_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            columnsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getColumnsFieldBuilder()
-                    : null;
+            columnsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getColumnsFieldBuilder() : null;
           } else {
             columnsBuilder_.addAllMessages(other.columns_);
           }
@@ -563,31 +531,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Column m =
-                    input.readMessage(com.google.bigtable.v2.Column.parser(), extensionRegistry);
-                if (columnsBuilder_ == null) {
-                  ensureColumnsIsMutable();
-                  columns_.add(m);
-                } else {
-                  columnsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Column m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Column.parser(),
+                      extensionRegistry);
+              if (columnsBuilder_ == null) {
+                ensureColumnsIsMutable();
+                columns_.add(m);
+              } else {
+                columnsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -597,13 +564,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -614,13 +578,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -629,8 +593,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -641,14 +603,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -656,8 +619,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -668,22 +629,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -694,7 +651,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -704,8 +660,6 @@ public Builder clearName() { return this; } /** - * - * *
      * The unique key which identifies this family within its row. This is the
      * same key that's used to identify the family in, for example, a RowFilter
@@ -716,14 +670,12 @@ public Builder clearName() {
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -732,24 +684,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { } private java.util.List columns_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> - columnsBuilder_; + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> columnsBuilder_; /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -764,8 +710,6 @@ public java.util.List getColumnsList() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -780,8 +724,6 @@ public int getColumnsCount() { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -796,15 +738,14 @@ public com.google.bigtable.v2.Column getColumns(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column value) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -818,15 +759,14 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder setColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); @@ -837,8 +777,6 @@ public Builder setColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -859,15 +797,14 @@ public Builder addColumns(com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column value) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,15 +818,14 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column value) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); @@ -900,15 +836,14 @@ public Builder addColumns(com.google.bigtable.v2.Column.Builder builderForValue) return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder builderForValue) { + public Builder addColumns( + int index, com.google.bigtable.v2.Column.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); @@ -919,8 +854,6 @@ public Builder addColumns(int index, com.google.bigtable.v2.Column.Builder build return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -931,7 +864,8 @@ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, columns_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); @@ -939,8 +873,6 @@ public Builder addAllColumns( return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -958,8 +890,6 @@ public Builder clearColumns() { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -977,44 +907,39 @@ public Builder removeColumns(int index) { return this; } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder getColumnsBuilder(int index) { + public com.google.bigtable.v2.Column.Builder getColumnsBuilder( + int index) { return getColumnsFieldBuilder().getBuilder(index); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { + public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index) { if (columnsBuilder_ == null) { - return columns_.get(index); - } else { + return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List - getColumnsOrBuilderList() { + public java.util.List + getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { @@ -1022,8 +947,6 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { } } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
@@ -1031,54 +954,49 @@ public com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index) { * repeated .google.bigtable.v2.Column columns = 2; */ public com.google.bigtable.v2.Column.Builder addColumnsBuilder() { - return getColumnsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Column.getDefaultInstance()); + return getColumnsFieldBuilder().addBuilder( + com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public com.google.bigtable.v2.Column.Builder addColumnsBuilder(int index) { - return getColumnsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Column.getDefaultInstance()); + public com.google.bigtable.v2.Column.Builder addColumnsBuilder( + int index) { + return getColumnsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Column.getDefaultInstance()); } /** - * - * *
      * Must not be empty. Sorted in order of increasing "qualifier".
      * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - public java.util.List getColumnsBuilderList() { + public java.util.List + getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder> + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { - columnsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Column, - com.google.bigtable.v2.Column.Builder, - com.google.bigtable.v2.ColumnOrBuilder>( - columns_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + columnsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Column, com.google.bigtable.v2.Column.Builder, com.google.bigtable.v2.ColumnOrBuilder>( + columns_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); columns_ = null; } return columnsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1088,12 +1006,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Family) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Family) private static final com.google.bigtable.v2.Family DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Family(); } @@ -1102,27 +1020,27 @@ public static com.google.bigtable.v2.Family getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Family parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Family parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1137,4 +1055,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Family getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java similarity index 71% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java index 8eb4aeb6f6..43726ae844 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FamilyOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface FamilyOrBuilder - extends +public interface FamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Family) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -36,13 +18,10 @@ public interface FamilyOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The unique key which identifies this family within its row. This is the
    * same key that's used to identify the family in, for example, a RowFilter
@@ -53,24 +32,21 @@ public interface FamilyOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - java.util.List getColumnsList(); + java.util.List + getColumnsList(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -79,8 +55,6 @@ public interface FamilyOrBuilder */ com.google.bigtable.v2.Column getColumns(int index); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
@@ -89,23 +63,21 @@ public interface FamilyOrBuilder */ int getColumnsCount(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - java.util.List getColumnsOrBuilderList(); + java.util.List + getColumnsOrBuilderList(); /** - * - * *
    * Must not be empty. Sorted in order of increasing "qualifier".
    * 
* * repeated .google.bigtable.v2.Column columns = 2; */ - com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder(int index); + com.google.bigtable.v2.ColumnOrBuilder getColumnsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java similarity index 72% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java index 953adab411..365ec64ef6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlags.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/feature_flags.proto package com.google.bigtable.v2; /** - * - * *
  * Feature flags supported or enabled by a client.
  * This is intended to be sent as part of request metadata to assure the server
@@ -34,51 +17,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.FeatureFlags}
  */
-public final class FeatureFlags extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class FeatureFlags extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.FeatureFlags)
     FeatureFlagsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use FeatureFlags.newBuilder() to construct.
   private FeatureFlags(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private FeatureFlags() {}
+  private FeatureFlags() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new FeatureFlags();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.FeatureFlagsProto
-        .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+    return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.FeatureFlags.class,
-            com.google.bigtable.v2.FeatureFlags.Builder.class);
+            com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
   }
 
   public static final int REVERSE_SCANS_FIELD_NUMBER = 1;
   private boolean reverseScans_ = false;
   /**
-   *
-   *
    * 
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ @java.lang.Override @@ -89,8 +68,6 @@ public boolean getReverseScans() { public static final int MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER = 3; private boolean mutateRowsRateLimit_ = false; /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -98,7 +75,6 @@ public boolean getReverseScans() {
    * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -109,8 +85,6 @@ public boolean getMutateRowsRateLimit() { public static final int MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER = 5; private boolean mutateRowsRateLimit2_ = false; /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -118,7 +92,6 @@ public boolean getMutateRowsRateLimit() {
    * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ @java.lang.Override @@ -129,15 +102,12 @@ public boolean getMutateRowsRateLimit2() { public static final int LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER = 4; private boolean lastScannedRowResponses_ = false; /** - * - * *
    * Notify the server that the client supports the last_scanned_row field
    * in ReadRowsResponse for long-running scans.
    * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ @java.lang.Override @@ -146,7 +116,6 @@ public boolean getLastScannedRowResponses() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -158,7 +127,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (reverseScans_ != false) { output.writeBool(1, reverseScans_); } @@ -181,16 +151,20 @@ public int getSerializedSize() { size = 0; if (reverseScans_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, reverseScans_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, reverseScans_); } if (mutateRowsRateLimit_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, mutateRowsRateLimit_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, mutateRowsRateLimit_); } if (lastScannedRowResponses_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, lastScannedRowResponses_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, lastScannedRowResponses_); } if (mutateRowsRateLimit2_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, mutateRowsRateLimit2_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, mutateRowsRateLimit2_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -200,17 +174,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.FeatureFlags)) { return super.equals(obj); } com.google.bigtable.v2.FeatureFlags other = (com.google.bigtable.v2.FeatureFlags) obj; - if (getReverseScans() != other.getReverseScans()) return false; - if (getMutateRowsRateLimit() != other.getMutateRowsRateLimit()) return false; - if (getMutateRowsRateLimit2() != other.getMutateRowsRateLimit2()) return false; - if (getLastScannedRowResponses() != other.getLastScannedRowResponses()) return false; + if (getReverseScans() + != other.getReverseScans()) return false; + if (getMutateRowsRateLimit() + != other.getMutateRowsRateLimit()) return false; + if (getMutateRowsRateLimit2() + != other.getMutateRowsRateLimit2()) return false; + if (getLastScannedRowResponses() + != other.getLastScannedRowResponses()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -223,115 +201,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + REVERSE_SCANS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReverseScans()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReverseScans()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMutateRowsRateLimit()); hash = (37 * hash) + MUTATE_ROWS_RATE_LIMIT2_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getMutateRowsRateLimit2()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMutateRowsRateLimit2()); hash = (37 * hash) + LAST_SCANNED_ROW_RESPONSES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastScannedRowResponses()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLastScannedRowResponses()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.FeatureFlags parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.FeatureFlags parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags 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.v2.FeatureFlags parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.FeatureFlags parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.FeatureFlags parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.FeatureFlags prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Feature flags supported or enabled by a client.
    * This is intended to be sent as part of request metadata to assure the server
@@ -345,32 +323,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.FeatureFlags}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FeatureFlags)
       com.google.bigtable.v2.FeatureFlagsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.FeatureFlags.class,
-              com.google.bigtable.v2.FeatureFlags.Builder.class);
+              com.google.bigtable.v2.FeatureFlags.class, com.google.bigtable.v2.FeatureFlags.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.FeatureFlags.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -383,9 +362,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.FeatureFlagsProto
-          .internal_static_google_bigtable_v2_FeatureFlags_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.FeatureFlagsProto.internal_static_google_bigtable_v2_FeatureFlags_descriptor;
     }
 
     @java.lang.Override
@@ -405,9 +384,7 @@ public com.google.bigtable.v2.FeatureFlags build() {
     @java.lang.Override
     public com.google.bigtable.v2.FeatureFlags buildPartial() {
       com.google.bigtable.v2.FeatureFlags result = new com.google.bigtable.v2.FeatureFlags(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -432,39 +409,38 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.FeatureFlags) {
-        return mergeFrom((com.google.bigtable.v2.FeatureFlags) other);
+        return mergeFrom((com.google.bigtable.v2.FeatureFlags)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,37 +487,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                reverseScans_ = input.readBool();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 24:
-              {
-                mutateRowsRateLimit_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 24
-            case 32:
-              {
-                lastScannedRowResponses_ = input.readBool();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            case 40:
-              {
-                mutateRowsRateLimit2_ = input.readBool();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 40
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              reverseScans_ = input.readBool();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 24: {
+              mutateRowsRateLimit_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 24
+            case 32: {
+              lastScannedRowResponses_ = input.readBool();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            case 40: {
+              mutateRowsRateLimit2_ = input.readBool();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 40
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -551,20 +522,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private boolean reverseScans_;
+    private boolean reverseScans_ ;
     /**
-     *
-     *
      * 
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ @java.lang.Override @@ -572,15 +539,12 @@ public boolean getReverseScans() { return reverseScans_; } /** - * - * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @param value The reverseScans to set. * @return This builder for chaining. */ @@ -592,15 +556,12 @@ public Builder setReverseScans(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports reverse scans. The server will
      * reject ReadRowsRequests with the reverse bit set when this is absent.
      * 
* * bool reverse_scans = 1; - * * @return This builder for chaining. */ public Builder clearReverseScans() { @@ -610,10 +571,8 @@ public Builder clearReverseScans() { return this; } - private boolean mutateRowsRateLimit_; + private boolean mutateRowsRateLimit_ ; /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -621,7 +580,6 @@ public Builder clearReverseScans() {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ @java.lang.Override @@ -629,8 +587,6 @@ public boolean getMutateRowsRateLimit() { return mutateRowsRateLimit_; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -638,7 +594,6 @@ public boolean getMutateRowsRateLimit() {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @param value The mutateRowsRateLimit to set. * @return This builder for chaining. */ @@ -650,8 +605,6 @@ public Builder setMutateRowsRateLimit(boolean value) { return this; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -659,7 +612,6 @@ public Builder setMutateRowsRateLimit(boolean value) {
      * 
* * bool mutate_rows_rate_limit = 3; - * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit() { @@ -669,10 +621,8 @@ public Builder clearMutateRowsRateLimit() { return this; } - private boolean mutateRowsRateLimit2_; + private boolean mutateRowsRateLimit2_ ; /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -680,7 +630,6 @@ public Builder clearMutateRowsRateLimit() {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ @java.lang.Override @@ -688,8 +637,6 @@ public boolean getMutateRowsRateLimit2() { return mutateRowsRateLimit2_; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -697,7 +644,6 @@ public boolean getMutateRowsRateLimit2() {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @param value The mutateRowsRateLimit2 to set. * @return This builder for chaining. */ @@ -709,8 +655,6 @@ public Builder setMutateRowsRateLimit2(boolean value) { return this; } /** - * - * *
      * Notify the server that the client enables batch write flow control by
      * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -718,7 +662,6 @@ public Builder setMutateRowsRateLimit2(boolean value) {
      * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return This builder for chaining. */ public Builder clearMutateRowsRateLimit2() { @@ -728,17 +671,14 @@ public Builder clearMutateRowsRateLimit2() { return this; } - private boolean lastScannedRowResponses_; + private boolean lastScannedRowResponses_ ; /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ @java.lang.Override @@ -746,15 +686,12 @@ public boolean getLastScannedRowResponses() { return lastScannedRowResponses_; } /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @param value The lastScannedRowResponses to set. * @return This builder for chaining. */ @@ -766,15 +703,12 @@ public Builder setLastScannedRowResponses(boolean value) { return this; } /** - * - * *
      * Notify the server that the client supports the last_scanned_row field
      * in ReadRowsResponse for long-running scans.
      * 
* * bool last_scanned_row_responses = 4; - * * @return This builder for chaining. */ public Builder clearLastScannedRowResponses() { @@ -783,9 +717,9 @@ public Builder clearLastScannedRowResponses() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -795,12 +729,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FeatureFlags) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.FeatureFlags) private static final com.google.bigtable.v2.FeatureFlags DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.FeatureFlags(); } @@ -809,27 +743,27 @@ public static com.google.bigtable.v2.FeatureFlags getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public FeatureFlags parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FeatureFlags parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -844,4 +778,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.FeatureFlags getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java index 0696b9d05a..f29fdf4f42 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsOrBuilder.java @@ -1,45 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/feature_flags.proto package com.google.bigtable.v2; -public interface FeatureFlagsOrBuilder - extends +public interface FeatureFlagsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FeatureFlags) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Notify the server that the client supports reverse scans. The server will
    * reject ReadRowsRequests with the reverse bit set when this is absent.
    * 
* * bool reverse_scans = 1; - * * @return The reverseScans. */ boolean getReverseScans(); /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
@@ -47,14 +26,11 @@ public interface FeatureFlagsOrBuilder
    * 
* * bool mutate_rows_rate_limit = 3; - * * @return The mutateRowsRateLimit. */ boolean getMutateRowsRateLimit(); /** - * - * *
    * Notify the server that the client enables batch write flow control by
    * requesting RateLimitInfo from MutateRowsResponse. With partial retries
@@ -62,21 +38,17 @@ public interface FeatureFlagsOrBuilder
    * 
* * bool mutate_rows_rate_limit2 = 5; - * * @return The mutateRowsRateLimit2. */ boolean getMutateRowsRateLimit2(); /** - * - * *
    * Notify the server that the client supports the last_scanned_row field
    * in ReadRowsResponse for long-running scans.
    * 
* * bool last_scanned_row_responses = 4; - * * @return The lastScannedRowResponses. */ boolean getLastScannedRowResponses(); diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java new file mode 100644 index 0000000000..cf63dd2649 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java @@ -0,0 +1,56 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/feature_flags.proto + +package com.google.bigtable.v2; + +public final class FeatureFlagsProto { + private FeatureFlagsProto() {} + 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_v2_FeatureFlags_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n&google/bigtable/v2/feature_flags.proto" + + "\022\022google.bigtable.v2\"\212\001\n\014FeatureFlags\022\025\n" + + "\rreverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate" + + "_limit\030\003 \001(\010\022\037\n\027mutate_rows_rate_limit2\030" + + "\005 \001(\010\022\"\n\032last_scanned_row_responses\030\004 \001(" + + "\010B\275\001\n\026com.google.bigtable.v2B\021FeatureFla" + + "gsProtoP\001Z:google.golang.org/genproto/go" + + "ogleapis/bigtable/v2;bigtable\252\002\030Google.C" + + "loud.Bigtable.V2\312\002\030Google\\Cloud\\Bigtable" + + "\\V2\352\002\033Google::Cloud::Bigtable::V2b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_FeatureFlags_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_FeatureFlags_descriptor, + new java.lang.String[] { "ReverseScans", "MutateRowsRateLimit", "MutateRowsRateLimit2", "LastScannedRowResponses", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java index 55bb6ed5b9..3c667a798d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsView.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
  * FullReadStatsView captures all known information about a read.
  * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ -public final class FullReadStatsView extends com.google.protobuf.GeneratedMessageV3 - implements +public final class FullReadStatsView extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.FullReadStatsView) FullReadStatsViewOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use FullReadStatsView.newBuilder() to construct. private FullReadStatsView(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private FullReadStatsView() {} + private FullReadStatsView() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new FullReadStatsView(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } public static final int READ_ITERATION_STATS_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -73,7 +53,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ @java.lang.Override @@ -81,8 +60,6 @@ public boolean hasReadIterationStats() { return readIterationStats_ != null; } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -91,18 +68,13 @@ public boolean hasReadIterationStats() {
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ @java.lang.Override public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -114,23 +86,18 @@ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder() {
-    return readIterationStats_ == null
-        ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-        : readIterationStats_;
+    return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
   }
 
   public static final int REQUEST_LATENCY_STATS_FIELD_NUMBER = 2;
   private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ @java.lang.Override @@ -138,26 +105,19 @@ public boolean hasRequestLatencyStats() { return requestLatencyStats_ != null; } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ @java.lang.Override public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
@@ -167,13 +127,10 @@ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStatsOrBuilder() {
-    return requestLatencyStats_ == null
-        ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-        : requestLatencyStats_;
+    return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -185,7 +142,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (readIterationStats_ != null) {
       output.writeMessage(1, getReadIterationStats());
     }
@@ -202,10 +160,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (readIterationStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadIterationStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getReadIterationStats());
     }
     if (requestLatencyStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRequestLatencyStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getRequestLatencyStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -215,7 +175,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.FullReadStatsView)) {
       return super.equals(obj);
@@ -224,11 +184,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasReadIterationStats() != other.hasReadIterationStats()) return false;
     if (hasReadIterationStats()) {
-      if (!getReadIterationStats().equals(other.getReadIterationStats())) return false;
+      if (!getReadIterationStats()
+          .equals(other.getReadIterationStats())) return false;
     }
     if (hasRequestLatencyStats() != other.hasRequestLatencyStats()) return false;
     if (hasRequestLatencyStats()) {
-      if (!getRequestLatencyStats().equals(other.getRequestLatencyStats())) return false;
+      if (!getRequestLatencyStats()
+          .equals(other.getRequestLatencyStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -254,136 +216,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.FullReadStatsView parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView 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.v2.FullReadStatsView parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.FullReadStatsView parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.FullReadStatsView parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.FullReadStatsView prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * FullReadStatsView captures all known information about a read.
    * 
* * Protobuf type {@code google.bigtable.v2.FullReadStatsView} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.FullReadStatsView) com.google.bigtable.v2.FullReadStatsViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.FullReadStatsView.class, - com.google.bigtable.v2.FullReadStatsView.Builder.class); + com.google.bigtable.v2.FullReadStatsView.class, com.google.bigtable.v2.FullReadStatsView.Builder.class); } // Construct using com.google.bigtable.v2.FullReadStatsView.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -402,9 +360,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.RequestStatsProto - .internal_static_google_bigtable_v2_FullReadStatsView_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_FullReadStatsView_descriptor; } @java.lang.Override @@ -423,11 +381,8 @@ public com.google.bigtable.v2.FullReadStatsView build() { @java.lang.Override public com.google.bigtable.v2.FullReadStatsView buildPartial() { - com.google.bigtable.v2.FullReadStatsView result = - new com.google.bigtable.v2.FullReadStatsView(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.FullReadStatsView result = new com.google.bigtable.v2.FullReadStatsView(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -435,16 +390,14 @@ public com.google.bigtable.v2.FullReadStatsView buildPartial() { private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readIterationStats_ = - readIterationStatsBuilder_ == null - ? readIterationStats_ - : readIterationStatsBuilder_.build(); + result.readIterationStats_ = readIterationStatsBuilder_ == null + ? readIterationStats_ + : readIterationStatsBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.requestLatencyStats_ = - requestLatencyStatsBuilder_ == null - ? requestLatencyStats_ - : requestLatencyStatsBuilder_.build(); + result.requestLatencyStats_ = requestLatencyStatsBuilder_ == null + ? requestLatencyStats_ + : requestLatencyStatsBuilder_.build(); } } @@ -452,39 +405,38 @@ private void buildPartial0(com.google.bigtable.v2.FullReadStatsView result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.FullReadStatsView) { - return mergeFrom((com.google.bigtable.v2.FullReadStatsView) other); + return mergeFrom((com.google.bigtable.v2.FullReadStatsView)other); } else { super.mergeFrom(other); return this; @@ -525,27 +477,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage( - getReadIterationStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getRequestLatencyStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadIterationStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRequestLatencyStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -555,18 +506,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadIterationStats readIterationStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadIterationStats, - com.google.bigtable.v2.ReadIterationStats.Builder, - com.google.bigtable.v2.ReadIterationStatsOrBuilder> - readIterationStatsBuilder_; + com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> readIterationStatsBuilder_; /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -575,15 +520,12 @@ public Builder mergeFrom(
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ public boolean hasReadIterationStats() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -592,21 +534,16 @@ public boolean hasReadIterationStats() {
      * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ public com.google.bigtable.v2.ReadIterationStats getReadIterationStats() { if (readIterationStatsBuilder_ == null) { - return readIterationStats_ == null - ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() - : readIterationStats_; + return readIterationStats_ == null ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_; } else { return readIterationStatsBuilder_.getMessage(); } } /** - * - * *
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -630,8 +567,6 @@ public Builder setReadIterationStats(com.google.bigtable.v2.ReadIterationStats v
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -653,8 +588,6 @@ public Builder setReadIterationStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -666,10 +599,9 @@ public Builder setReadIterationStats(
      */
     public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats value) {
       if (readIterationStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && readIterationStats_ != null
-            && readIterationStats_
-                != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          readIterationStats_ != null &&
+          readIterationStats_ != com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()) {
           getReadIterationStatsBuilder().mergeFrom(value);
         } else {
           readIterationStats_ = value;
@@ -682,8 +614,6 @@ public Builder mergeReadIterationStats(com.google.bigtable.v2.ReadIterationStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -704,8 +634,6 @@ public Builder clearReadIterationStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -721,8 +649,6 @@ public com.google.bigtable.v2.ReadIterationStats.Builder getReadIterationStatsBu
       return getReadIterationStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -736,14 +662,11 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
       if (readIterationStatsBuilder_ != null) {
         return readIterationStatsBuilder_.getMessageOrBuilder();
       } else {
-        return readIterationStats_ == null
-            ? com.google.bigtable.v2.ReadIterationStats.getDefaultInstance()
-            : readIterationStats_;
+        return readIterationStats_ == null ?
+            com.google.bigtable.v2.ReadIterationStats.getDefaultInstance() : readIterationStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Iteration stats describe how efficient the read is, e.g. comparing
      * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -754,17 +677,14 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
      * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadIterationStats,
-            com.google.bigtable.v2.ReadIterationStats.Builder,
-            com.google.bigtable.v2.ReadIterationStatsOrBuilder>
+        com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder> 
         getReadIterationStatsFieldBuilder() {
       if (readIterationStatsBuilder_ == null) {
-        readIterationStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.ReadIterationStats,
-                com.google.bigtable.v2.ReadIterationStats.Builder,
-                com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
-                getReadIterationStats(), getParentForChildren(), isClean());
+        readIterationStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.ReadIterationStats, com.google.bigtable.v2.ReadIterationStats.Builder, com.google.bigtable.v2.ReadIterationStatsOrBuilder>(
+                getReadIterationStats(),
+                getParentForChildren(),
+                isClean());
         readIterationStats_ = null;
       }
       return readIterationStatsBuilder_;
@@ -772,49 +692,36 @@ public com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsO
 
     private com.google.bigtable.v2.RequestLatencyStats requestLatencyStats_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
-        requestLatencyStatsBuilder_;
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> requestLatencyStatsBuilder_;
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ public boolean hasRequestLatencyStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
      * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ public com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats() { if (requestLatencyStatsBuilder_ == null) { - return requestLatencyStats_ == null - ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() - : requestLatencyStats_; + return requestLatencyStats_ == null ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_; } else { return requestLatencyStatsBuilder_.getMessage(); } } /** - * - * *
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -836,8 +743,6 @@ public Builder setRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -857,8 +762,6 @@ public Builder setRequestLatencyStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -868,10 +771,9 @@ public Builder setRequestLatencyStats(
      */
     public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencyStats value) {
       if (requestLatencyStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && requestLatencyStats_ != null
-            && requestLatencyStats_
-                != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          requestLatencyStats_ != null &&
+          requestLatencyStats_ != com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()) {
           getRequestLatencyStatsBuilder().mergeFrom(value);
         } else {
           requestLatencyStats_ = value;
@@ -884,8 +786,6 @@ public Builder mergeRequestLatencyStats(com.google.bigtable.v2.RequestLatencySta
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -904,8 +804,6 @@ public Builder clearRequestLatencyStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -919,8 +817,6 @@ public com.google.bigtable.v2.RequestLatencyStats.Builder getRequestLatencyStats
       return getRequestLatencyStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -932,14 +828,11 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
       if (requestLatencyStatsBuilder_ != null) {
         return requestLatencyStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestLatencyStats_ == null
-            ? com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance()
-            : requestLatencyStats_;
+        return requestLatencyStats_ == null ?
+            com.google.bigtable.v2.RequestLatencyStats.getDefaultInstance() : requestLatencyStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Request latency stats describe the time taken to complete a request, from
      * the server side.
@@ -948,24 +841,21 @@ public com.google.bigtable.v2.RequestLatencyStatsOrBuilder getRequestLatencyStat
      * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestLatencyStats,
-            com.google.bigtable.v2.RequestLatencyStats.Builder,
-            com.google.bigtable.v2.RequestLatencyStatsOrBuilder>
+        com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder> 
         getRequestLatencyStatsFieldBuilder() {
       if (requestLatencyStatsBuilder_ == null) {
-        requestLatencyStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestLatencyStats,
-                com.google.bigtable.v2.RequestLatencyStats.Builder,
-                com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
-                getRequestLatencyStats(), getParentForChildren(), isClean());
+        requestLatencyStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestLatencyStats, com.google.bigtable.v2.RequestLatencyStats.Builder, com.google.bigtable.v2.RequestLatencyStatsOrBuilder>(
+                getRequestLatencyStats(),
+                getParentForChildren(),
+                isClean());
         requestLatencyStats_ = null;
       }
       return requestLatencyStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -975,12 +865,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.FullReadStatsView)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.FullReadStatsView)
   private static final com.google.bigtable.v2.FullReadStatsView DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.FullReadStatsView();
   }
@@ -989,27 +879,27 @@ public static com.google.bigtable.v2.FullReadStatsView getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public FullReadStatsView parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public FullReadStatsView parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1024,4 +914,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.FullReadStatsView getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
similarity index 78%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
index a355987a7c..1b0c49af90 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FullReadStatsViewOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface FullReadStatsViewOrBuilder
-    extends
+public interface FullReadStatsViewOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.FullReadStatsView)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -34,13 +16,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return Whether the readIterationStats field is set. */ boolean hasReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -49,13 +28,10 @@ public interface FullReadStatsViewOrBuilder
    * 
* * .google.bigtable.v2.ReadIterationStats read_iteration_stats = 1; - * * @return The readIterationStats. */ com.google.bigtable.v2.ReadIterationStats getReadIterationStats(); /** - * - * *
    * Iteration stats describe how efficient the read is, e.g. comparing
    * rows seen vs. rows returned or cells seen vs cells returned can provide an
@@ -68,34 +44,26 @@ public interface FullReadStatsViewOrBuilder
   com.google.bigtable.v2.ReadIterationStatsOrBuilder getReadIterationStatsOrBuilder();
 
   /**
-   *
-   *
    * 
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return Whether the requestLatencyStats field is set. */ boolean hasRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
    * 
* * .google.bigtable.v2.RequestLatencyStats request_latency_stats = 2; - * * @return The requestLatencyStats. */ com.google.bigtable.v2.RequestLatencyStats getRequestLatencyStats(); /** - * - * *
    * Request latency stats describe the time taken to complete a request, from
    * the server side.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
similarity index 63%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
index a32803c4dd..fef510e911 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequest.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -28,18 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
  */
-public final class GenerateInitialChangeStreamPartitionsRequest
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
     GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsRequest.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsRequest(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GenerateInitialChangeStreamPartitionsRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -47,32 +27,28 @@ private GenerateInitialChangeStreamPartitionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -80,10 +56,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -92,15 +65,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -108,18 +80,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -128,12 +99,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -141,7 +109,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -150,15 +117,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -166,15 +132,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -183,7 +150,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -195,7 +161,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -225,16 +192,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -256,105 +224,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest 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.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - 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.v2.GenerateInitialChangeStreamPartitionsRequest 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.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -362,33 +323,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -399,16 +360,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -422,17 +381,13 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest build
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.tableName_ = tableName_;
@@ -446,51 +401,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest.getDefaultInstance()) return this;
       if (!other.getTableName().isEmpty()) {
         tableName_ = other.tableName_;
         bitField0_ |= 0x00000001;
@@ -527,25 +477,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,13 +502,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -569,16 +513,14 @@ public Builder mergeFrom(
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -587,8 +529,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -596,17 +536,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -614,8 +553,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -623,25 +560,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -649,10 +580,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -662,8 +590,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to get change stream
      * partitions. Values are of the form
@@ -671,17 +597,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -691,8 +613,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -700,13 +620,13 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -715,8 +635,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -724,14 +642,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -739,8 +658,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -748,22 +665,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -771,7 +684,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -781,8 +693,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -790,23 +700,21 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -816,59 +724,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java index 39d9dcb2c5..db460c51a1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsRequestOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -33,16 +15,11 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to get change stream
    * partitions. Values are of the form
@@ -50,17 +27,13 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -68,13 +41,10 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -82,8 +52,8 @@ public interface GenerateInitialChangeStreamPartitionsRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java similarity index 60% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java index 55a97f1c5d..19b77e2f38 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -28,52 +11,46 @@
  *
  * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
  */
-public final class GenerateInitialChangeStreamPartitionsResponse
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GenerateInitialChangeStreamPartitionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
     GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GenerateInitialChangeStreamPartitionsResponse.newBuilder() to construct.
-  private GenerateInitialChangeStreamPartitionsResponse(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private GenerateInitialChangeStreamPartitionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private GenerateInitialChangeStreamPartitionsResponse() {}
+  private GenerateInitialChangeStreamPartitionsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GenerateInitialChangeStreamPartitionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+            com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -81,25 +58,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * A partition of the change stream.
    * 
@@ -108,13 +78,10 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -126,7 +93,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -140,7 +108,8 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,17 +119,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)) { return super.equals(obj); } - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = - (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; + com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other = (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -183,105 +152,98 @@ public int hashCode() { } public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse 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.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - 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.v2.GenerateInitialChangeStreamPartitionsResponse 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.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { + public static Builder newBuilder(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.GenerateInitialChangeStreamPartitions.
@@ -289,33 +251,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)
       com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class,
-              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
+              com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.class, com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,16 +291,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-        getDefaultInstanceForType() {
-      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-          .getDefaultInstance();
+    public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() {
+      return com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -352,20 +312,18 @@ public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buil
 
     @java.lang.Override
     public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse buildPartial() {
-      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result =
-          new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
+    private void buildPartial0(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
     }
 
@@ -373,51 +331,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) {
-        return mergeFrom(
-            (com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) other);
+        return mergeFrom((com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
-      if (other
-          == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse other) {
+      if (other == com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse.getDefaultInstance()) return this;
       if (other.hasPartition()) {
         mergePartition(other.getPartition());
       }
@@ -447,19 +400,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -469,52 +422,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -535,15 +474,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -554,8 +492,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -564,9 +500,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -579,8 +515,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -598,8 +532,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * A partition of the change stream.
      * 
@@ -612,8 +544,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * A partition of the change stream.
      * 
@@ -624,14 +554,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * A partition of the change stream.
      * 
@@ -639,24 +566,21 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -666,59 +590,55 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) - private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse(); } - public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstance() { + public static com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser - PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GenerateInitialChangeStreamPartitionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser - getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse - getDefaultInstanceForType() { + public com.google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java index 3aecf84be3..c8c79888d2 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/GenerateInitialChangeStreamPartitionsResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder - extends +public interface GenerateInitialChangeStreamPartitionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.GenerateInitialChangeStreamPartitionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * A partition of the change stream.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * A partition of the change stream.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/InstanceName.java diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java index 32b250cfb4..826c7cb2bf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ -public final class MutateRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowRequest) MutateRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowRequest.newBuilder() to construct. private MutateRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,42 +28,35 @@ private MutateRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -125,19 +98,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -146,30 +115,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,14 +149,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -196,98 +162,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -299,7 +244,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -325,10 +271,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, mutations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -341,17 +289,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowRequest other = (com.google.bigtable.v2.MutateRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -378,136 +330,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest 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.v2.MutateRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowRequest) com.google.bigtable.v2.MutateRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowRequest.class, - com.google.bigtable.v2.MutateRowRequest.Builder.class); + com.google.bigtable.v2.MutateRowRequest.class, com.google.bigtable.v2.MutateRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +474,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowRequest_descriptor; } @java.lang.Override @@ -547,12 +495,9 @@ public com.google.bigtable.v2.MutateRowRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowRequest buildPartial() { - com.google.bigtable.v2.MutateRowRequest result = - new com.google.bigtable.v2.MutateRowRequest(this); + com.google.bigtable.v2.MutateRowRequest result = new com.google.bigtable.v2.MutateRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -586,39 +531,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowRequest)other); } else { super.mergeFrom(other); return this; @@ -658,10 +602,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000008); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -693,43 +636,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.Mutation m = - input.readMessage(com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,29 +679,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -770,25 +705,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -796,43 +728,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -842,25 +763,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the mutation should be
      * applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -870,21 +785,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -893,22 +806,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -916,37 +828,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -956,22 +861,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -981,14 +882,11 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -996,35 +894,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the mutation should be applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1035,33 +925,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -1071,17 +953,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -1091,17 +969,13 @@ public int getMutationsCount() { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -1111,19 +985,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1137,17 +1008,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1161,17 +1028,13 @@ public Builder setMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -1187,19 +1050,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1213,19 +1073,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -1236,17 +1093,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1260,23 +1113,20 @@ public Builder addMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1284,17 +1134,13 @@ public Builder addAllMutations( return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1307,17 +1153,13 @@ public Builder clearMutations() { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1330,56 +1172,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1387,75 +1218,62 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row. Entries
      * are applied in order, meaning that earlier mutations can be masked by later
      * ones. Must contain at least one entry and at most 100000.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1465,12 +1283,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowRequest) private static final com.google.bigtable.v2.MutateRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowRequest(); } @@ -1479,27 +1297,27 @@ public static com.google.bigtable.v2.MutateRowRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1514,4 +1332,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java index f4155c554f..e2ca3d477d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowRequestOrBuilder.java @@ -1,169 +1,119 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface MutateRowRequestOrBuilder - extends +public interface MutateRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the mutation should be
    * applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the mutation should be applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
    * Required. Changes to be atomically applied to the specified row. Entries
    * are applied in order, meaning that earlier mutations can be masked by later
    * ones. Must contain at least one entry and at most 100000.
    * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java index fcf24d8d66..b946b1117a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponse.java @@ -1,67 +1,48 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.MutateRow.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ -public final class MutateRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowResponse) MutateRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowResponse.newBuilder() to construct. private MutateRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutateRowResponse() {} + private MutateRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,7 +73,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowResponse)) { return super.equals(obj); @@ -114,136 +96,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse 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.v2.MutateRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.MutateRow.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowResponse) com.google.bigtable.v2.MutateRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowResponse.class, - com.google.bigtable.v2.MutateRowResponse.Builder.class); + com.google.bigtable.v2.MutateRowResponse.class, com.google.bigtable.v2.MutateRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -251,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowResponse_descriptor; } @java.lang.Override @@ -272,8 +250,7 @@ public com.google.bigtable.v2.MutateRowResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowResponse buildPartial() { - com.google.bigtable.v2.MutateRowResponse result = - new com.google.bigtable.v2.MutateRowResponse(this); + com.google.bigtable.v2.MutateRowResponse result = new com.google.bigtable.v2.MutateRowResponse(this); onBuilt(); return result; } @@ -282,39 +259,38 @@ public com.google.bigtable.v2.MutateRowResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowResponse)other); } else { super.mergeFrom(other); return this; @@ -349,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -365,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -377,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowResponse) private static final com.google.bigtable.v2.MutateRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowResponse(); } @@ -391,27 +366,27 @@ public static com.google.bigtable.v2.MutateRowResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -426,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java new file mode 100644 index 0000000000..10333c3818 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface MutateRowResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java index ca7218ffa4..02d18e2160 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ -public final class MutateRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest) MutateRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsRequest.newBuilder() to construct. private MutateRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsRequest() { tableName_ = ""; appProfileId_ = ""; @@ -45,133 +27,108 @@ private MutateRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsList(); + java.util.List + getMutationsList(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.Mutation getMutations(int index); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getMutationsCount(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getMutationsOrBuilderList(); + java.util.List + getMutationsOrBuilderList(); /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index); + com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index); } /** - * - * *
    * A mutation for a given row.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */ - public static final class Entry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsRequest.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Entry() { rowKey_ = com.google.protobuf.ByteString.EMPTY; mutations_ = java.util.Collections.emptyList(); @@ -179,36 +136,32 @@ private Entry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The key of the row to which the `mutations` should be applied.
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -217,98 +170,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int MUTATIONS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List mutations_; /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getMutationsList() { return mutations_; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getMutationsOrBuilderList() { return mutations_; } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getMutationsCount() { return mutations_.size(); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.Mutation getMutations(int index) { return mutations_.get(index); } /** - * - * *
      * Required. Changes to be atomically applied to the specified row.
      * Mutations are applied in order, meaning that earlier mutations can be
      * masked by later ones. You must specify at least one mutation.
      * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { return mutations_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -320,7 +252,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -337,10 +270,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } for (int i = 0; i < mutations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, mutations_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, mutations_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -350,16 +285,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest.Entry)) { return super.equals(obj); } - com.google.bigtable.v2.MutateRowsRequest.Entry other = - (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; + com.google.bigtable.v2.MutateRowsRequest.Entry other = (com.google.bigtable.v2.MutateRowsRequest.Entry) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getMutationsList().equals(other.getMutationsList())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getMutationsList() + .equals(other.getMutationsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -382,94 +318,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry 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.v2.MutateRowsRequest.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest.Entry parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest.Entry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -479,41 +411,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A mutation for a given row.
      * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest.Entry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest.Entry) com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.Entry.class, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.Entry.class, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.Entry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -530,9 +460,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; } @java.lang.Override @@ -551,18 +481,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsRequest.Entry result = - new com.google.bigtable.v2.MutateRowsRequest.Entry(this); + com.google.bigtable.v2.MutateRowsRequest.Entry result = new com.google.bigtable.v2.MutateRowsRequest.Entry(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.MutateRowsRequest.Entry result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.MutateRowsRequest.Entry result) { if (mutationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { mutations_ = java.util.Collections.unmodifiableList(mutations_); @@ -585,41 +511,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest.Entry result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest.Entry)other); } else { super.mergeFrom(other); return this; @@ -627,8 +550,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()) return this; if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) { setRowKey(other.getRowKey()); } @@ -650,10 +572,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest.Entry other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000002); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } @@ -685,32 +606,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.Mutation m = - input.readMessage( - com.google.bigtable.v2.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.Mutation m = + input.readMessage( + com.google.bigtable.v2.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -720,19 +639,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -740,35 +655,27 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The key of the row to which the `mutations` should be applied.
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -779,33 +686,25 @@ public Builder clearRowKey() { } private java.util.List mutations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { mutations_ = new java.util.ArrayList(mutations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationsBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationsBuilder_; /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getMutationsList() { if (mutationsBuilder_ == null) { @@ -815,17 +714,13 @@ public java.util.List getMutationsList() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getMutationsCount() { if (mutationsBuilder_ == null) { @@ -835,17 +730,13 @@ public int getMutationsCount() { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation getMutations(int index) { if (mutationsBuilder_ == null) { @@ -855,19 +746,16 @@ public com.google.bigtable.v2.Mutation getMutations(int index) { } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder setMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -881,17 +769,13 @@ public Builder setMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -905,17 +789,13 @@ public Builder setMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations(com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { @@ -931,19 +811,16 @@ public Builder addMutations(com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { + public Builder addMutations( + int index, com.google.bigtable.v2.Mutation value) { if (mutationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -957,19 +834,16 @@ public Builder addMutations(int index, com.google.bigtable.v2.Mutation value) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForValue) { + public Builder addMutations( + com.google.bigtable.v2.Mutation.Builder builderForValue) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); mutations_.add(builderForValue.build()); @@ -980,17 +854,13 @@ public Builder addMutations(com.google.bigtable.v2.Mutation.Builder builderForVa return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addMutations( int index, com.google.bigtable.v2.Mutation.Builder builderForValue) { @@ -1004,23 +874,20 @@ public Builder addMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllMutations( java.lang.Iterable values) { if (mutationsBuilder_ == null) { ensureMutationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutations_); onChanged(); } else { mutationsBuilder_.addAllMessages(values); @@ -1028,17 +895,13 @@ public Builder addAllMutations( return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearMutations() { if (mutationsBuilder_ == null) { @@ -1051,17 +914,13 @@ public Builder clearMutations() { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeMutations(int index) { if (mutationsBuilder_ == null) { @@ -1074,56 +933,45 @@ public Builder removeMutations(int index) { return this; } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder(int index) { + public com.google.bigtable.v2.Mutation.Builder getMutationsBuilder( + int index) { return getMutationsFieldBuilder().getBuilder(index); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) { + public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder( + int index) { if (mutationsBuilder_ == null) { - return mutations_.get(index); - } else { + return mutations_.get(index); } else { return mutationsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getMutationsOrBuilderList() { + public java.util.List + getMutationsOrBuilderList() { if (mutationsBuilder_ != null) { return mutationsBuilder_.getMessageOrBuilderList(); } else { @@ -1131,73 +979,59 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationsOrBuilder(int index) } } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder() { - return getMutationsFieldBuilder() - .addBuilder(com.google.bigtable.v2.Mutation.getDefaultInstance()); + return getMutationsFieldBuilder().addBuilder( + com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder(int index) { - return getMutationsFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.Mutation.getDefaultInstance()); + public com.google.bigtable.v2.Mutation.Builder addMutationsBuilder( + int index) { + return getMutationsFieldBuilder().addBuilder( + index, com.google.bigtable.v2.Mutation.getDefaultInstance()); } /** - * - * *
        * Required. Changes to be atomically applied to the specified row.
        * Mutations are applied in order, meaning that earlier mutations can be
        * masked by later ones. You must specify at least one mutation.
        * 
* - * - * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.Mutation mutations = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getMutationsBuilderList() { + public java.util.List + getMutationsBuilderList() { return getMutationsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> getMutationsFieldBuilder() { if (mutationsBuilder_ == null) { - mutationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder>( - mutations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>( + mutations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); mutations_ = null; } return mutationsBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1210,12 +1044,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest.Entry) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest.Entry) private static final com.google.bigtable.v2.MutateRowsRequest.Entry DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest.Entry(); } @@ -1224,28 +1058,27 @@ public static com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Entry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Entry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1260,24 +1093,19 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -1286,32 +1114,30 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1320,19 +1146,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ @java.lang.Override @@ -1341,30 +1163,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1373,12 +1195,9 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } public static final int ENTRIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List entries_; /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1387,17 +1206,13 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getEntriesList() { return entries_; } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1406,18 +1221,14 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1426,17 +1237,13 @@ public java.util.List getEntries
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1445,17 +1252,13 @@ public int getEntriesCount() {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -1464,17 +1267,15 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1486,7 +1287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -1509,7 +1311,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } for (int i = 0; i < entries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entries_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, entries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, appProfileId_); @@ -1522,16 +1325,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.MutateRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.MutateRowsRequest other = (com.google.bigtable.v2.MutateRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getEntriesList().equals(other.getEntriesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getEntriesList() + .equals(other.getEntriesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1556,136 +1362,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.MutateRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest 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.v2.MutateRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.MutateRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.MutateRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.MutateRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsRequest) com.google.bigtable.v2.MutateRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsRequest.class, - com.google.bigtable.v2.MutateRowsRequest.Builder.class); + com.google.bigtable.v2.MutateRowsRequest.class, com.google.bigtable.v2.MutateRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1703,9 +1505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; } @java.lang.Override @@ -1724,12 +1526,9 @@ public com.google.bigtable.v2.MutateRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsRequest buildPartial() { - com.google.bigtable.v2.MutateRowsRequest result = - new com.google.bigtable.v2.MutateRowsRequest(this); + com.google.bigtable.v2.MutateRowsRequest result = new com.google.bigtable.v2.MutateRowsRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1760,39 +1559,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsRequest) { - return mergeFrom((com.google.bigtable.v2.MutateRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -1829,10 +1627,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsRequest other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000004); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1864,38 +1661,35 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.MutateRowsRequest.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + com.google.bigtable.v2.MutateRowsRequest.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsRequest.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1905,28 +1699,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1935,24 +1724,21 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1960,41 +1746,30 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -2004,24 +1779,18 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the mutations should be
      * applied.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -2031,21 +1800,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -2054,22 +1821,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -2077,37 +1843,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -2117,22 +1876,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 3; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -2141,25 +1896,18 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { } private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2168,9 +1916,7 @@ private void ensureEntriesIsMutable() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getEntriesList() { if (entriesBuilder_ == null) { @@ -2180,8 +1926,6 @@ public java.util.List getEntries } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2190,9 +1934,7 @@ public java.util.List getEntries
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public int getEntriesCount() { if (entriesBuilder_ == null) { @@ -2202,8 +1944,6 @@ public int getEntriesCount() { } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2212,9 +1952,7 @@ public int getEntriesCount() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { if (entriesBuilder_ == null) { @@ -2224,8 +1962,6 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) { } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2234,11 +1970,10 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2252,8 +1987,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2262,9 +1995,7 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setEntries( int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2278,8 +2009,6 @@ public Builder setEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2288,9 +2017,7 @@ public Builder setEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { @@ -2306,8 +2033,6 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value) return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2316,11 +2041,10 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsRequest.Entry value)
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsRequest.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2334,8 +2058,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2344,9 +2066,7 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsRequest.En
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries( com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2360,8 +2080,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2370,9 +2088,7 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addEntries( int index, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder builderForValue) { @@ -2386,8 +2102,6 @@ public Builder addEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2396,15 +2110,14 @@ public Builder addEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -2412,8 +2125,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2422,9 +2133,7 @@ public Builder addAllEntries(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearEntries() { if (entriesBuilder_ == null) { @@ -2437,8 +2146,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2447,9 +2154,7 @@ public Builder clearEntries() {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeEntries(int index) { if (entriesBuilder_ == null) { @@ -2462,8 +2167,6 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2472,16 +2175,13 @@ public Builder removeEntries(int index) {
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2490,20 +2190,16 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder getEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2512,12 +2208,10 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -2525,8 +2219,6 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild } } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2535,17 +2227,13 @@ public com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuild
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2554,17 +2242,14 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsRequest.Entry.getDefaultInstance()); } /** - * - * *
      * Required. The row keys and corresponding mutations to be applied in bulk.
      * Each entry is applied as an atomic mutation, but the entries may be
@@ -2573,34 +2258,29 @@ public com.google.bigtable.v2.MutateRowsRequest.Entry.Builder addEntriesBuilder(
      * contain at most 100000 mutations.
      * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsRequest.Entry, - com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsRequest.Entry, com.google.bigtable.v2.MutateRowsRequest.Entry.Builder, com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2610,12 +2290,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsRequest) private static final com.google.bigtable.v2.MutateRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsRequest(); } @@ -2624,27 +2304,27 @@ public static com.google.bigtable.v2.MutateRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutateRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutateRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2659,4 +2339,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.MutateRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java index 1eb4f91218..633d5e0fc7 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsRequestOrBuilder.java @@ -1,89 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface MutateRowsRequestOrBuilder - extends +public interface MutateRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the mutations should be
    * applied.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 3; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -92,14 +60,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -108,14 +73,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.MutateRowsRequest.Entry getEntries(int index); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -124,14 +85,10 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ int getEntriesCount(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -140,15 +97,11 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * Required. The row keys and corresponding mutations to be applied in bulk.
    * Each entry is applied as an atomic mutation, but the entries may be
@@ -157,9 +110,8 @@ public interface MutateRowsRequestOrBuilder
    * contain at most 100000 mutations.
    * 
* - * - * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.MutateRowsRequest.Entry entries = 2 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.bigtable.v2.MutateRowsRequest.EntryOrBuilder getEntriesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java index 9423fa38b2..222029c3b0 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponse.java @@ -1,89 +1,64 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for BigtableService.MutateRows.
  * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ -public final class MutateRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutateRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse) MutateRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutateRowsResponse.newBuilder() to construct. private MutateRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutateRowsResponse() { entries_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutateRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } - public interface EntryOrBuilder - extends + public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse.Entry) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ long getIndex(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -92,13 +67,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -107,13 +79,10 @@ public interface EntryOrBuilder
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -126,59 +95,53 @@ public interface EntryOrBuilder
     com.google.rpc.StatusOrBuilder getStatusOrBuilder();
   }
   /**
-   *
-   *
    * 
    * The result of applying a passed mutation in the original request.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */ - public static final class Entry extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Entry extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.MutateRowsResponse.Entry) EntryOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Entry() {} + private Entry() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Entry(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } public static final int INDEX_FIELD_NUMBER = 1; private long index_ = 0L; /** - * - * *
      * The index into the original request's `entries` list of the Entry
      * for which a result is being reported.
      * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -189,8 +152,6 @@ public long getIndex() { public static final int STATUS_FIELD_NUMBER = 2; private com.google.rpc.Status status_; /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -199,7 +160,6 @@ public long getIndex() {
      * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ @java.lang.Override @@ -207,8 +167,6 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -217,7 +175,6 @@ public boolean hasStatus() {
      * 
* * .google.rpc.Status status = 2; - * * @return The status. */ @java.lang.Override @@ -225,8 +182,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The result of the request Entry identified by `index`.
      * Depending on how requests are batched during execution, it is possible
@@ -242,7 +197,6 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -254,7 +208,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (index_ != 0L) {
         output.writeInt64(1, index_);
       }
@@ -271,10 +226,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (index_ != 0L) {
-        size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, index_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt64Size(1, index_);
       }
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getStatus());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -284,18 +241,19 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse.Entry)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.MutateRowsResponse.Entry other =
-          (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
+      com.google.bigtable.v2.MutateRowsResponse.Entry other = (com.google.bigtable.v2.MutateRowsResponse.Entry) obj;
 
-      if (getIndex() != other.getIndex()) return false;
+      if (getIndex()
+          != other.getIndex()) return false;
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -309,7 +267,8 @@ public int hashCode() {
       int hash = 41;
       hash = (19 * hash) + getDescriptor().hashCode();
       hash = (37 * hash) + INDEX_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIndex());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+          getIndex());
       if (hasStatus()) {
         hash = (37 * hash) + STATUS_FIELD_NUMBER;
         hash = (53 * hash) + getStatus().hashCode();
@@ -320,93 +279,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry 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.v2.MutateRowsResponse.Entry parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.MutateRowsResponse.Entry parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -416,41 +371,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * The result of applying a passed mutation in the original request.
      * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse.Entry} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse.Entry) com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.Entry.class, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.Entry.class, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.Entry.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -465,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; } @java.lang.Override @@ -486,11 +439,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse.Entry buildPartial() { - com.google.bigtable.v2.MutateRowsResponse.Entry result = - new com.google.bigtable.v2.MutateRowsResponse.Entry(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.MutateRowsResponse.Entry result = new com.google.bigtable.v2.MutateRowsResponse.Entry(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -501,7 +451,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul result.index_ = index_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build(); + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); } } @@ -509,41 +461,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse.Entry resul public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse.Entry) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse.Entry)other); } else { super.mergeFrom(other); return this; @@ -551,8 +500,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse.Entry other) { - if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()) return this; if (other.getIndex() != 0L) { setIndex(other.getIndex()); } @@ -585,25 +533,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - index_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + index_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -613,20 +560,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long index_; + private long index_ ; /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return The index. */ @java.lang.Override @@ -634,15 +577,12 @@ public long getIndex() { return index_; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @param value The index to set. * @return This builder for chaining. */ @@ -654,15 +594,12 @@ public Builder setIndex(long value) { return this; } /** - * - * *
        * The index into the original request's `entries` list of the Entry
        * for which a result is being reported.
        * 
* * int64 index = 1; - * * @return This builder for chaining. */ public Builder clearIndex() { @@ -674,11 +611,8 @@ public Builder clearIndex() { private com.google.rpc.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> - statusBuilder_; + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_; /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -687,15 +621,12 @@ public Builder clearIndex() {
        * 
* * .google.rpc.Status status = 2; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -704,7 +635,6 @@ public boolean hasStatus() {
        * 
* * .google.rpc.Status status = 2; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -715,8 +645,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -740,8 +668,6 @@ public Builder setStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -751,7 +677,8 @@ public Builder setStatus(com.google.rpc.Status value) {
        *
        * .google.rpc.Status status = 2;
        */
-      public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
+      public Builder setStatus(
+          com.google.rpc.Status.Builder builderForValue) {
         if (statusBuilder_ == null) {
           status_ = builderForValue.build();
         } else {
@@ -762,8 +689,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -775,9 +700,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) {
        */
       public Builder mergeStatus(com.google.rpc.Status value) {
         if (statusBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && status_ != null
-              && status_ != com.google.rpc.Status.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            status_ != null &&
+            status_ != com.google.rpc.Status.getDefaultInstance()) {
             getStatusBuilder().mergeFrom(value);
           } else {
             status_ = value;
@@ -790,8 +715,6 @@ public Builder mergeStatus(com.google.rpc.Status value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -812,8 +735,6 @@ public Builder clearStatus() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -829,8 +750,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() {
         return getStatusFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -844,12 +763,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
         if (statusBuilder_ != null) {
           return statusBuilder_.getMessageOrBuilder();
         } else {
-          return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_;
+          return status_ == null ?
+              com.google.rpc.Status.getDefaultInstance() : status_;
         }
       }
       /**
-       *
-       *
        * 
        * The result of the request Entry identified by `index`.
        * Depending on how requests are batched during execution, it is possible
@@ -860,19 +778,18 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
        * .google.rpc.Status status = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> 
           getStatusFieldBuilder() {
         if (statusBuilder_ == null) {
-          statusBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.rpc.Status,
-                  com.google.rpc.Status.Builder,
-                  com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean());
+          statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>(
+                  getStatus(),
+                  getParentForChildren(),
+                  isClean());
           status_ = null;
         }
         return statusBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -885,12 +802,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse.Entry)
     private static final com.google.bigtable.v2.MutateRowsResponse.Entry DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse.Entry();
     }
@@ -899,28 +816,27 @@ public static com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstance
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Entry parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Entry parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -935,16 +851,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.MutateRowsResponse.Entry getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int bitField0_;
   public static final int ENTRIES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List entries_;
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
@@ -956,8 +870,6 @@ public java.util.List getEntrie return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -965,13 +877,11 @@ public java.util.List getEntrie * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public java.util.List + public java.util.List getEntriesOrBuilderList() { return entries_; } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -983,8 +893,6 @@ public int getEntriesCount() { return entries_.size(); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -996,8 +904,6 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { return entries_.get(index); } /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -1005,15 +911,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ @java.lang.Override - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { return entries_.get(index); } public static final int RATE_LIMIT_INFO_FIELD_NUMBER = 3; private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1021,7 +926,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ @java.lang.Override @@ -1029,8 +933,6 @@ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1038,18 +940,13 @@ public boolean hasRateLimitInfo() {
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ @java.lang.Override public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1060,13 +957,10 @@ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder() {
-    return rateLimitInfo_ == null
-        ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-        : rateLimitInfo_;
+    return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1078,7 +972,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < entries_.size(); i++) {
       output.writeMessage(1, entries_.get(i));
     }
@@ -1095,10 +990,12 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < entries_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, entries_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, entries_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRateLimitInfo());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRateLimitInfo());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1108,18 +1005,19 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.MutateRowsResponse)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.MutateRowsResponse other =
-        (com.google.bigtable.v2.MutateRowsResponse) obj;
+    com.google.bigtable.v2.MutateRowsResponse other = (com.google.bigtable.v2.MutateRowsResponse) obj;
 
-    if (!getEntriesList().equals(other.getEntriesList())) return false;
+    if (!getEntriesList()
+        .equals(other.getEntriesList())) return false;
     if (hasRateLimitInfo() != other.hasRateLimitInfo()) return false;
     if (hasRateLimitInfo()) {
-      if (!getRateLimitInfo().equals(other.getRateLimitInfo())) return false;
+      if (!getRateLimitInfo()
+          .equals(other.getRateLimitInfo())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -1145,127 +1043,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse 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.v2.MutateRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.MutateRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.MutateRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.MutateRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for BigtableService.MutateRows.
    * 
* * Protobuf type {@code google.bigtable.v2.MutateRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.MutateRowsResponse) com.google.bigtable.v2.MutateRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.MutateRowsResponse.class, - com.google.bigtable.v2.MutateRowsResponse.Builder.class); + com.google.bigtable.v2.MutateRowsResponse.class, com.google.bigtable.v2.MutateRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.MutateRowsResponse.newBuilder() @@ -1273,18 +1164,18 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntriesFieldBuilder(); getRateLimitInfoFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1305,9 +1196,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; } @java.lang.Override @@ -1326,12 +1217,9 @@ public com.google.bigtable.v2.MutateRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.MutateRowsResponse buildPartial() { - com.google.bigtable.v2.MutateRowsResponse result = - new com.google.bigtable.v2.MutateRowsResponse(this); + com.google.bigtable.v2.MutateRowsResponse result = new com.google.bigtable.v2.MutateRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1352,8 +1240,9 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.rateLimitInfo_ = - rateLimitInfoBuilder_ == null ? rateLimitInfo_ : rateLimitInfoBuilder_.build(); + result.rateLimitInfo_ = rateLimitInfoBuilder_ == null + ? rateLimitInfo_ + : rateLimitInfoBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1363,39 +1252,38 @@ private void buildPartial0(com.google.bigtable.v2.MutateRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.MutateRowsResponse) { - return mergeFrom((com.google.bigtable.v2.MutateRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.MutateRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -1422,10 +1310,9 @@ public Builder mergeFrom(com.google.bigtable.v2.MutateRowsResponse other) { entriesBuilder_ = null; entries_ = other.entries_; bitField0_ = (bitField0_ & ~0x00000001); - entriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntriesFieldBuilder() - : null; + entriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntriesFieldBuilder() : null; } else { entriesBuilder_.addAllMessages(other.entries_); } @@ -1460,33 +1347,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.MutateRowsResponse.Entry m = - input.readMessage( - com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), - extensionRegistry); - if (entriesBuilder_ == null) { - ensureEntriesIsMutable(); - entries_.add(m); - } else { - entriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 26: - { - input.readMessage(getRateLimitInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.MutateRowsResponse.Entry m = + input.readMessage( + com.google.bigtable.v2.MutateRowsResponse.Entry.parser(), + extensionRegistry); + if (entriesBuilder_ == null) { + ensureEntriesIsMutable(); + entries_.add(m); + } else { + entriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 26: { + input.readMessage( + getRateLimitInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1496,29 +1382,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List entries_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - entries_ = - new java.util.ArrayList(entries_); + entries_ = new java.util.ArrayList(entries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> - entriesBuilder_; + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> entriesBuilder_; /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1533,8 +1411,6 @@ public java.util.List getEntrie } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1549,8 +1425,6 @@ public int getEntriesCount() { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1565,15 +1439,14 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index) { } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder setEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1587,8 +1460,6 @@ public Builder setEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1607,8 +1478,6 @@ public Builder setEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1629,15 +1498,14 @@ public Builder addEntries(com.google.bigtable.v2.MutateRowsResponse.Entry value) return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { + public Builder addEntries( + int index, com.google.bigtable.v2.MutateRowsResponse.Entry value) { if (entriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1651,8 +1519,6 @@ public Builder addEntries(int index, com.google.bigtable.v2.MutateRowsResponse.E return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1671,8 +1537,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1691,8 +1555,6 @@ public Builder addEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1703,7 +1565,8 @@ public Builder addAllEntries( java.lang.Iterable values) { if (entriesBuilder_ == null) { ensureEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entries_); onChanged(); } else { entriesBuilder_.addAllMessages(values); @@ -1711,8 +1574,6 @@ public Builder addAllEntries( return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1730,8 +1591,6 @@ public Builder clearEntries() { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1749,44 +1608,39 @@ public Builder removeEntries(int index) { return this; } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder getEntriesBuilder( + int index) { return getEntriesFieldBuilder().getBuilder(index); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index) { + public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index) { if (entriesBuilder_ == null) { - return entries_.get(index); - } else { + return entries_.get(index); } else { return entriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesOrBuilderList() { + public java.util.List + getEntriesOrBuilderList() { if (entriesBuilder_ != null) { return entriesBuilder_.getMessageOrBuilderList(); } else { @@ -1794,8 +1648,6 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil } } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
@@ -1803,48 +1655,42 @@ public com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuil * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder() { - return getEntriesFieldBuilder() - .addBuilder(com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + return getEntriesFieldBuilder().addBuilder( + com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder(int index) { - return getEntriesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); + public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder( + int index) { + return getEntriesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.MutateRowsResponse.Entry.getDefaultInstance()); } /** - * - * *
      * One or more results for Entries from the batch request.
      * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - public java.util.List - getEntriesBuilderList() { + public java.util.List + getEntriesBuilderList() { return getEntriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder> getEntriesFieldBuilder() { if (entriesBuilder_ == null) { - entriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.MutateRowsResponse.Entry, - com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( - entries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + entriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.MutateRowsResponse.Entry, com.google.bigtable.v2.MutateRowsResponse.Entry.Builder, com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder>( + entries_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); entries_ = null; } return entriesBuilder_; @@ -1852,13 +1698,8 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder private com.google.bigtable.v2.RateLimitInfo rateLimitInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RateLimitInfo, - com.google.bigtable.v2.RateLimitInfo.Builder, - com.google.bigtable.v2.RateLimitInfoOrBuilder> - rateLimitInfoBuilder_; + com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> rateLimitInfoBuilder_; /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1866,15 +1707,12 @@ public com.google.bigtable.v2.MutateRowsResponse.Entry.Builder addEntriesBuilder
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ public boolean hasRateLimitInfo() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1882,21 +1720,16 @@ public boolean hasRateLimitInfo() {
      * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ public com.google.bigtable.v2.RateLimitInfo getRateLimitInfo() { if (rateLimitInfoBuilder_ == null) { - return rateLimitInfo_ == null - ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() - : rateLimitInfo_; + return rateLimitInfo_ == null ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_; } else { return rateLimitInfoBuilder_.getMessage(); } } /** - * - * *
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1919,8 +1752,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1929,7 +1760,8 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
      *
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
-    public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
+    public Builder setRateLimitInfo(
+        com.google.bigtable.v2.RateLimitInfo.Builder builderForValue) {
       if (rateLimitInfoBuilder_ == null) {
         rateLimitInfo_ = builderForValue.build();
       } else {
@@ -1940,8 +1772,6 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1952,9 +1782,9 @@ public Builder setRateLimitInfo(com.google.bigtable.v2.RateLimitInfo.Builder bui
      */
     public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       if (rateLimitInfoBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && rateLimitInfo_ != null
-            && rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          rateLimitInfo_ != null &&
+          rateLimitInfo_ != com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()) {
           getRateLimitInfoBuilder().mergeFrom(value);
         } else {
           rateLimitInfo_ = value;
@@ -1967,8 +1797,6 @@ public Builder mergeRateLimitInfo(com.google.bigtable.v2.RateLimitInfo value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -1988,8 +1816,6 @@ public Builder clearRateLimitInfo() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2004,8 +1830,6 @@ public com.google.bigtable.v2.RateLimitInfo.Builder getRateLimitInfoBuilder() {
       return getRateLimitInfoFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2018,14 +1842,11 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
       if (rateLimitInfoBuilder_ != null) {
         return rateLimitInfoBuilder_.getMessageOrBuilder();
       } else {
-        return rateLimitInfo_ == null
-            ? com.google.bigtable.v2.RateLimitInfo.getDefaultInstance()
-            : rateLimitInfo_;
+        return rateLimitInfo_ == null ?
+            com.google.bigtable.v2.RateLimitInfo.getDefaultInstance() : rateLimitInfo_;
       }
     }
     /**
-     *
-     *
      * 
      * Information about how client should limit the rate (QPS). Primirily used by
      * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -2035,24 +1856,21 @@ public com.google.bigtable.v2.RateLimitInfoOrBuilder getRateLimitInfoOrBuilder()
      * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RateLimitInfo,
-            com.google.bigtable.v2.RateLimitInfo.Builder,
-            com.google.bigtable.v2.RateLimitInfoOrBuilder>
+        com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder> 
         getRateLimitInfoFieldBuilder() {
       if (rateLimitInfoBuilder_ == null) {
-        rateLimitInfoBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RateLimitInfo,
-                com.google.bigtable.v2.RateLimitInfo.Builder,
-                com.google.bigtable.v2.RateLimitInfoOrBuilder>(
-                getRateLimitInfo(), getParentForChildren(), isClean());
+        rateLimitInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RateLimitInfo, com.google.bigtable.v2.RateLimitInfo.Builder, com.google.bigtable.v2.RateLimitInfoOrBuilder>(
+                getRateLimitInfo(),
+                getParentForChildren(),
+                isClean());
         rateLimitInfo_ = null;
       }
       return rateLimitInfoBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2062,12 +1880,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.MutateRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.MutateRowsResponse)
   private static final com.google.bigtable.v2.MutateRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.MutateRowsResponse();
   }
@@ -2076,27 +1894,27 @@ public static com.google.bigtable.v2.MutateRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public MutateRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public MutateRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2111,4 +1929,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.MutateRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
index 23244965ad..10b19662b4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface MutateRowsResponseOrBuilder
-    extends
+public interface MutateRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List getEntriesList(); + java.util.List + getEntriesList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -44,8 +25,6 @@ public interface MutateRowsResponseOrBuilder */ com.google.bigtable.v2.MutateRowsResponse.Entry getEntries(int index); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
@@ -54,30 +33,25 @@ public interface MutateRowsResponseOrBuilder */ int getEntriesCount(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - java.util.List + java.util.List getEntriesOrBuilderList(); /** - * - * *
    * One or more results for Entries from the batch request.
    * 
* * repeated .google.bigtable.v2.MutateRowsResponse.Entry entries = 1; */ - com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder(int index); + com.google.bigtable.v2.MutateRowsResponse.EntryOrBuilder getEntriesOrBuilder( + int index); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -85,13 +59,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return Whether the rateLimitInfo field is set. */ boolean hasRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
@@ -99,13 +70,10 @@ public interface MutateRowsResponseOrBuilder
    * 
* * optional .google.bigtable.v2.RateLimitInfo rate_limit_info = 3; - * * @return The rateLimitInfo. */ com.google.bigtable.v2.RateLimitInfo getRateLimitInfo(); /** - * - * *
    * Information about how client should limit the rate (QPS). Primirily used by
    * supported official Cloud Bigtable clients. If unset, the rate limit info is
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
similarity index 72%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
index ed166b16f4..12f9cdef19 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Mutation.java
@@ -1,112 +1,85 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a particular change to be made to the contents of a row.
  * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ -public final class Mutation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Mutation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation) MutationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Mutation() {} + private Mutation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } - public interface SetCellOrBuilder - extends + public interface SetCellOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.SetCell) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -116,43 +89,36 @@ public interface SetCellOrBuilder
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ com.google.protobuf.ByteString getValue(); } /** - * - * *
    * A Mutation which sets the value of the specified cell.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class SetCell extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class SetCell extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.SetCell) SetCellOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use SetCell.newBuilder() to construct. private SetCell(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SetCell() { familyName_ = ""; columnQualifier_ = com.google.protobuf.ByteString.EMPTY; @@ -161,39 +127,34 @@ private SetCell() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SetCell(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -202,30 +163,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family into which new data should be written.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -236,15 +197,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column into which new data should be written.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -255,8 +213,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 3; private long timestampMicros_ = 0L; /** - * - * *
      * The timestamp of the cell into which new data should be written.
      * Use -1 for current Bigtable server time.
@@ -266,7 +222,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -277,14 +232,11 @@ public long getTimestampMicros() { public static final int VALUE_FIELD_NUMBER = 4; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value to be written into the specified cell.
      * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -293,7 +245,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -305,7 +256,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -331,13 +283,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, timestampMicros_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, value_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -347,17 +302,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.SetCell)) { return super.equals(obj); } com.google.bigtable.v2.Mutation.SetCell other = (com.google.bigtable.v2.Mutation.SetCell) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -374,7 +333,8 @@ public int hashCode() { hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -382,94 +342,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.SetCell parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell 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.v2.Mutation.SetCell parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.SetCell parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.SetCell parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.SetCell prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -479,41 +435,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which sets the value of the specified cell.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.SetCell} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.SetCell) com.google.bigtable.v2.Mutation.SetCellOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.SetCell.class, - com.google.bigtable.v2.Mutation.SetCell.Builder.class); + com.google.bigtable.v2.Mutation.SetCell.class, com.google.bigtable.v2.Mutation.SetCell.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.SetCell.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -526,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; } @java.lang.Override @@ -547,11 +501,8 @@ public com.google.bigtable.v2.Mutation.SetCell build() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell buildPartial() { - com.google.bigtable.v2.Mutation.SetCell result = - new com.google.bigtable.v2.Mutation.SetCell(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.SetCell result = new com.google.bigtable.v2.Mutation.SetCell(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -576,41 +527,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.SetCell result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.SetCell) { - return mergeFrom((com.google.bigtable.v2.Mutation.SetCell) other); + return mergeFrom((com.google.bigtable.v2.Mutation.SetCell)other); } else { super.mergeFrom(other); return this; @@ -659,37 +607,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - columnQualifier_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - timestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - value_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + columnQualifier_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + timestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + value_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -699,26 +642,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -727,22 +667,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -750,37 +689,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -790,22 +722,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family into which new data should be written.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -813,18 +741,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -832,37 +756,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column into which new data should be written.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -872,10 +788,8 @@ public Builder clearColumnQualifier() { return this; } - private long timestampMicros_; + private long timestampMicros_ ; /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -885,7 +799,6 @@ public Builder clearColumnQualifier() {
        * 
* * int64 timestamp_micros = 3; - * * @return The timestampMicros. */ @java.lang.Override @@ -893,8 +806,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -904,7 +815,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 3; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -916,8 +826,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The timestamp of the cell into which new data should be written.
        * Use -1 for current Bigtable server time.
@@ -927,7 +835,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 3; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -939,14 +846,11 @@ public Builder clearTimestampMicros() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return The value. */ @java.lang.Override @@ -954,35 +858,27 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * The value to be written into the specified cell.
        * 
* * bytes value = 4; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -991,7 +887,6 @@ public Builder clearValue() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1004,12 +899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.SetCell) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.SetCell) private static final com.google.bigtable.v2.Mutation.SetCell DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.SetCell(); } @@ -1018,28 +913,27 @@ public static com.google.bigtable.v2.Mutation.SetCell getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SetCell parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetCell parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1054,81 +948,65 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.SetCell getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromColumnOrBuilder - extends + public interface DeleteFromColumnOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromColumn) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ boolean hasTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ com.google.bigtable.v2.TimestampRange getTimeRange(); /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1138,8 +1016,6 @@ public interface DeleteFromColumnOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder(); } /** - * - * *
    * A Mutation which deletes cells from the specified column, optionally
    * restricting the deletions to a given timestamp range.
@@ -1147,16 +1023,15 @@ public interface DeleteFromColumnOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
    */
-  public static final class DeleteFromColumn extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DeleteFromColumn extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
       DeleteFromColumnOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DeleteFromColumn.newBuilder() to construct.
     private DeleteFromColumn(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DeleteFromColumn() {
       familyName_ = "";
       columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -1164,39 +1039,34 @@ private DeleteFromColumn() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DeleteFromColumn();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-              com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+              com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
     }
 
     public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -1205,30 +1075,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1239,15 +1109,12 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column from which cells should be deleted.
      * Can be any byte string, including the empty string.
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1258,14 +1125,11 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int TIME_RANGE_FIELD_NUMBER = 3; private com.google.bigtable.v2.TimestampRange timeRange_; /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ @java.lang.Override @@ -1273,25 +1137,18 @@ public boolean hasTimeRange() { return timeRange_ != null; } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimeRange() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } /** - * - * *
      * The range of timestamps within which cells should be deleted.
      * 
@@ -1300,13 +1157,10 @@ public com.google.bigtable.v2.TimestampRange getTimeRange() { */ @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1318,7 +1172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -1341,10 +1196,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (timeRange_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTimeRange()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTimeRange()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1354,19 +1211,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromColumn other = - (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; + com.google.bigtable.v2.Mutation.DeleteFromColumn other = (com.google.bigtable.v2.Mutation.DeleteFromColumn) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (hasTimeRange() != other.hasTimeRange()) return false; if (hasTimeRange()) { - if (!getTimeRange().equals(other.getTimeRange())) return false; + if (!getTimeRange() + .equals(other.getTimeRange())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1393,93 +1252,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn 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.v2.Mutation.DeleteFromColumn parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromColumn parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromColumn prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1489,8 +1344,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes cells from the specified column, optionally
      * restricting the deletions to a given timestamp range.
@@ -1498,33 +1351,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromColumn}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromColumn)
         com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.class,
-                com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
+                com.google.bigtable.v2.Mutation.DeleteFromColumn.class, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1540,9 +1393,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor;
       }
 
       @java.lang.Override
@@ -1561,11 +1414,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.Mutation.DeleteFromColumn buildPartial() {
-        com.google.bigtable.v2.Mutation.DeleteFromColumn result =
-            new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.Mutation.DeleteFromColumn result = new com.google.bigtable.v2.Mutation.DeleteFromColumn(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1579,7 +1429,9 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
           result.columnQualifier_ = columnQualifier_;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.timeRange_ = timeRangeBuilder_ == null ? timeRange_ : timeRangeBuilder_.build();
+          result.timeRange_ = timeRangeBuilder_ == null
+              ? timeRange_
+              : timeRangeBuilder_.build();
         }
       }
 
@@ -1587,41 +1439,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromColumn resu
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromColumn) {
-          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn) other);
+          return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromColumn)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1629,8 +1478,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromColumn other) {
-        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) return this;
         if (!other.getFamilyName().isEmpty()) {
           familyName_ = other.familyName_;
           bitField0_ |= 0x00000001;
@@ -1668,31 +1516,29 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  familyName_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  columnQualifier_ = input.readBytes();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getTimeRangeFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                familyName_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                columnQualifier_ = input.readBytes();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getTimeRangeFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1702,26 +1548,23 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.lang.Object familyName_ = "";
       /**
-       *
-       *
        * 
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -1730,22 +1573,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -1753,37 +1595,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -1793,22 +1628,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -1816,18 +1647,14 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.ByteString columnQualifier_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -1835,37 +1662,29 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The qualifier of the column from which cells should be deleted.
        * Can be any byte string, including the empty string.
        * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -1877,47 +1696,34 @@ public Builder clearColumnQualifier() { private com.google.bigtable.v2.TimestampRange timeRange_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timeRangeBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timeRangeBuilder_; /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return Whether the timeRange field is set. */ public boolean hasTimeRange() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; - * * @return The timeRange. */ public com.google.bigtable.v2.TimestampRange getTimeRange() { if (timeRangeBuilder_ == null) { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } else { return timeRangeBuilder_.getMessage(); } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1938,15 +1744,14 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
* * .google.bigtable.v2.TimestampRange time_range = 3; */ - public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builderForValue) { + public Builder setTimeRange( + com.google.bigtable.v2.TimestampRange.Builder builderForValue) { if (timeRangeBuilder_ == null) { timeRange_ = builderForValue.build(); } else { @@ -1957,8 +1762,6 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -1967,9 +1770,9 @@ public Builder setTimeRange(com.google.bigtable.v2.TimestampRange.Builder builde */ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { if (timeRangeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && timeRange_ != null - && timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + timeRange_ != null && + timeRange_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { getTimeRangeBuilder().mergeFrom(value); } else { timeRange_ = value; @@ -1982,8 +1785,6 @@ public Builder mergeTimeRange(com.google.bigtable.v2.TimestampRange value) { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2001,8 +1802,6 @@ public Builder clearTimeRange() { return this; } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2015,8 +1814,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimeRangeBuilder() { return getTimeRangeFieldBuilder().getBuilder(); } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2027,14 +1824,11 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { if (timeRangeBuilder_ != null) { return timeRangeBuilder_.getMessageOrBuilder(); } else { - return timeRange_ == null - ? com.google.bigtable.v2.TimestampRange.getDefaultInstance() - : timeRange_; + return timeRange_ == null ? + com.google.bigtable.v2.TimestampRange.getDefaultInstance() : timeRange_; } } /** - * - * *
        * The range of timestamps within which cells should be deleted.
        * 
@@ -2042,22 +1836,18 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimeRangeOrBuilder() { * .google.bigtable.v2.TimestampRange time_range = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimeRangeFieldBuilder() { if (timeRangeBuilder_ == null) { - timeRangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - getTimeRange(), getParentForChildren(), isClean()); + timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + getTimeRange(), + getParentForChildren(), + isClean()); timeRange_ = null; } return timeRangeBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2070,12 +1860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromColumn) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromColumn) private static final com.google.bigtable.v2.Mutation.DeleteFromColumn DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromColumn(); } @@ -2084,28 +1874,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromColumn parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromColumn parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2120,98 +1909,85 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromColumn getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromFamilyOrBuilder - extends + public interface DeleteFromFamilyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); } /** - * - * *
    * A Mutation which deletes all cells from the specified column family.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class DeleteFromFamily extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromFamily extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromFamily) DeleteFromFamilyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromFamily.newBuilder() to construct. private DeleteFromFamily(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteFromFamily() { familyName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromFamily(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } public static final int FAMILY_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object familyName_ = ""; /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -2220,30 +1996,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
      * The name of the family from which cells should be deleted.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2252,7 +2028,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2264,7 +2039,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -2288,15 +2064,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromFamily other = - (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; + com.google.bigtable.v2.Mutation.DeleteFromFamily other = (com.google.bigtable.v2.Mutation.DeleteFromFamily) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2316,93 +2092,89 @@ public int hashCode() { } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily 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.v2.Mutation.DeleteFromFamily parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromFamily parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromFamily prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2412,41 +2184,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the specified column family.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromFamily} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromFamily) com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromFamily.class, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromFamily.class, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2456,9 +2226,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; } @java.lang.Override @@ -2477,11 +2247,8 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromFamily result = - new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.Mutation.DeleteFromFamily result = new com.google.bigtable.v2.Mutation.DeleteFromFamily(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2497,41 +2264,38 @@ private void buildPartial0(com.google.bigtable.v2.Mutation.DeleteFromFamily resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromFamily) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromFamily)other); } else { super.mergeFrom(other); return this; @@ -2539,8 +2303,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromFamily other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) return this; if (!other.getFamilyName().isEmpty()) { familyName_ = other.familyName_; bitField0_ |= 0x00000001; @@ -2572,19 +2335,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - familyName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + familyName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2594,26 +2355,23 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object familyName_ = ""; /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -2622,22 +2380,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -2645,37 +2402,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -2685,29 +2435,24 @@ public Builder clearFamilyName() { return this; } /** - * - * *
        * The name of the family from which cells should be deleted.
        * Must match `[-_.a-zA-Z0-9]+`
        * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2720,12 +2465,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromFamily) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromFamily) private static final com.google.bigtable.v2.Mutation.DeleteFromFamily DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromFamily(); } @@ -2734,28 +2479,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromFamily parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromFamily parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2770,56 +2514,53 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromFamily getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface DeleteFromRowOrBuilder - extends + public interface DeleteFromRowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation.DeleteFromRow) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + } /** - * - * *
    * A Mutation which deletes all cells from the containing row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class DeleteFromRow extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class DeleteFromRow extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.Mutation.DeleteFromRow) DeleteFromRowOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteFromRow.newBuilder() to construct. private DeleteFromRow(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private DeleteFromRow() {} + private DeleteFromRow() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteFromRow(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2831,7 +2572,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -2849,13 +2591,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation.DeleteFromRow)) { return super.equals(obj); } - com.google.bigtable.v2.Mutation.DeleteFromRow other = - (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; + com.google.bigtable.v2.Mutation.DeleteFromRow other = (com.google.bigtable.v2.Mutation.DeleteFromRow) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2873,94 +2614,90 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow 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.v2.Mutation.DeleteFromRow parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation.DeleteFromRow parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation.DeleteFromRow parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation.DeleteFromRow prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2970,41 +2707,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A Mutation which deletes all cells from the containing row.
      * 
* * Protobuf type {@code google.bigtable.v2.Mutation.DeleteFromRow} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation.DeleteFromRow) com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.Mutation.DeleteFromRow.class, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); + com.google.bigtable.v2.Mutation.DeleteFromRow.class, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3012,9 +2747,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; } @java.lang.Override @@ -3033,8 +2768,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow build() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { - com.google.bigtable.v2.Mutation.DeleteFromRow result = - new com.google.bigtable.v2.Mutation.DeleteFromRow(this); + com.google.bigtable.v2.Mutation.DeleteFromRow result = new com.google.bigtable.v2.Mutation.DeleteFromRow(this); onBuilt(); return result; } @@ -3043,41 +2777,38 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation.DeleteFromRow) { - return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow) other); + return mergeFrom((com.google.bigtable.v2.Mutation.DeleteFromRow)other); } else { super.mergeFrom(other); return this; @@ -3085,8 +2816,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.Mutation.DeleteFromRow other) { - if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3113,13 +2843,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3129,7 +2858,6 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3142,12 +2870,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation.DeleteFromRow) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation.DeleteFromRow) private static final com.google.bigtable.v2.Mutation.DeleteFromRow DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation.DeleteFromRow(); } @@ -3156,28 +2884,27 @@ public static com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteFromRow parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteFromRow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3192,16 +2919,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation.DeleteFromRow getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int mutationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object mutation_; - public enum MutationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SET_CELL(1), DELETE_FROM_COLUMN(2), @@ -3209,7 +2934,6 @@ public enum MutationCase DELETE_FROM_ROW(4), MUTATION_NOT_SET(0); private final int value; - private MutationCase(int value) { this.value = value; } @@ -3225,40 +2949,32 @@ public static MutationCase valueOf(int value) { public static MutationCase forNumber(int value) { switch (value) { - case 1: - return SET_CELL; - case 2: - return DELETE_FROM_COLUMN; - case 3: - return DELETE_FROM_FAMILY; - case 4: - return DELETE_FROM_ROW; - case 0: - return MUTATION_NOT_SET; - default: - return null; + case 1: return SET_CELL; + case 2: return DELETE_FROM_COLUMN; + case 3: return DELETE_FROM_FAMILY; + case 4: return DELETE_FROM_ROW; + case 0: return MUTATION_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public static final int SET_CELL_FIELD_NUMBER = 1; /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3266,26 +2982,21 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override public com.google.bigtable.v2.Mutation.SetCell getSetCell() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } /** - * - * *
    * Set a cell's value.
    * 
@@ -3295,21 +3006,18 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { @java.lang.Override public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { if (mutationCase_ == 1) { - return (com.google.bigtable.v2.Mutation.SetCell) mutation_; + return (com.google.bigtable.v2.Mutation.SetCell) mutation_; } return com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } public static final int DELETE_FROM_COLUMN_FIELD_NUMBER = 2; /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -3317,26 +3025,21 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column.
    * 
@@ -3346,21 +3049,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if (mutationCase_ == 2) { - return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } public static final int DELETE_FROM_FAMILY_FIELD_NUMBER = 3; /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -3368,26 +3068,21 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -3397,21 +3092,18 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if (mutationCase_ == 3) { - return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } public static final int DELETE_FROM_ROW_FIELD_NUMBER = 4; /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -3419,26 +3111,21 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } /** - * - * *
    * Deletes cells from the entire row.
    * 
@@ -3448,13 +3135,12 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { @java.lang.Override public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOrBuilder() { if (mutationCase_ == 4) { - return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; + return (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_; } return com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3466,7 +3152,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (mutationCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } @@ -3489,24 +3176,20 @@ public int getSerializedSize() { size = 0; if (mutationCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.Mutation.SetCell) mutation_); } if (mutationCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_); } if (mutationCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_); } if (mutationCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3516,7 +3199,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.Mutation)) { return super.equals(obj); @@ -3526,16 +3209,20 @@ public boolean equals(final java.lang.Object obj) { if (!getMutationCase().equals(other.getMutationCase())) return false; switch (mutationCase_) { case 1: - if (!getSetCell().equals(other.getSetCell())) return false; + if (!getSetCell() + .equals(other.getSetCell())) return false; break; case 2: - if (!getDeleteFromColumn().equals(other.getDeleteFromColumn())) return false; + if (!getDeleteFromColumn() + .equals(other.getDeleteFromColumn())) return false; break; case 3: - if (!getDeleteFromFamily().equals(other.getDeleteFromFamily())) return false; + if (!getDeleteFromFamily() + .equals(other.getDeleteFromFamily())) return false; break; case 4: - if (!getDeleteFromRow().equals(other.getDeleteFromRow())) return false; + if (!getDeleteFromRow() + .equals(other.getDeleteFromRow())) return false; break; case 0: default: @@ -3576,134 +3263,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.Mutation parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.Mutation parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.Mutation parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.Mutation parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.Mutation parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.Mutation parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.Mutation parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.Mutation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.Mutation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a particular change to be made to the contents of a row.
    * 
* * Protobuf type {@code google.bigtable.v2.Mutation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Mutation) com.google.bigtable.v2.MutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.Mutation.class, com.google.bigtable.v2.Mutation.Builder.class); } // Construct using com.google.bigtable.v2.Mutation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3726,9 +3411,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_Mutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Mutation_descriptor; } @java.lang.Override @@ -3748,9 +3433,7 @@ public com.google.bigtable.v2.Mutation build() { @java.lang.Override public com.google.bigtable.v2.Mutation buildPartial() { com.google.bigtable.v2.Mutation result = new com.google.bigtable.v2.Mutation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3763,16 +3446,20 @@ private void buildPartial0(com.google.bigtable.v2.Mutation result) { private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { result.mutationCase_ = mutationCase_; result.mutation_ = this.mutation_; - if (mutationCase_ == 1 && setCellBuilder_ != null) { + if (mutationCase_ == 1 && + setCellBuilder_ != null) { result.mutation_ = setCellBuilder_.build(); } - if (mutationCase_ == 2 && deleteFromColumnBuilder_ != null) { + if (mutationCase_ == 2 && + deleteFromColumnBuilder_ != null) { result.mutation_ = deleteFromColumnBuilder_.build(); } - if (mutationCase_ == 3 && deleteFromFamilyBuilder_ != null) { + if (mutationCase_ == 3 && + deleteFromFamilyBuilder_ != null) { result.mutation_ = deleteFromFamilyBuilder_.build(); } - if (mutationCase_ == 4 && deleteFromRowBuilder_ != null) { + if (mutationCase_ == 4 && + deleteFromRowBuilder_ != null) { result.mutation_ = deleteFromRowBuilder_.build(); } } @@ -3781,39 +3468,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.Mutation result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.Mutation) { - return mergeFrom((com.google.bigtable.v2.Mutation) other); + return mergeFrom((com.google.bigtable.v2.Mutation)other); } else { super.mergeFrom(other); return this; @@ -3823,30 +3509,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.Mutation other) { if (other == com.google.bigtable.v2.Mutation.getDefaultInstance()) return this; switch (other.getMutationCase()) { - case SET_CELL: - { - mergeSetCell(other.getSetCell()); - break; - } - case DELETE_FROM_COLUMN: - { - mergeDeleteFromColumn(other.getDeleteFromColumn()); - break; - } - case DELETE_FROM_FAMILY: - { - mergeDeleteFromFamily(other.getDeleteFromFamily()); - break; - } - case DELETE_FROM_ROW: - { - mergeDeleteFromRow(other.getDeleteFromRow()); - break; - } - case MUTATION_NOT_SET: - { - break; - } + case SET_CELL: { + mergeSetCell(other.getSetCell()); + break; + } + case DELETE_FROM_COLUMN: { + mergeDeleteFromColumn(other.getDeleteFromColumn()); + break; + } + case DELETE_FROM_FAMILY: { + mergeDeleteFromFamily(other.getDeleteFromFamily()); + break; + } + case DELETE_FROM_ROW: { + mergeDeleteFromRow(other.getDeleteFromRow()); + break; + } + case MUTATION_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3874,39 +3555,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getSetCellFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage( - getDeleteFromColumnFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage( - getDeleteFromFamilyFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getDeleteFromRowFieldBuilder().getBuilder(), extensionRegistry); - mutationCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getSetCellFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getDeleteFromColumnFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getDeleteFromFamilyFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getDeleteFromRowFieldBuilder().getBuilder(), + extensionRegistry); + mutationCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3916,12 +3598,12 @@ public Builder mergeFrom( } // finally return this; } - private int mutationCase_ = 0; private java.lang.Object mutation_; - - public MutationCase getMutationCase() { - return MutationCase.forNumber(mutationCase_); + public MutationCase + getMutationCase() { + return MutationCase.forNumber( + mutationCase_); } public Builder clearMutation() { @@ -3934,19 +3616,13 @@ public Builder clearMutation() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> - setCellBuilder_; + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> setCellBuilder_; /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ @java.lang.Override @@ -3954,14 +3630,11 @@ public boolean hasSetCell() { return mutationCase_ == 1; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ @java.lang.Override @@ -3979,8 +3652,6 @@ public com.google.bigtable.v2.Mutation.SetCell getSetCell() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4001,15 +3672,14 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ - public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { + public Builder setSetCell( + com.google.bigtable.v2.Mutation.SetCell.Builder builderForValue) { if (setCellBuilder_ == null) { mutation_ = builderForValue.build(); onChanged(); @@ -4020,8 +3690,6 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4030,13 +3698,10 @@ public Builder setSetCell(com.google.bigtable.v2.Mutation.SetCell.Builder builde */ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { if (setCellBuilder_ == null) { - if (mutationCase_ == 1 - && mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.SetCell.newBuilder( - (com.google.bigtable.v2.Mutation.SetCell) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 1 && + mutation_ != com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.SetCell.newBuilder((com.google.bigtable.v2.Mutation.SetCell) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4052,8 +3717,6 @@ public Builder mergeSetCell(com.google.bigtable.v2.Mutation.SetCell value) { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4077,8 +3740,6 @@ public Builder clearSetCell() { return this; } /** - * - * *
      * Set a cell's value.
      * 
@@ -4089,8 +3750,6 @@ public com.google.bigtable.v2.Mutation.SetCell.Builder getSetCellBuilder() { return getSetCellFieldBuilder().getBuilder(); } /** - * - * *
      * Set a cell's value.
      * 
@@ -4109,8 +3768,6 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } } /** - * - * *
      * Set a cell's value.
      * 
@@ -4118,19 +3775,14 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { * .google.bigtable.v2.Mutation.SetCell set_cell = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder> + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder> getSetCellFieldBuilder() { if (setCellBuilder_ == null) { if (!(mutationCase_ == 1)) { mutation_ = com.google.bigtable.v2.Mutation.SetCell.getDefaultInstance(); } - setCellBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.SetCell, - com.google.bigtable.v2.Mutation.SetCell.Builder, - com.google.bigtable.v2.Mutation.SetCellOrBuilder>( + setCellBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.SetCell, com.google.bigtable.v2.Mutation.SetCell.Builder, com.google.bigtable.v2.Mutation.SetCellOrBuilder>( (com.google.bigtable.v2.Mutation.SetCell) mutation_, getParentForChildren(), isClean()); @@ -4142,19 +3794,13 @@ public com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> - deleteFromColumnBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> deleteFromColumnBuilder_; /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ @java.lang.Override @@ -4162,14 +3808,11 @@ public boolean hasDeleteFromColumn() { return mutationCase_ == 2; } /** - * - * *
      * Deletes cells from a column.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ @java.lang.Override @@ -4187,8 +3830,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn() { } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4209,8 +3850,6 @@ public Builder setDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromCol return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4229,8 +3868,6 @@ public Builder setDeleteFromColumn( return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4239,13 +3876,10 @@ public Builder setDeleteFromColumn( */ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromColumn value) { if (deleteFromColumnBuilder_ == null) { - if (mutationCase_ == 2 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 2 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4261,8 +3895,6 @@ public Builder mergeDeleteFromColumn(com.google.bigtable.v2.Mutation.DeleteFromC return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4286,8 +3918,6 @@ public Builder clearDeleteFromColumn() { return this; } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4298,8 +3928,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol return getDeleteFromColumnFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4307,8 +3935,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder - getDeleteFromColumnOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder() { if ((mutationCase_ == 2) && (deleteFromColumnBuilder_ != null)) { return deleteFromColumnBuilder_.getMessageOrBuilder(); } else { @@ -4319,8 +3946,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } } /** - * - * *
      * Deletes cells from a column.
      * 
@@ -4328,19 +3953,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder> getDeleteFromColumnFieldBuilder() { if (deleteFromColumnBuilder_ == null) { if (!(mutationCase_ == 2)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromColumn.getDefaultInstance(); } - deleteFromColumnBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromColumn, - com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, - com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( + deleteFromColumnBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromColumn, com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder, com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromColumn) mutation_, getParentForChildren(), isClean()); @@ -4352,19 +3972,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromColumn.Builder getDeleteFromCol } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> - deleteFromFamilyBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> deleteFromFamilyBuilder_; /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ @java.lang.Override @@ -4372,14 +3986,11 @@ public boolean hasDeleteFromFamily() { return mutationCase_ == 3; } /** - * - * *
      * Deletes cells from a column family.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ @java.lang.Override @@ -4397,8 +4008,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily() { } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4419,8 +4028,6 @@ public Builder setDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFam return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4439,8 +4046,6 @@ public Builder setDeleteFromFamily( return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4449,13 +4054,10 @@ public Builder setDeleteFromFamily( */ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromFamily value) { if (deleteFromFamilyBuilder_ == null) { - if (mutationCase_ == 3 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 3 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4471,8 +4073,6 @@ public Builder mergeDeleteFromFamily(com.google.bigtable.v2.Mutation.DeleteFromF return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4496,8 +4096,6 @@ public Builder clearDeleteFromFamily() { return this; } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4508,8 +4106,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam return getDeleteFromFamilyFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4517,8 +4113,7 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ @java.lang.Override - public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder - getDeleteFromFamilyOrBuilder() { + public com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder() { if ((mutationCase_ == 3) && (deleteFromFamilyBuilder_ != null)) { return deleteFromFamilyBuilder_.getMessageOrBuilder(); } else { @@ -4529,8 +4124,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } } /** - * - * *
      * Deletes cells from a column family.
      * 
@@ -4538,19 +4131,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder> getDeleteFromFamilyFieldBuilder() { if (deleteFromFamilyBuilder_ == null) { if (!(mutationCase_ == 3)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromFamily.getDefaultInstance(); } - deleteFromFamilyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromFamily, - com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, - com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( + deleteFromFamilyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromFamily, com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder, com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromFamily) mutation_, getParentForChildren(), isClean()); @@ -4562,19 +4150,13 @@ public com.google.bigtable.v2.Mutation.DeleteFromFamily.Builder getDeleteFromFam } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> - deleteFromRowBuilder_; + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> deleteFromRowBuilder_; /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ @java.lang.Override @@ -4582,14 +4164,11 @@ public boolean hasDeleteFromRow() { return mutationCase_ == 4; } /** - * - * *
      * Deletes cells from the entire row.
      * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ @java.lang.Override @@ -4607,8 +4186,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow() { } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4629,8 +4206,6 @@ public Builder setDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow va return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4649,8 +4224,6 @@ public Builder setDeleteFromRow( return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4659,13 +4232,10 @@ public Builder setDeleteFromRow( */ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow value) { if (deleteFromRowBuilder_ == null) { - if (mutationCase_ == 4 - && mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { - mutation_ = - com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder( - (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) - .mergeFrom(value) - .buildPartial(); + if (mutationCase_ == 4 && + mutation_ != com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance()) { + mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.newBuilder((com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_) + .mergeFrom(value).buildPartial(); } else { mutation_ = value; } @@ -4681,8 +4251,6 @@ public Builder mergeDeleteFromRow(com.google.bigtable.v2.Mutation.DeleteFromRow return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4706,8 +4274,6 @@ public Builder clearDeleteFromRow() { return this; } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4718,8 +4284,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRow.Builder getDeleteFromRowBui return getDeleteFromRowFieldBuilder().getBuilder(); } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4738,8 +4302,6 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr } } /** - * - * *
      * Deletes cells from the entire row.
      * 
@@ -4747,19 +4309,14 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder> getDeleteFromRowFieldBuilder() { if (deleteFromRowBuilder_ == null) { if (!(mutationCase_ == 4)) { mutation_ = com.google.bigtable.v2.Mutation.DeleteFromRow.getDefaultInstance(); } - deleteFromRowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation.DeleteFromRow, - com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, - com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( + deleteFromRowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Mutation.DeleteFromRow, com.google.bigtable.v2.Mutation.DeleteFromRow.Builder, com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder>( (com.google.bigtable.v2.Mutation.DeleteFromRow) mutation_, getParentForChildren(), isClean()); @@ -4769,9 +4326,9 @@ public com.google.bigtable.v2.Mutation.DeleteFromRowOrBuilder getDeleteFromRowOr onChanged(); return deleteFromRowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4781,12 +4338,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Mutation) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.Mutation) private static final com.google.bigtable.v2.Mutation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.Mutation(); } @@ -4795,27 +4352,27 @@ public static com.google.bigtable.v2.Mutation getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Mutation parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Mutation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4830,4 +4387,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.Mutation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java index 36a5d73eb8..43d308e53e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutationOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface MutationOrBuilder - extends +public interface MutationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Mutation) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return Whether the setCell field is set. */ boolean hasSetCell(); /** - * - * *
    * Set a cell's value.
    * 
* * .google.bigtable.v2.Mutation.SetCell set_cell = 1; - * * @return The setCell. */ com.google.bigtable.v2.Mutation.SetCell getSetCell(); /** - * - * *
    * Set a cell's value.
    * 
@@ -59,32 +35,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.SetCellOrBuilder getSetCellOrBuilder(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return Whether the deleteFromColumn field is set. */ boolean hasDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromColumn delete_from_column = 2; - * * @return The deleteFromColumn. */ com.google.bigtable.v2.Mutation.DeleteFromColumn getDeleteFromColumn(); /** - * - * *
    * Deletes cells from a column.
    * 
@@ -94,32 +62,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromColumnOrBuilder getDeleteFromColumnOrBuilder(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return Whether the deleteFromFamily field is set. */ boolean hasDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromFamily delete_from_family = 3; - * * @return The deleteFromFamily. */ com.google.bigtable.v2.Mutation.DeleteFromFamily getDeleteFromFamily(); /** - * - * *
    * Deletes cells from a column family.
    * 
@@ -129,32 +89,24 @@ public interface MutationOrBuilder com.google.bigtable.v2.Mutation.DeleteFromFamilyOrBuilder getDeleteFromFamilyOrBuilder(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return Whether the deleteFromRow field is set. */ boolean hasDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
* * .google.bigtable.v2.Mutation.DeleteFromRow delete_from_row = 4; - * * @return The deleteFromRow. */ com.google.bigtable.v2.Mutation.DeleteFromRow getDeleteFromRow(); /** - * - * *
    * Deletes cells from the entire row.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java index 03779ac361..ff7ca500ea 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for client connection keep-alive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ -public final class PingAndWarmRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmRequest) PingAndWarmRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmRequest.newBuilder() to construct. private PingAndWarmRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PingAndWarmRequest() { name_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private PingAndWarmRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -123,19 +96,15 @@ public com.google.protobuf.ByteString getNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -144,30 +113,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmRequest)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmRequest other = - (com.google.bigtable.v2.PingAndWarmRequest) obj; + com.google.bigtable.v2.PingAndWarmRequest other = (com.google.bigtable.v2.PingAndWarmRequest) obj; - if (!getName().equals(other.getName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest 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.v2.PingAndWarmRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for client connection keep-alive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmRequest) com.google.bigtable.v2.PingAndWarmRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmRequest.class, - com.google.bigtable.v2.PingAndWarmRequest.Builder.class); + com.google.bigtable.v2.PingAndWarmRequest.class, com.google.bigtable.v2.PingAndWarmRequest.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.v2.PingAndWarmRequest build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmRequest buildPartial() { - com.google.bigtable.v2.PingAndWarmRequest result = - new com.google.bigtable.v2.PingAndWarmRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.PingAndWarmRequest result = new com.google.bigtable.v2.PingAndWarmRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.PingAndWarmRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmRequest) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmRequest)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,29 +496,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -568,25 +522,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -594,43 +545,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { @@ -640,25 +580,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. The unique name of the instance to check permissions for as well
      * as respond. Values are of the form
      * `projects/<project>/instances/<instance>`.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -668,21 +602,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -691,22 +623,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -714,37 +645,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -754,31 +678,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmRequest) private static final com.google.bigtable.v2.PingAndWarmRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmRequest(); } @@ -802,27 +722,27 @@ public static com.google.bigtable.v2.PingAndWarmRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java index 4fc43d4799..8e89e42d22 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmRequestOrBuilder.java @@ -1,85 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface PingAndWarmRequestOrBuilder - extends +public interface PingAndWarmRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The unique name of the instance to check permissions for as well
    * as respond. Values are of the form
    * `projects/<project>/instances/<instance>`.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java similarity index 61% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java index 7b2901845a..48e3d5b0c1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponse.java @@ -1,67 +1,48 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.PingAndWarm connection keepalive and warming.
  * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ -public final class PingAndWarmResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PingAndWarmResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.PingAndWarmResponse) PingAndWarmResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PingAndWarmResponse.newBuilder() to construct. private PingAndWarmResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private PingAndWarmResponse() {} + private PingAndWarmResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PingAndWarmResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -73,7 +54,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -91,13 +73,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.PingAndWarmResponse)) { return super.equals(obj); } - com.google.bigtable.v2.PingAndWarmResponse other = - (com.google.bigtable.v2.PingAndWarmResponse) obj; + com.google.bigtable.v2.PingAndWarmResponse other = (com.google.bigtable.v2.PingAndWarmResponse) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -115,136 +96,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse 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.v2.PingAndWarmResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.PingAndWarmResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.PingAndWarmResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.PingAndWarmResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.PingAndWarm connection keepalive and warming.
    * 
* * Protobuf type {@code google.bigtable.v2.PingAndWarmResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.PingAndWarmResponse) com.google.bigtable.v2.PingAndWarmResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.PingAndWarmResponse.class, - com.google.bigtable.v2.PingAndWarmResponse.Builder.class); + com.google.bigtable.v2.PingAndWarmResponse.class, com.google.bigtable.v2.PingAndWarmResponse.Builder.class); } // Construct using com.google.bigtable.v2.PingAndWarmResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -252,9 +229,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; } @java.lang.Override @@ -273,8 +250,7 @@ public com.google.bigtable.v2.PingAndWarmResponse build() { @java.lang.Override public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { - com.google.bigtable.v2.PingAndWarmResponse result = - new com.google.bigtable.v2.PingAndWarmResponse(this); + com.google.bigtable.v2.PingAndWarmResponse result = new com.google.bigtable.v2.PingAndWarmResponse(this); onBuilt(); return result; } @@ -283,39 +259,38 @@ public com.google.bigtable.v2.PingAndWarmResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.PingAndWarmResponse) { - return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse) other); + return mergeFrom((com.google.bigtable.v2.PingAndWarmResponse)other); } else { super.mergeFrom(other); return this; @@ -350,13 +325,12 @@ public Builder mergeFrom( case 0: done = true; break; - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -366,9 +340,9 @@ public Builder mergeFrom( } // finally return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -378,12 +352,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.PingAndWarmResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.PingAndWarmResponse) private static final com.google.bigtable.v2.PingAndWarmResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.PingAndWarmResponse(); } @@ -392,27 +366,27 @@ public static com.google.bigtable.v2.PingAndWarmResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PingAndWarmResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PingAndWarmResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -427,4 +401,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.PingAndWarmResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java new file mode 100644 index 0000000000..dabd700c48 --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/bigtable.proto + +package com.google.bigtable.v2; + +public interface PingAndWarmResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmResponse) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java index b07c19e671..904a052f02 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfo.java @@ -1,70 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Information about how client should adjust the load to Bigtable.
  * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ -public final class RateLimitInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RateLimitInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RateLimitInfo) RateLimitInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RateLimitInfo.newBuilder() to construct. private RateLimitInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RateLimitInfo() {} + private RateLimitInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RateLimitInfo(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } public static final int PERIOD_FIELD_NUMBER = 1; private com.google.protobuf.Duration period_; /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -75,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ @java.lang.Override @@ -83,8 +62,6 @@ public boolean hasPeriod() { return period_ != null; } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -95,7 +72,6 @@ public boolean hasPeriod() {
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ @java.lang.Override @@ -103,8 +79,6 @@ public com.google.protobuf.Duration getPeriod() { return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_; } /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -124,8 +98,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
   public static final int FACTOR_FIELD_NUMBER = 2;
   private double factor_ = 0D;
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -139,7 +111,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
    * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -148,7 +119,6 @@ public double getFactor() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,7 +130,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (period_ != null) { output.writeMessage(1, getPeriod()); } @@ -177,10 +148,12 @@ public int getSerializedSize() { size = 0; if (period_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPeriod()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPeriod()); } if (java.lang.Double.doubleToRawLongBits(factor_) != 0) { - size += com.google.protobuf.CodedOutputStream.computeDoubleSize(2, factor_); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(2, factor_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -190,7 +163,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RateLimitInfo)) { return super.equals(obj); @@ -199,10 +172,12 @@ public boolean equals(final java.lang.Object obj) { if (hasPeriod() != other.hasPeriod()) return false; if (hasPeriod()) { - if (!getPeriod().equals(other.getPeriod())) return false; + if (!getPeriod() + .equals(other.getPeriod())) return false; } if (java.lang.Double.doubleToLongBits(getFactor()) - != java.lang.Double.doubleToLongBits(other.getFactor())) return false; + != java.lang.Double.doubleToLongBits( + other.getFactor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -219,143 +194,139 @@ public int hashCode() { hash = (53 * hash) + getPeriod().hashCode(); } hash = (37 * hash) + FACTOR_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getFactor())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getFactor())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RateLimitInfo parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RateLimitInfo parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo 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.v2.RateLimitInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RateLimitInfo parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RateLimitInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RateLimitInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Information about how client should adjust the load to Bigtable.
    * 
* * Protobuf type {@code google.bigtable.v2.RateLimitInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RateLimitInfo) com.google.bigtable.v2.RateLimitInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RateLimitInfo.class, - com.google.bigtable.v2.RateLimitInfo.Builder.class); + com.google.bigtable.v2.RateLimitInfo.class, com.google.bigtable.v2.RateLimitInfo.Builder.class); } // Construct using com.google.bigtable.v2.RateLimitInfo.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -370,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_RateLimitInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_RateLimitInfo_descriptor; } @java.lang.Override @@ -392,9 +363,7 @@ public com.google.bigtable.v2.RateLimitInfo build() { @java.lang.Override public com.google.bigtable.v2.RateLimitInfo buildPartial() { com.google.bigtable.v2.RateLimitInfo result = new com.google.bigtable.v2.RateLimitInfo(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -402,7 +371,9 @@ public com.google.bigtable.v2.RateLimitInfo buildPartial() { private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.period_ = periodBuilder_ == null ? period_ : periodBuilder_.build(); + result.period_ = periodBuilder_ == null + ? period_ + : periodBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { result.factor_ = factor_; @@ -413,39 +384,38 @@ private void buildPartial0(com.google.bigtable.v2.RateLimitInfo result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RateLimitInfo) { - return mergeFrom((com.google.bigtable.v2.RateLimitInfo) other); + return mergeFrom((com.google.bigtable.v2.RateLimitInfo)other); } else { super.mergeFrom(other); return this; @@ -486,25 +456,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPeriodFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 17: - { - factor_ = input.readDouble(); - bitField0_ |= 0x00000002; - break; - } // case 17 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPeriodFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 17: { + factor_ = input.readDouble(); + bitField0_ |= 0x00000002; + break; + } // case 17 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -514,18 +483,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Duration period_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - periodBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> periodBuilder_; /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -536,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ public boolean hasPeriod() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -555,7 +515,6 @@ public boolean hasPeriod() {
      * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ public com.google.protobuf.Duration getPeriod() { @@ -566,8 +525,6 @@ public com.google.protobuf.Duration getPeriod() { } } /** - * - * *
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -593,8 +550,6 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -606,7 +561,8 @@ public Builder setPeriod(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration period = 1;
      */
-    public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setPeriod(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (periodBuilder_ == null) {
         period_ = builderForValue.build();
       } else {
@@ -617,8 +573,6 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -632,9 +586,9 @@ public Builder setPeriod(com.google.protobuf.Duration.Builder builderForValue) {
      */
     public Builder mergePeriod(com.google.protobuf.Duration value) {
       if (periodBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && period_ != null
-            && period_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          period_ != null &&
+          period_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getPeriodBuilder().mergeFrom(value);
         } else {
           period_ = value;
@@ -647,8 +601,6 @@ public Builder mergePeriod(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -671,8 +623,6 @@ public Builder clearPeriod() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -690,8 +640,6 @@ public com.google.protobuf.Duration.Builder getPeriodBuilder() {
       return getPeriodFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -707,12 +655,11 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
       if (periodBuilder_ != null) {
         return periodBuilder_.getMessageOrBuilder();
       } else {
-        return period_ == null ? com.google.protobuf.Duration.getDefaultInstance() : period_;
+        return period_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : period_;
       }
     }
     /**
-     *
-     *
      * 
      * Time that clients should wait before adjusting the target rate again.
      * If clients adjust rate too frequently, the impact of the previous
@@ -725,26 +672,21 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * .google.protobuf.Duration period = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getPeriodFieldBuilder() {
       if (periodBuilder_ == null) {
-        periodBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getPeriod(), getParentForChildren(), isClean());
+        periodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getPeriod(),
+                getParentForChildren(),
+                isClean());
         period_ = null;
       }
       return periodBuilder_;
     }
 
-    private double factor_;
+    private double factor_ ;
     /**
-     *
-     *
      * 
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -758,7 +700,6 @@ public com.google.protobuf.DurationOrBuilder getPeriodOrBuilder() {
      * 
* * double factor = 2; - * * @return The factor. */ @java.lang.Override @@ -766,8 +707,6 @@ public double getFactor() { return factor_; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -781,7 +720,6 @@ public double getFactor() {
      * 
* * double factor = 2; - * * @param value The factor to set. * @return This builder for chaining. */ @@ -793,8 +731,6 @@ public Builder setFactor(double value) { return this; } /** - * - * *
      * If it has been at least one `period` since the last load adjustment, the
      * client should multiply the current load by this value to get the new target
@@ -808,7 +744,6 @@ public Builder setFactor(double value) {
      * 
* * double factor = 2; - * * @return This builder for chaining. */ public Builder clearFactor() { @@ -817,9 +752,9 @@ public Builder clearFactor() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -829,12 +764,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RateLimitInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RateLimitInfo) private static final com.google.bigtable.v2.RateLimitInfo DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RateLimitInfo(); } @@ -843,27 +778,27 @@ public static com.google.bigtable.v2.RateLimitInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RateLimitInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RateLimitInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -878,4 +813,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RateLimitInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java similarity index 78% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java index 4f5abf86ad..06357892ff 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RateLimitInfoOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface RateLimitInfoOrBuilder - extends +public interface RateLimitInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RateLimitInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -36,13 +18,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return Whether the period field is set. */ boolean hasPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -53,13 +32,10 @@ public interface RateLimitInfoOrBuilder
    * 
* * .google.protobuf.Duration period = 1; - * * @return The period. */ com.google.protobuf.Duration getPeriod(); /** - * - * *
    * Time that clients should wait before adjusting the target rate again.
    * If clients adjust rate too frequently, the impact of the previous
@@ -74,8 +50,6 @@ public interface RateLimitInfoOrBuilder
   com.google.protobuf.DurationOrBuilder getPeriodOrBuilder();
 
   /**
-   *
-   *
    * 
    * If it has been at least one `period` since the last load adjustment, the
    * client should multiply the current load by this value to get the new target
@@ -89,7 +63,6 @@ public interface RateLimitInfoOrBuilder
    * 
* * double factor = 2; - * * @return The factor. */ double getFactor(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java similarity index 76% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java index 291b133e9e..3bb70eb87c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Request message for Bigtable.ReadChangeStream.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
  */
-public final class ReadChangeStreamRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamRequest)
     ReadChangeStreamRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamRequest.newBuilder() to construct.
   private ReadChangeStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadChangeStreamRequest() {
     tableName_ = "";
     appProfileId_ = "";
@@ -45,39 +27,34 @@ private ReadChangeStreamRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamRequest.class,
-            com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
   }
 
   private int startFromCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object startFrom_;
-
   public enum StartFromCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     START_TIME(4),
     CONTINUATION_TOKENS(6),
     STARTFROM_NOT_SET(0);
     private final int value;
-
     private StartFromCase(int value) {
       this.value = value;
     }
@@ -93,33 +70,27 @@ public static StartFromCase valueOf(int value) {
 
     public static StartFromCase forNumber(int value) {
       switch (value) {
-        case 4:
-          return START_TIME;
-        case 6:
-          return CONTINUATION_TOKENS;
-        case 0:
-          return STARTFROM_NOT_SET;
-        default:
-          return null;
+        case 4: return START_TIME;
+        case 6: return CONTINUATION_TOKENS;
+        case 0: return STARTFROM_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StartFromCase getStartFromCase() {
-    return StartFromCase.forNumber(startFromCase_);
+  public StartFromCase
+  getStartFromCase() {
+    return StartFromCase.forNumber(
+        startFromCase_);
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -127,10 +98,7 @@ public StartFromCase getStartFromCase() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -139,15 +107,14 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -155,18 +122,17 @@ public java.lang.String getTableName() {
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -175,12 +141,9 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -188,7 +151,6 @@ public com.google.protobuf.ByteString getTableNameBytes() {
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -197,15 +159,14 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -213,15 +174,16 @@ public java.lang.String getAppProfileId() {
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -232,14 +194,11 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int PARTITION_FIELD_NUMBER = 3; private com.google.bigtable.v2.StreamPartition partition_; /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -247,25 +206,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition to read changes from.
    * 
@@ -274,15 +226,11 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int START_TIME_FIELD_NUMBER = 4; /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -291,7 +239,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -299,8 +246,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -309,19 +254,16 @@ public boolean hasStartTime() {
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { if (startFromCase_ == 4) { - return (com.google.protobuf.Timestamp) startFrom_; + return (com.google.protobuf.Timestamp) startFrom_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -334,15 +276,13 @@ public com.google.protobuf.Timestamp getStartTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     if (startFromCase_ == 4) {
-      return (com.google.protobuf.Timestamp) startFrom_;
+       return (com.google.protobuf.Timestamp) startFrom_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -357,7 +297,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -365,8 +304,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -381,19 +318,16 @@ public boolean hasContinuationTokens() {
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { if (startFromCase_ == 6) { - return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; + return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_; } return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance(); } /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -412,7 +346,7 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() {
   @java.lang.Override
   public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
     if (startFromCase_ == 6) {
-      return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
+       return (com.google.bigtable.v2.StreamContinuationTokens) startFrom_;
     }
     return com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
   }
@@ -420,8 +354,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
   public static final int END_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp endTime_;
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -429,7 +361,6 @@ public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationT
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -437,8 +368,6 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -446,7 +375,6 @@ public boolean hasEndTime() {
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ @java.lang.Override @@ -454,8 +382,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -472,15 +398,12 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
   public static final int HEARTBEAT_DURATION_FIELD_NUMBER = 7;
   private com.google.protobuf.Duration heartbeatDuration_;
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ @java.lang.Override @@ -488,26 +411,19 @@ public boolean hasHeartbeatDuration() { return heartbeatDuration_ != null; } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ @java.lang.Override public com.google.protobuf.Duration getHeartbeatDuration() { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
@@ -517,13 +433,10 @@ public com.google.protobuf.Duration getHeartbeatDuration() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
-    return heartbeatDuration_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : heartbeatDuration_;
+    return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -535,7 +448,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_);
     }
@@ -573,23 +487,24 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appProfileId_);
     }
     if (partition_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPartition());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getPartition());
     }
     if (startFromCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) startFrom_);
     }
     if (endTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getEndTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getEndTime());
     }
     if (startFromCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.bigtable.v2.StreamContinuationTokens) startFrom_);
     }
     if (heartbeatDuration_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getHeartbeatDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getHeartbeatDuration());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -599,35 +514,41 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamRequest)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.ReadChangeStreamRequest other =
-        (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
+    com.google.bigtable.v2.ReadChangeStreamRequest other = (com.google.bigtable.v2.ReadChangeStreamRequest) obj;
 
-    if (!getTableName().equals(other.getTableName())) return false;
-    if (!getAppProfileId().equals(other.getAppProfileId())) return false;
+    if (!getTableName()
+        .equals(other.getTableName())) return false;
+    if (!getAppProfileId()
+        .equals(other.getAppProfileId())) return false;
     if (hasPartition() != other.hasPartition()) return false;
     if (hasPartition()) {
-      if (!getPartition().equals(other.getPartition())) return false;
+      if (!getPartition()
+          .equals(other.getPartition())) return false;
     }
     if (hasEndTime() != other.hasEndTime()) return false;
     if (hasEndTime()) {
-      if (!getEndTime().equals(other.getEndTime())) return false;
+      if (!getEndTime()
+          .equals(other.getEndTime())) return false;
     }
     if (hasHeartbeatDuration() != other.hasHeartbeatDuration()) return false;
     if (hasHeartbeatDuration()) {
-      if (!getHeartbeatDuration().equals(other.getHeartbeatDuration())) return false;
+      if (!getHeartbeatDuration()
+          .equals(other.getHeartbeatDuration())) return false;
     }
     if (!getStartFromCase().equals(other.getStartFromCase())) return false;
     switch (startFromCase_) {
       case 4:
-        if (!getStartTime().equals(other.getStartTime())) return false;
+        if (!getStartTime()
+            .equals(other.getStartTime())) return false;
         break;
       case 6:
-        if (!getContinuationTokens().equals(other.getContinuationTokens())) return false;
+        if (!getContinuationTokens()
+            .equals(other.getContinuationTokens())) return false;
         break;
       case 0:
       default:
@@ -676,104 +597,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest 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.v2.ReadChangeStreamRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadChangeStreamRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Request message for Bigtable.ReadChangeStream.
@@ -781,32 +697,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamRequest)
       com.google.bigtable.v2.ReadChangeStreamRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamRequest.class,
-              com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamRequest.class, com.google.bigtable.v2.ReadChangeStreamRequest.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -840,9 +757,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor;
     }
 
     @java.lang.Override
@@ -861,11 +778,8 @@ public com.google.bigtable.v2.ReadChangeStreamRequest build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamRequest buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamRequest result =
-          new com.google.bigtable.v2.ReadChangeStreamRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamRequest result = new com.google.bigtable.v2.ReadChangeStreamRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -880,26 +794,31 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamRequest result
         result.appProfileId_ = appProfileId_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000020) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null
+            ? endTime_
+            : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.heartbeatDuration_ =
-            heartbeatDurationBuilder_ == null
-                ? heartbeatDuration_
-                : heartbeatDurationBuilder_.build();
+        result.heartbeatDuration_ = heartbeatDurationBuilder_ == null
+            ? heartbeatDuration_
+            : heartbeatDurationBuilder_.build();
       }
     }
 
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest result) {
       result.startFromCase_ = startFromCase_;
       result.startFrom_ = this.startFrom_;
-      if (startFromCase_ == 4 && startTimeBuilder_ != null) {
+      if (startFromCase_ == 4 &&
+          startTimeBuilder_ != null) {
         result.startFrom_ = startTimeBuilder_.build();
       }
-      if (startFromCase_ == 6 && continuationTokensBuilder_ != null) {
+      if (startFromCase_ == 6 &&
+          continuationTokensBuilder_ != null) {
         result.startFrom_ = continuationTokensBuilder_.build();
       }
     }
@@ -908,39 +827,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamRequest) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -969,20 +887,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamRequest other) {
         mergeHeartbeatDuration(other.getHeartbeatDuration());
       }
       switch (other.getStartFromCase()) {
-        case START_TIME:
-          {
-            mergeStartTime(other.getStartTime());
-            break;
-          }
-        case CONTINUATION_TOKENS:
-          {
-            mergeContinuationTokens(other.getContinuationTokens());
-            break;
-          }
-        case STARTFROM_NOT_SET:
-          {
-            break;
-          }
+        case START_TIME: {
+          mergeStartTime(other.getStartTime());
+          break;
+        }
+        case CONTINUATION_TOKENS: {
+          mergeContinuationTokens(other.getContinuationTokens());
+          break;
+        }
+        case STARTFROM_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1010,57 +925,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                tableName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                appProfileId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000020;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(
-                    getContinuationTokensFieldBuilder().getBuilder(), extensionRegistry);
-                startFromCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getHeartbeatDurationFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 58
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              tableName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              appProfileId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getStartTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              input.readMessage(
+                  getEndTimeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000020;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getContinuationTokensFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              startFromCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getHeartbeatDurationFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              break;
+            } // case 58
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1070,12 +985,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int startFromCase_ = 0;
     private java.lang.Object startFrom_;
-
-    public StartFromCase getStartFromCase() {
-      return StartFromCase.forNumber(startFromCase_);
+    public StartFromCase
+        getStartFromCase() {
+      return StartFromCase.forNumber(
+          startFromCase_);
     }
 
     public Builder clearStartFrom() {
@@ -1089,8 +1004,6 @@ public Builder clearStartFrom() {
 
     private java.lang.Object tableName_ = "";
     /**
-     *
-     *
      * 
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1098,16 +1011,14 @@ public Builder clearStartFrom() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1116,8 +1027,6 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1125,17 +1034,16 @@ public java.lang.String getTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1143,8 +1051,6 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1152,25 +1058,19 @@ public com.google.protobuf.ByteString getTableNameBytes() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1178,10 +1078,7 @@ public Builder setTableName(java.lang.String value) {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1191,8 +1088,6 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to read a change stream.
      * Values are of the form
@@ -1200,17 +1095,13 @@ public Builder clearTableName() {
      * Change streaming must be enabled on the table.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1220,8 +1111,6 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1229,13 +1118,13 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1244,8 +1133,6 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1253,14 +1140,15 @@ public java.lang.String getAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1268,8 +1156,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1277,22 +1163,18 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() {
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1300,7 +1182,6 @@ public Builder setAppProfileId(java.lang.String value) {
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1310,8 +1191,6 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
@@ -1319,14 +1198,12 @@ public Builder clearAppProfileId() {
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1336,47 +1213,34 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.StreamPartition partition_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> - partitionBuilder_; + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_; /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1397,15 +1261,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
* * .google.bigtable.v2.StreamPartition partition = 3; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -1416,8 +1279,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1426,9 +1287,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -1441,8 +1302,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1460,8 +1319,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1474,8 +1331,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1486,14 +1341,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition to read changes from.
      * 
@@ -1501,30 +1353,22 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1533,7 +1377,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1541,8 +1384,6 @@ public boolean hasStartTime() { return startFromCase_ == 4; } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1551,7 +1392,6 @@ public boolean hasStartTime() {
      * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ @java.lang.Override @@ -1569,8 +1409,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1594,8 +1432,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1605,7 +1441,8 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp start_time = 4;
      */
-    public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setStartTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (startTimeBuilder_ == null) {
         startFrom_ = builderForValue.build();
         onChanged();
@@ -1616,8 +1453,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1629,12 +1464,10 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
      */
     public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       if (startTimeBuilder_ == null) {
-        if (startFromCase_ == 4
-            && startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          startFrom_ =
-              com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 4 &&
+            startFrom_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          startFrom_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1650,8 +1483,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1678,8 +1509,6 @@ public Builder clearStartTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1693,8 +1522,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
       return getStartTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1716,8 +1543,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Start reading the stream at the specified timestamp. This timestamp must
      * be within the change stream retention period, less than or equal to the
@@ -1728,20 +1553,17 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * .google.protobuf.Timestamp start_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getStartTimeFieldBuilder() {
       if (startTimeBuilder_ == null) {
         if (!(startFromCase_ == 4)) {
           startFrom_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        startTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) startFrom_, getParentForChildren(), isClean());
+        startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) startFrom_,
+                getParentForChildren(),
+                isClean());
         startFrom_ = null;
       }
       startFromCase_ = 4;
@@ -1750,13 +1572,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
-        continuationTokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> continuationTokensBuilder_;
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1771,7 +1588,6 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ @java.lang.Override @@ -1779,8 +1595,6 @@ public boolean hasContinuationTokens() { return startFromCase_ == 6; } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1795,7 +1609,6 @@ public boolean hasContinuationTokens() {
      * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ @java.lang.Override @@ -1813,8 +1626,6 @@ public com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens() { } } /** - * - * *
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1844,8 +1655,6 @@ public Builder setContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1873,8 +1682,6 @@ public Builder setContinuationTokens(
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1892,13 +1699,10 @@ public Builder setContinuationTokens(
      */
     public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuationTokens value) {
       if (continuationTokensBuilder_ == null) {
-        if (startFromCase_ == 6
-            && startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
-          startFrom_ =
-              com.google.bigtable.v2.StreamContinuationTokens.newBuilder(
-                      (com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (startFromCase_ == 6 &&
+            startFrom_ != com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) {
+          startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.newBuilder((com.google.bigtable.v2.StreamContinuationTokens) startFrom_)
+              .mergeFrom(value).buildPartial();
         } else {
           startFrom_ = value;
         }
@@ -1914,8 +1718,6 @@ public Builder mergeContinuationTokens(com.google.bigtable.v2.StreamContinuation
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1948,8 +1750,6 @@ public Builder clearContinuationTokens() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1969,8 +1769,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       return getContinuationTokensFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -1987,8 +1785,7 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder
-        getContinuationTokensOrBuilder() {
+    public com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder() {
       if ((startFromCase_ == 6) && (continuationTokensBuilder_ != null)) {
         return continuationTokensBuilder_.getMessageOrBuilder();
       } else {
@@ -1999,8 +1796,6 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
       }
     }
     /**
-     *
-     *
      * 
      * Tokens that describe how to resume reading a stream where reading
      * previously left off. If specified, changes will be read starting at the
@@ -2017,19 +1812,14 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationTokens,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder,
-            com.google.bigtable.v2.StreamContinuationTokensOrBuilder>
+        com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder> 
         getContinuationTokensFieldBuilder() {
       if (continuationTokensBuilder_ == null) {
         if (!(startFromCase_ == 6)) {
           startFrom_ = com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance();
         }
-        continuationTokensBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.StreamContinuationTokens,
-                com.google.bigtable.v2.StreamContinuationTokens.Builder,
-                com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
+        continuationTokensBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.StreamContinuationTokens, com.google.bigtable.v2.StreamContinuationTokens.Builder, com.google.bigtable.v2.StreamContinuationTokensOrBuilder>(
                 (com.google.bigtable.v2.StreamContinuationTokens) startFrom_,
                 getParentForChildren(),
                 isClean());
@@ -2042,13 +1832,8 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
 
     private com.google.protobuf.Timestamp endTime_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        endTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2056,15 +1841,12 @@ public com.google.bigtable.v2.StreamContinuationTokens.Builder getContinuationTo
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000020) != 0); } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2072,7 +1854,6 @@ public boolean hasEndTime() {
      * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2083,8 +1864,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2107,8 +1886,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2117,7 +1894,8 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp end_time = 5;
      */
-    public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setEndTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (endTimeBuilder_ == null) {
         endTime_ = builderForValue.build();
       } else {
@@ -2128,8 +1906,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2140,9 +1916,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
      */
     public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       if (endTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000020) != 0)
-            && endTime_ != null
-            && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000020) != 0) &&
+          endTime_ != null &&
+          endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getEndTimeBuilder().mergeFrom(value);
         } else {
           endTime_ = value;
@@ -2155,8 +1931,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2176,8 +1950,6 @@ public Builder clearEndTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2192,8 +1964,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
       return getEndTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2206,12 +1976,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
       if (endTimeBuilder_ != null) {
         return endTimeBuilder_.getMessageOrBuilder();
       } else {
-        return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+        return endTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, OK will be returned when the stream advances beyond
      * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -2221,17 +1990,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
      * .google.protobuf.Timestamp end_time = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getEndTimeFieldBuilder() {
       if (endTimeBuilder_ == null) {
-        endTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getEndTime(), getParentForChildren(), isClean());
+        endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getEndTime(),
+                getParentForChildren(),
+                isClean());
         endTime_ = null;
       }
       return endTimeBuilder_;
@@ -2239,49 +2005,36 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
 
     private com.google.protobuf.Duration heartbeatDuration_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        heartbeatDurationBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> heartbeatDurationBuilder_;
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ public boolean hasHeartbeatDuration() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
      * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ public com.google.protobuf.Duration getHeartbeatDuration() { if (heartbeatDurationBuilder_ == null) { - return heartbeatDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : heartbeatDuration_; + return heartbeatDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_; } else { return heartbeatDurationBuilder_.getMessage(); } } /** - * - * *
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2303,8 +2056,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2312,7 +2063,8 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
-    public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setHeartbeatDuration(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (heartbeatDurationBuilder_ == null) {
         heartbeatDuration_ = builderForValue.build();
       } else {
@@ -2323,8 +2075,6 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2334,9 +2084,9 @@ public Builder setHeartbeatDuration(com.google.protobuf.Duration.Builder builder
      */
     public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       if (heartbeatDurationBuilder_ == null) {
-        if (((bitField0_ & 0x00000040) != 0)
-            && heartbeatDuration_ != null
-            && heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000040) != 0) &&
+          heartbeatDuration_ != null &&
+          heartbeatDuration_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getHeartbeatDurationBuilder().mergeFrom(value);
         } else {
           heartbeatDuration_ = value;
@@ -2349,8 +2099,6 @@ public Builder mergeHeartbeatDuration(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2369,8 +2117,6 @@ public Builder clearHeartbeatDuration() {
       return this;
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2384,8 +2130,6 @@ public com.google.protobuf.Duration.Builder getHeartbeatDurationBuilder() {
       return getHeartbeatDurationFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2397,14 +2141,11 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
       if (heartbeatDurationBuilder_ != null) {
         return heartbeatDurationBuilder_.getMessageOrBuilder();
       } else {
-        return heartbeatDuration_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : heartbeatDuration_;
+        return heartbeatDuration_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : heartbeatDuration_;
       }
     }
     /**
-     *
-     *
      * 
      * If specified, the duration between `Heartbeat` messages on the stream.
      * Otherwise, defaults to 5 seconds.
@@ -2413,24 +2154,21 @@ public com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder() {
      * .google.protobuf.Duration heartbeat_duration = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getHeartbeatDurationFieldBuilder() {
       if (heartbeatDurationBuilder_ == null) {
-        heartbeatDurationBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getHeartbeatDuration(), getParentForChildren(), isClean());
+        heartbeatDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getHeartbeatDuration(),
+                getParentForChildren(),
+                isClean());
         heartbeatDuration_ = null;
       }
       return heartbeatDurationBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2440,12 +2178,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamRequest)
   private static final com.google.bigtable.v2.ReadChangeStreamRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamRequest();
   }
@@ -2454,27 +2192,27 @@ public static com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadChangeStreamRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadChangeStreamRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2489,4 +2227,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadChangeStreamRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
similarity index 86%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
index 8945bd215c..1b7af4dcb1 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamRequestOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface ReadChangeStreamRequestOrBuilder
-    extends
+public interface ReadChangeStreamRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -33,16 +15,11 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to read a change stream.
    * Values are of the form
@@ -50,17 +27,13 @@ public interface ReadChangeStreamRequestOrBuilder
    * Change streaming must be enabled on the table.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -68,13 +41,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
@@ -82,38 +52,30 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition to read changes from.
    * 
* * .google.bigtable.v2.StreamPartition partition = 3; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition to read changes from.
    * 
@@ -123,8 +85,6 @@ public interface ReadChangeStreamRequestOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -133,13 +93,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -148,13 +105,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp start_time = 4; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Start reading the stream at the specified timestamp. This timestamp must
    * be within the change stream retention period, less than or equal to the
@@ -167,8 +121,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -183,13 +135,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return Whether the continuationTokens field is set. */ boolean hasContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -204,13 +153,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6; - * * @return The continuationTokens. */ com.google.bigtable.v2.StreamContinuationTokens getContinuationTokens(); /** - * - * *
    * Tokens that describe how to resume reading a stream where reading
    * previously left off. If specified, changes will be read starting at the
@@ -229,8 +175,6 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.bigtable.v2.StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -238,13 +182,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -252,13 +193,10 @@ public interface ReadChangeStreamRequestOrBuilder
    * 
* * .google.protobuf.Timestamp end_time = 5; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * If specified, OK will be returned when the stream advances beyond
    * this time. Otherwise, changes will be continuously delivered on the stream.
@@ -270,34 +208,26 @@ public interface ReadChangeStreamRequestOrBuilder
   com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return Whether the heartbeatDuration field is set. */ boolean hasHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
    * 
* * .google.protobuf.Duration heartbeat_duration = 7; - * * @return The heartbeatDuration. */ com.google.protobuf.Duration getHeartbeatDuration(); /** - * - * *
    * If specified, the duration between `Heartbeat` messages on the stream.
    * Otherwise, defaults to 5 seconds.
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
similarity index 75%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
index dcb18e9271..a312ef7ef7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponse.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * Response message for Bigtable.ReadChangeStream.
@@ -28,89 +11,73 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
  */
-public final class ReadChangeStreamResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadChangeStreamResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse)
     ReadChangeStreamResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadChangeStreamResponse.newBuilder() to construct.
   private ReadChangeStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadChangeStreamResponse() {}
+  private ReadChangeStreamResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadChangeStreamResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.BigtableProto
-        .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+    return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadChangeStreamResponse.class,
-            com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+            com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
   }
 
-  public interface MutationChunkOrBuilder
-      extends
+  public interface MutationChunkOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ boolean hasChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo(); /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder(); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -118,13 +85,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ boolean hasMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -132,13 +96,10 @@ public interface MutationChunkOrBuilder
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ com.google.bigtable.v2.Mutation getMutation(); /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -150,95 +111,80 @@ public interface MutationChunkOrBuilder
     com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A partial or complete mutation.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class MutationChunk extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class MutationChunk extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) MutationChunkOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationChunk.newBuilder() to construct. private MutationChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutationChunk() {} + private MutationChunk() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationChunk(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } - public interface ChunkInfoOrBuilder - extends + public interface ChunkInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ int getChunkedValueSize(); /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ int getChunkedValueOffset(); /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ boolean getLastChunk(); } /** - * - * *
      * Information about the chunking of this mutation.
      * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -247,51 +193,46 @@ public interface ChunkInfoOrBuilder
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
      */
-    public static final class ChunkInfo extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class ChunkInfo extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
         ChunkInfoOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use ChunkInfo.newBuilder() to construct.
       private ChunkInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private ChunkInfo() {}
+      private ChunkInfo() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new ChunkInfo();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                    .class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
       }
 
       public static final int CHUNKED_VALUE_SIZE_FIELD_NUMBER = 1;
       private int chunkedValueSize_ = 0;
       /**
-       *
-       *
        * 
        * The total value size of all the chunks that make up the `SetCell`.
        * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -302,15 +243,12 @@ public int getChunkedValueSize() { public static final int CHUNKED_VALUE_OFFSET_FIELD_NUMBER = 2; private int chunkedValueOffset_ = 0; /** - * - * *
        * The byte offset of this chunk into the total value size of the
        * mutation.
        * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -321,14 +259,11 @@ public int getChunkedValueOffset() { public static final int LAST_CHUNK_FIELD_NUMBER = 3; private boolean lastChunk_ = false; /** - * - * *
        * When true, this is the last chunk of a chunked `SetCell`.
        * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -337,7 +272,6 @@ public boolean getLastChunk() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -349,7 +283,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (chunkedValueSize_ != 0) { output.writeInt32(1, chunkedValueSize_); } @@ -369,13 +304,16 @@ public int getSerializedSize() { size = 0; if (chunkedValueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, chunkedValueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, chunkedValueSize_); } if (chunkedValueOffset_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, chunkedValueOffset_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, chunkedValueOffset_); } if (lastChunk_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, lastChunk_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(3, lastChunk_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -385,18 +323,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { + if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = - (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) obj; - if (getChunkedValueSize() != other.getChunkedValueSize()) return false; - if (getChunkedValueOffset() != other.getChunkedValueOffset()) return false; - if (getLastChunk() != other.getLastChunk()) return false; + if (getChunkedValueSize() + != other.getChunkedValueSize()) return false; + if (getChunkedValueOffset() + != other.getChunkedValueOffset()) return false; + if (getLastChunk() + != other.getLastChunk()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -413,109 +352,97 @@ public int hashCode() { hash = (37 * hash) + CHUNKED_VALUE_OFFSET_FIELD_NUMBER; hash = (53 * hash) + getChunkedValueOffset(); hash = (37 * hash) + LAST_CHUNK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getLastChunk()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLastChunk()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo 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.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { + public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -525,8 +452,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Information about the chunking of this mutation.
        * Only `SetCell` mutations can be chunked, and all chunks for a `SetCell`
@@ -535,35 +460,33 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)
           com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class,
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder
-                      .class);
+                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder.class);
         }
 
-        // Construct using
-        // com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
-        private Builder() {}
+        // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.newBuilder()
+        private Builder() {
 
-        private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-          super(parent);
         }
 
+        private Builder(
+            com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+          super(parent);
+
+        }
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -575,22 +498,19 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.bigtable.v2.BigtableProto
-              .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor;
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            getDefaultInstanceForType() {
-          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-              .getDefaultInstance();
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() {
+          return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance();
         }
 
         @java.lang.Override
         public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo build() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              buildPartial();
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = buildPartial();
           if (!result.isInitialized()) {
             throw newUninitializedMessageException(result);
           }
@@ -598,19 +518,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo b
         }
 
         @java.lang.Override
-        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-            buildPartial() {
-          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result =
-              new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+        public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo buildPartial() {
+          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
+        private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo result) {
           int from_bitField0_ = bitField0_;
           if (((from_bitField0_ & 0x00000001) != 0)) {
             result.chunkedValueSize_ = chunkedValueSize_;
@@ -627,54 +542,46 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
-          if (other
-              instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
-            return mergeFrom(
-                (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) other);
+          if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) {
+            return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo)other);
           } else {
             super.mergeFrom(other);
             return this;
           }
         }
 
-        public Builder mergeFrom(
-            com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
-          if (other
-              == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo
-                  .getDefaultInstance()) return this;
+        public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo other) {
+          if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) return this;
           if (other.getChunkedValueSize() != 0) {
             setChunkedValueSize(other.getChunkedValueSize());
           }
@@ -710,31 +617,27 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 8:
-                  {
-                    chunkedValueSize_ = input.readInt32();
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 8
-                case 16:
-                  {
-                    chunkedValueOffset_ = input.readInt32();
-                    bitField0_ |= 0x00000002;
-                    break;
-                  } // case 16
-                case 24:
-                  {
-                    lastChunk_ = input.readBool();
-                    bitField0_ |= 0x00000004;
-                    break;
-                  } // case 24
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 8: {
+                  chunkedValueSize_ = input.readInt32();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 8
+                case 16: {
+                  chunkedValueOffset_ = input.readInt32();
+                  bitField0_ |= 0x00000002;
+                  break;
+                } // case 16
+                case 24: {
+                  lastChunk_ = input.readBool();
+                  bitField0_ |= 0x00000004;
+                  break;
+                } // case 24
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -744,19 +647,15 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
-        private int chunkedValueSize_;
+        private int chunkedValueSize_ ;
         /**
-         *
-         *
          * 
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return The chunkedValueSize. */ @java.lang.Override @@ -764,14 +663,11 @@ public int getChunkedValueSize() { return chunkedValueSize_; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @param value The chunkedValueSize to set. * @return This builder for chaining. */ @@ -783,14 +679,11 @@ public Builder setChunkedValueSize(int value) { return this; } /** - * - * *
          * The total value size of all the chunks that make up the `SetCell`.
          * 
* * int32 chunked_value_size = 1; - * * @return This builder for chaining. */ public Builder clearChunkedValueSize() { @@ -800,17 +693,14 @@ public Builder clearChunkedValueSize() { return this; } - private int chunkedValueOffset_; + private int chunkedValueOffset_ ; /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return The chunkedValueOffset. */ @java.lang.Override @@ -818,15 +708,12 @@ public int getChunkedValueOffset() { return chunkedValueOffset_; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @param value The chunkedValueOffset to set. * @return This builder for chaining. */ @@ -838,15 +725,12 @@ public Builder setChunkedValueOffset(int value) { return this; } /** - * - * *
          * The byte offset of this chunk into the total value size of the
          * mutation.
          * 
* * int32 chunked_value_offset = 2; - * * @return This builder for chaining. */ public Builder clearChunkedValueOffset() { @@ -856,16 +740,13 @@ public Builder clearChunkedValueOffset() { return this; } - private boolean lastChunk_; + private boolean lastChunk_ ; /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return The lastChunk. */ @java.lang.Override @@ -873,14 +754,11 @@ public boolean getLastChunk() { return lastChunk_; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @param value The lastChunk to set. * @return This builder for chaining. */ @@ -892,14 +770,11 @@ public Builder setLastChunk(boolean value) { return this; } /** - * - * *
          * When true, this is the last chunk of a chunked `SetCell`.
          * 
* * bool last_chunk = 3; - * * @return This builder for chaining. */ public Builder clearLastChunk() { @@ -908,7 +783,6 @@ public Builder clearLastChunk() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -921,45 +795,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo) - private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - DEFAULT_INSTANCE; - + private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); + DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo(); } - public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstance() { + public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ChunkInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ChunkInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -971,25 +841,21 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHUNK_INFO_FIELD_NUMBER = 1; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ @java.lang.Override @@ -997,50 +863,34 @@ public boolean hasChunkInfo() { return chunkInfo_ != null; } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } /** - * - * *
      * If set, then the mutation is a `SetCell` with a chunked value across
      * multiple messages.
      * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } public static final int MUTATION_FIELD_NUMBER = 2; private com.google.bigtable.v2.Mutation mutation_; /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1048,7 +898,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo g
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ @java.lang.Override @@ -1056,8 +905,6 @@ public boolean hasMutation() { return mutation_ != null; } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1065,7 +912,6 @@ public boolean hasMutation() {
      * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ @java.lang.Override @@ -1073,8 +919,6 @@ public com.google.bigtable.v2.Mutation getMutation() { return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } /** - * - * *
      * If this is a continuation of a chunked message (`chunked_value_offset` >
      * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1089,7 +933,6 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1101,7 +944,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (chunkInfo_ != null) {
         output.writeMessage(1, getChunkInfo());
       }
@@ -1118,10 +962,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (chunkInfo_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getChunkInfo());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getChunkInfo());
       }
       if (mutation_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getMutation());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getMutation());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1131,21 +977,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other = (com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) obj;
 
       if (hasChunkInfo() != other.hasChunkInfo()) return false;
       if (hasChunkInfo()) {
-        if (!getChunkInfo().equals(other.getChunkInfo())) return false;
+        if (!getChunkInfo()
+            .equals(other.getChunkInfo())) return false;
       }
       if (hasMutation() != other.hasMutation()) return false;
       if (hasMutation()) {
-        if (!getMutation().equals(other.getMutation())) return false;
+        if (!getMutation()
+            .equals(other.getMutation())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -1172,94 +1019,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk 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.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(byte[] data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1269,41 +1111,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A partial or complete mutation.
      * 
* * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.MutationChunk} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.class, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder.class); } // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1322,14 +1162,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; } @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk - getDefaultInstanceForType() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() { return com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance(); } @@ -1344,23 +1183,23 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk build() { @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk buildPartial() { - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = - new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { + private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.chunkInfo_ = chunkInfoBuilder_ == null ? chunkInfo_ : chunkInfoBuilder_.build(); + result.chunkInfo_ = chunkInfoBuilder_ == null + ? chunkInfo_ + : chunkInfoBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.mutation_ = mutationBuilder_ == null ? mutation_ : mutationBuilder_.build(); + result.mutation_ = mutationBuilder_ == null + ? mutation_ + : mutationBuilder_.build(); } } @@ -1368,52 +1207,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) { - return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk) other); + return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { - if (other - == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk other) { + if (other == com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()) return this; if (other.hasChunkInfo()) { mergeChunkInfo(other.getChunkInfo()); } @@ -1446,25 +1279,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getChunkInfoFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getMutationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getChunkInfoFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getMutationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1474,68 +1308,48 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunkInfo_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> - chunkInfoBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> chunkInfoBuilder_; /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return Whether the chunkInfo field is set. */ public boolean hasChunkInfo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; * @return The chunkInfo. */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - getChunkInfo() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo getChunkInfo() { if (chunkInfoBuilder_ == null) { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } else { return chunkInfoBuilder_.getMessage(); } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder setChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1549,19 +1363,15 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder setChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - builderForValue) { + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder builderForValue) { if (chunkInfoBuilder_ == null) { chunkInfo_ = builderForValue.build(); } else { @@ -1572,24 +1382,18 @@ public Builder setChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public Builder mergeChunkInfo( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { + public Builder mergeChunkInfo(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo value) { if (chunkInfoBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && chunkInfo_ != null - && chunkInfo_ - != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + chunkInfo_ != null && + chunkInfo_ != com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance()) { getChunkInfoBuilder().mergeFrom(value); } else { chunkInfo_ = value; @@ -1602,15 +1406,12 @@ public Builder mergeChunkInfo( return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ public Builder clearChunkInfo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1623,67 +1424,51 @@ public Builder clearChunkInfo() { return this; } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder - getChunkInfoBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder getChunkInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getChunkInfoFieldBuilder().getBuilder(); } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder - getChunkInfoOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder getChunkInfoOrBuilder() { if (chunkInfoBuilder_ != null) { return chunkInfoBuilder_.getMessageOrBuilder(); } else { - return chunkInfo_ == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo - .getDefaultInstance() - : chunkInfo_; + return chunkInfo_ == null ? + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.getDefaultInstance() : chunkInfo_; } } /** - * - * *
        * If set, then the mutation is a `SetCell` with a chunked value across
        * multiple messages.
        * 
* - * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; - * + * .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo chunk_info = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder> getChunkInfoFieldBuilder() { if (chunkInfoBuilder_ == null) { - chunkInfoBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( - getChunkInfo(), getParentForChildren(), isClean()); + chunkInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfo.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.ChunkInfoOrBuilder>( + getChunkInfo(), + getParentForChildren(), + isClean()); chunkInfo_ = null; } return chunkInfoBuilder_; @@ -1691,13 +1476,8 @@ public Builder clearChunkInfo() { private com.google.bigtable.v2.Mutation mutation_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Mutation, - com.google.bigtable.v2.Mutation.Builder, - com.google.bigtable.v2.MutationOrBuilder> - mutationBuilder_; + com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> mutationBuilder_; /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1705,15 +1485,12 @@ public Builder clearChunkInfo() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return Whether the mutation field is set. */ public boolean hasMutation() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1721,21 +1498,16 @@ public boolean hasMutation() {
        * 
* * .google.bigtable.v2.Mutation mutation = 2; - * * @return The mutation. */ public com.google.bigtable.v2.Mutation getMutation() { if (mutationBuilder_ == null) { - return mutation_ == null - ? com.google.bigtable.v2.Mutation.getDefaultInstance() - : mutation_; + return mutation_ == null ? com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_; } else { return mutationBuilder_.getMessage(); } } /** - * - * *
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1758,8 +1530,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1768,7 +1538,8 @@ public Builder setMutation(com.google.bigtable.v2.Mutation value) {
        *
        * .google.bigtable.v2.Mutation mutation = 2;
        */
-      public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForValue) {
+      public Builder setMutation(
+          com.google.bigtable.v2.Mutation.Builder builderForValue) {
         if (mutationBuilder_ == null) {
           mutation_ = builderForValue.build();
         } else {
@@ -1779,8 +1550,6 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1791,9 +1560,9 @@ public Builder setMutation(com.google.bigtable.v2.Mutation.Builder builderForVal
        */
       public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         if (mutationBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && mutation_ != null
-              && mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            mutation_ != null &&
+            mutation_ != com.google.bigtable.v2.Mutation.getDefaultInstance()) {
             getMutationBuilder().mergeFrom(value);
           } else {
             mutation_ = value;
@@ -1806,8 +1575,6 @@ public Builder mergeMutation(com.google.bigtable.v2.Mutation value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1827,8 +1594,6 @@ public Builder clearMutation() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1843,8 +1608,6 @@ public com.google.bigtable.v2.Mutation.Builder getMutationBuilder() {
         return getMutationFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1857,14 +1620,11 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
         if (mutationBuilder_ != null) {
           return mutationBuilder_.getMessageOrBuilder();
         } else {
-          return mutation_ == null
-              ? com.google.bigtable.v2.Mutation.getDefaultInstance()
-              : mutation_;
+          return mutation_ == null ?
+              com.google.bigtable.v2.Mutation.getDefaultInstance() : mutation_;
         }
       }
       /**
-       *
-       *
        * 
        * If this is a continuation of a chunked message (`chunked_value_offset` >
        * 0), ignore all fields except the `SetCell`'s value and merge it with
@@ -1874,22 +1634,18 @@ public com.google.bigtable.v2.MutationOrBuilder getMutationOrBuilder() {
        * .google.bigtable.v2.Mutation mutation = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.Mutation,
-              com.google.bigtable.v2.Mutation.Builder,
-              com.google.bigtable.v2.MutationOrBuilder>
+          com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder> 
           getMutationFieldBuilder() {
         if (mutationBuilder_ == null) {
-          mutationBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.Mutation,
-                  com.google.bigtable.v2.Mutation.Builder,
-                  com.google.bigtable.v2.MutationOrBuilder>(
-                  getMutation(), getParentForChildren(), isClean());
+          mutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.Mutation, com.google.bigtable.v2.Mutation.Builder, com.google.bigtable.v2.MutationOrBuilder>(
+                  getMutation(),
+                  getParentForChildren(),
+                  isClean());
           mutation_ = null;
         }
         return mutationBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1902,44 +1658,41 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.MutationChunk)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk();
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstance() {
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public MutationChunk parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public MutationChunk parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1951,72 +1704,58 @@ public com.google.protobuf.Parser getParserForType() {
     }
 
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk
-        getDefaultInstanceForType() {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface DataChangeOrBuilder
-      extends
+  public interface DataChangeOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ java.lang.String getSourceClusterId(); /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - com.google.protobuf.ByteString getSourceClusterIdBytes(); + com.google.protobuf.ByteString + getSourceClusterIdBytes(); /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2024,38 +1763,29 @@ public interface DataChangeOrBuilder
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ boolean hasCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ com.google.protobuf.Timestamp getCommitTimestamp(); /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2065,8 +1795,6 @@ public interface DataChangeOrBuilder com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder(); /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2078,14 +1806,11 @@ public interface DataChangeOrBuilder
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ int getTiebreaker(); /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2094,10 +1819,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List getChunksList();
+    java.util.List 
+        getChunksList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2108,8 +1832,6 @@ public interface DataChangeOrBuilder
      */
     com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index);
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2120,8 +1842,6 @@ public interface DataChangeOrBuilder
      */
     int getChunksCount();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2130,11 +1850,9 @@ public interface DataChangeOrBuilder
      *
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
-    java.util.List
+    java.util.List 
         getChunksOrBuilderList();
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2147,49 +1865,39 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
         int index);
 
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ boolean getDone(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2200,13 +1908,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2217,13 +1922,10 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2238,8 +1940,6 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A message corresponding to one or more mutations to the partition
    * being streamed. A single logical `DataChange` message may also be split
@@ -2251,16 +1951,15 @@ com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunks
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
    */
-  public static final class DataChange extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class DataChange extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
       DataChangeOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use DataChange.newBuilder() to construct.
     private DataChange(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private DataChange() {
       type_ = 0;
       sourceClusterId_ = "";
@@ -2271,38 +1970,34 @@ private DataChange() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new DataChange();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * The type of mutation.
      * 
* * Protobuf enum {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type} */ - public enum Type implements com.google.protobuf.ProtocolMessageEnum { + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * The type is unspecified.
        * 
@@ -2311,8 +2006,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ TYPE_UNSPECIFIED(0), /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2321,8 +2014,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ USER(1), /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2332,8 +2023,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       GARBAGE_COLLECTION(2),
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2345,8 +2034,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The type is unspecified.
        * 
@@ -2355,8 +2042,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
        * A user-initiated mutation.
        * 
@@ -2365,8 +2050,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int USER_VALUE = 1; /** - * - * *
        * A system-initiated mutation as part of garbage collection.
        * https://cloud.google.com/bigtable/docs/garbage-collection
@@ -2376,8 +2059,6 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int GARBAGE_COLLECTION_VALUE = 2;
       /**
-       *
-       *
        * 
        * This is a continuation of a multi-message change.
        * 
@@ -2386,6 +2067,7 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONTINUATION_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -2410,53 +2092,50 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: - return TYPE_UNSPECIFIED; - case 1: - return USER; - case 2: - return GARBAGE_COLLECTION; - case 3: - return CONTINUATION; - default: - return null; + case 0: return TYPE_UNSPECIFIED; + case 1: return USER; + case 2: return GARBAGE_COLLECTION; + case 3: return CONTINUATION; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Type> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Type findValueByNumber(int number) { + return Type.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Type findValueByNumber(int number) { - return Type.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); - public static Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Type valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -2476,54 +2155,39 @@ private Type(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_ = 0; /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The type of the mutation.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } public static final int SOURCE_CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object sourceClusterId_ = ""; /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ @java.lang.Override @@ -2532,30 +2196,30 @@ public java.lang.String getSourceClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; } } /** - * - * *
      * The cluster where the mutation was applied.
      * Not set when `type` is `GARBAGE_COLLECTION`.
      * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -2566,8 +2230,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The row key for all mutations that are part of this `DataChange`.
      * If the `DataChange` is chunked across multiple messages, then this field
@@ -2575,7 +2237,6 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() {
      * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -2586,14 +2247,11 @@ public com.google.protobuf.ByteString getRowKey() { public static final int COMMIT_TIMESTAMP_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp commitTimestamp_; /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ @java.lang.Override @@ -2601,25 +2259,18 @@ public boolean hasCommitTimestamp() { return commitTimestamp_ != null; } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ @java.lang.Override public com.google.protobuf.Timestamp getCommitTimestamp() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } /** - * - * *
      * The timestamp at which the mutation was applied on the Bigtable server.
      * 
@@ -2628,16 +2279,12 @@ public com.google.protobuf.Timestamp getCommitTimestamp() { */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } public static final int TIEBREAKER_FIELD_NUMBER = 5; private int tiebreaker_ = 0; /** - * - * *
      * A value that lets stream consumers reconstruct Bigtable's
      * conflict resolution semantics.
@@ -2649,7 +2296,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
      * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -2658,12 +2304,9 @@ public int getTiebreaker() { } public static final int CHUNKS_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2673,13 +2316,10 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List
-        getChunksList() {
+    public java.util.List getChunksList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2689,14 +2329,11 @@ public int getTiebreaker() {
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public java.util.List<
-            ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>
+    public java.util.List 
         getChunksOrBuilderList() {
       return chunks_;
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2710,8 +2347,6 @@ public int getChunksCount() {
       return chunks_.size();
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2725,8 +2360,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
       return chunks_.get(index);
     }
     /**
-     *
-     *
      * 
      * The mutations associated with this change to the partition.
      * May contain complete mutations or chunks of a multi-message chunked
@@ -2736,23 +2369,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i
      * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder
-        getChunksOrBuilder(int index) {
+    public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder(
+        int index) {
       return chunks_.get(index);
     }
 
     public static final int DONE_FIELD_NUMBER = 8;
     private boolean done_ = false;
     /**
-     *
-     *
      * 
      * When true, indicates that the entire `DataChange` has been read
      * and the client can safely process the message.
      * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -2761,19 +2391,15 @@ public boolean getDone() { } public static final int TOKEN_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The token. */ @java.lang.Override @@ -2782,30 +2408,30 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
      * An encoded position for this stream's partition to restart reading from.
      * This token is for the StreamPartition from the request.
      * 
* * string token = 9; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -2816,8 +2442,6 @@ public com.google.protobuf.ByteString getTokenBytes() { public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp estimatedLowWatermark_; /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2828,7 +2452,6 @@ public com.google.protobuf.ByteString getTokenBytes() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -2836,8 +2459,6 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2848,18 +2469,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -2873,13 +2489,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -2891,10 +2504,9 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
         output.writeEnum(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
@@ -2930,36 +2542,39 @@ public int getSerializedSize() {
       if (size != -1) return size;
 
       size = 0;
-      if (type_
-          != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED
-              .getNumber()) {
-        size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_);
+      if (type_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.TYPE_UNSPECIFIED.getNumber()) {
+        size += com.google.protobuf.CodedOutputStream
+          .computeEnumSize(1, type_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceClusterId_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceClusterId_);
       }
       if (!rowKey_.isEmpty()) {
-        size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, rowKey_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBytesSize(3, rowKey_);
       }
       if (commitTimestamp_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getCommitTimestamp());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(4, getCommitTimestamp());
       }
       if (tiebreaker_ != 0) {
-        size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, tiebreaker_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeInt32Size(5, tiebreaker_);
       }
       for (int i = 0; i < chunks_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, chunks_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(6, chunks_.get(i));
       }
       if (done_ != false) {
-        size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, done_);
+        size += com.google.protobuf.CodedOutputStream
+          .computeBoolSize(8, done_);
       }
       if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
         size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, token_);
       }
       if (estimatedLowWatermark_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(
-                10, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(10, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -2969,28 +2584,35 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other = (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) obj;
 
       if (type_ != other.type_) return false;
-      if (!getSourceClusterId().equals(other.getSourceClusterId())) return false;
-      if (!getRowKey().equals(other.getRowKey())) return false;
+      if (!getSourceClusterId()
+          .equals(other.getSourceClusterId())) return false;
+      if (!getRowKey()
+          .equals(other.getRowKey())) return false;
       if (hasCommitTimestamp() != other.hasCommitTimestamp()) return false;
       if (hasCommitTimestamp()) {
-        if (!getCommitTimestamp().equals(other.getCommitTimestamp())) return false;
-      }
-      if (getTiebreaker() != other.getTiebreaker()) return false;
-      if (!getChunksList().equals(other.getChunksList())) return false;
-      if (getDone() != other.getDone()) return false;
-      if (!getToken().equals(other.getToken())) return false;
+        if (!getCommitTimestamp()
+            .equals(other.getCommitTimestamp())) return false;
+      }
+      if (getTiebreaker()
+          != other.getTiebreaker()) return false;
+      if (!getChunksList()
+          .equals(other.getChunksList())) return false;
+      if (getDone()
+          != other.getDone()) return false;
+      if (!getToken()
+          .equals(other.getToken())) return false;
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3020,7 +2642,8 @@ public int hashCode() {
         hash = (53 * hash) + getChunksList().hashCode();
       }
       hash = (37 * hash) + DONE_FIELD_NUMBER;
-      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDone());
+      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+          getDone());
       hash = (37 * hash) + TOKEN_FIELD_NUMBER;
       hash = (53 * hash) + getToken().hashCode();
       if (hasEstimatedLowWatermark()) {
@@ -3033,94 +2656,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange 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.v2.ReadChangeStreamResponse.DataChange parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3130,8 +2748,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message corresponding to one or more mutations to the partition
      * being streamed. A single logical `DataChange` message may also be split
@@ -3143,33 +2759,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.DataChange}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
         com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.class, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3201,14 +2817,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance();
       }
 
@@ -3223,18 +2838,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         if (chunksBuilder_ == null) {
           if (((bitField0_ & 0x00000020) != 0)) {
             chunks_ = java.util.Collections.unmodifiableList(chunks_);
@@ -3246,8 +2857,7 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
           result.type_ = type_;
@@ -3259,8 +2869,9 @@ private void buildPartial0(
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
-          result.commitTimestamp_ =
-              commitTimestampBuilder_ == null ? commitTimestamp_ : commitTimestampBuilder_.build();
+          result.commitTimestamp_ = commitTimestampBuilder_ == null
+              ? commitTimestamp_
+              : commitTimestampBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000010) != 0)) {
           result.tiebreaker_ = tiebreaker_;
@@ -3272,10 +2883,9 @@ private void buildPartial0(
           result.token_ = token_;
         }
         if (((from_bitField0_ & 0x00000100) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -3283,41 +2893,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3325,9 +2932,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) return this;
         if (other.type_ != 0) {
           setTypeValue(other.getTypeValue());
         }
@@ -3363,10 +2968,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.DataCha
               chunksBuilder_ = null;
               chunks_ = other.chunks_;
               bitField0_ = (bitField0_ & ~0x00000020);
-              chunksBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getChunksFieldBuilder()
-                      : null;
+              chunksBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getChunksFieldBuilder() : null;
             } else {
               chunksBuilder_.addAllMessages(other.chunks_);
             }
@@ -3409,77 +3013,69 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 8:
-                {
-                  type_ = input.readEnum();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 8
-              case 18:
-                {
-                  sourceClusterId_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 34:
-                {
-                  input.readMessage(
-                      getCommitTimestampFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 34
-              case 40:
-                {
-                  tiebreaker_ = input.readInt32();
-                  bitField0_ |= 0x00000010;
-                  break;
-                } // case 40
-              case 50:
-                {
-                  com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
-                      input.readMessage(
-                          com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
-                          extensionRegistry);
-                  if (chunksBuilder_ == null) {
-                    ensureChunksIsMutable();
-                    chunks_.add(m);
-                  } else {
-                    chunksBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 50
-              case 64:
-                {
-                  done_ = input.readBool();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 64
-              case 74:
-                {
-                  token_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000080;
-                  break;
-                } // case 74
-              case 82:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000100;
-                  break;
-                } // case 82
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 8: {
+                type_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+              case 18: {
+                sourceClusterId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 34: {
+                input.readMessage(
+                    getCommitTimestampFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+              case 40: {
+                tiebreaker_ = input.readInt32();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 40
+              case 50: {
+                com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk m =
+                    input.readMessage(
+                        com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.parser(),
+                        extensionRegistry);
+                if (chunksBuilder_ == null) {
+                  ensureChunksIsMutable();
+                  chunks_.add(m);
+                } else {
+                  chunksBuilder_.addMessage(m);
+                }
+                break;
+              } // case 50
+              case 64: {
+                done_ = input.readBool();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 64
+              case 74: {
+                token_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 74
+              case 82: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 82
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3489,34 +3085,26 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private int type_ = 0;
       /**
-       *
-       *
        * 
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -3527,38 +3115,28 @@ public Builder setTypeValue(int value) { return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return The type. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type getType() { - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); - return result == null - ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type result = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.forNumber(type_); + return result == null ? com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type.UNRECOGNIZED : result; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { + public Builder setType(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type value) { if (value == null) { throw new NullPointerException(); } @@ -3568,14 +3146,11 @@ public Builder setType( return this; } /** - * - * *
        * The type of the mutation.
        * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange.Type type = 1; - * * @return This builder for chaining. */ public Builder clearType() { @@ -3587,21 +3162,19 @@ public Builder clearType() { private java.lang.Object sourceClusterId_ = ""; /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The sourceClusterId. */ public java.lang.String getSourceClusterId() { java.lang.Object ref = sourceClusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceClusterId_ = s; return s; @@ -3610,22 +3183,21 @@ public java.lang.String getSourceClusterId() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return The bytes for sourceClusterId. */ - public com.google.protobuf.ByteString getSourceClusterIdBytes() { + public com.google.protobuf.ByteString + getSourceClusterIdBytes() { java.lang.Object ref = sourceClusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); sourceClusterId_ = b; return b; } else { @@ -3633,37 +3205,30 @@ public com.google.protobuf.ByteString getSourceClusterIdBytes() { } } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } sourceClusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearSourceClusterId() { @@ -3673,22 +3238,18 @@ public Builder clearSourceClusterId() { return this; } /** - * - * *
        * The cluster where the mutation was applied.
        * Not set when `type` is `GARBAGE_COLLECTION`.
        * 
* * string source_cluster_id = 2; - * * @param value The bytes for sourceClusterId to set. * @return This builder for chaining. */ - public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setSourceClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceClusterId_ = value; bitField0_ |= 0x00000002; @@ -3698,8 +3259,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3707,7 +3266,6 @@ public Builder setSourceClusterIdBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return The rowKey. */ @java.lang.Override @@ -3715,8 +3273,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3724,22 +3280,17 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 3; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
        * The row key for all mutations that are part of this `DataChange`.
        * If the `DataChange` is chunked across multiple messages, then this field
@@ -3747,7 +3298,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 3; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -3759,47 +3309,34 @@ public Builder clearRowKey() { private com.google.protobuf.Timestamp commitTimestamp_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - commitTimestampBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> commitTimestampBuilder_; /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return Whether the commitTimestamp field is set. */ public boolean hasCommitTimestamp() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; - * * @return The commitTimestamp. */ public com.google.protobuf.Timestamp getCommitTimestamp() { if (commitTimestampBuilder_ == null) { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } else { return commitTimestampBuilder_.getMessage(); } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3820,15 +3357,14 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
* * .google.protobuf.Timestamp commit_timestamp = 4; */ - public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTimestamp( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimestampBuilder_ == null) { commitTimestamp_ = builderForValue.build(); } else { @@ -3839,8 +3375,6 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3849,9 +3383,9 @@ public Builder setCommitTimestamp(com.google.protobuf.Timestamp.Builder builderF */ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { if (commitTimestampBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && commitTimestamp_ != null - && commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + commitTimestamp_ != null && + commitTimestamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimestampBuilder().mergeFrom(value); } else { commitTimestamp_ = value; @@ -3864,8 +3398,6 @@ public Builder mergeCommitTimestamp(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3883,8 +3415,6 @@ public Builder clearCommitTimestamp() { return this; } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3897,8 +3427,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimestampBuilder() { return getCommitTimestampFieldBuilder().getBuilder(); } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3909,14 +3437,11 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { if (commitTimestampBuilder_ != null) { return commitTimestampBuilder_.getMessageOrBuilder(); } else { - return commitTimestamp_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : commitTimestamp_; + return commitTimestamp_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : commitTimestamp_; } } /** - * - * *
        * The timestamp at which the mutation was applied on the Bigtable server.
        * 
@@ -3924,26 +3449,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() { * .google.protobuf.Timestamp commit_timestamp = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCommitTimestampFieldBuilder() { if (commitTimestampBuilder_ == null) { - commitTimestampBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCommitTimestamp(), getParentForChildren(), isClean()); + commitTimestampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCommitTimestamp(), + getParentForChildren(), + isClean()); commitTimestamp_ = null; } return commitTimestampBuilder_; } - private int tiebreaker_; + private int tiebreaker_ ; /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3955,7 +3475,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimestampOrBuilder() {
        * 
* * int32 tiebreaker = 5; - * * @return The tiebreaker. */ @java.lang.Override @@ -3963,8 +3482,6 @@ public int getTiebreaker() { return tiebreaker_; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -3976,7 +3493,6 @@ public int getTiebreaker() {
        * 
* * int32 tiebreaker = 5; - * * @param value The tiebreaker to set. * @return This builder for chaining. */ @@ -3988,8 +3504,6 @@ public Builder setTiebreaker(int value) { return this; } /** - * - * *
        * A value that lets stream consumers reconstruct Bigtable's
        * conflict resolution semantics.
@@ -4001,7 +3515,6 @@ public Builder setTiebreaker(int value) {
        * 
* * int32 tiebreaker = 5; - * * @return This builder for chaining. */ public Builder clearTiebreaker() { @@ -4011,38 +3524,28 @@ public Builder clearTiebreaker() { return this; } - private java.util.List - chunks_ = java.util.Collections.emptyList(); - + private java.util.List chunks_ = + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { - chunks_ = - new java.util.ArrayList< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk>(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000020; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> chunksBuilder_; /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksList() { + public java.util.List getChunksList() { if (chunksBuilder_ == null) { return java.util.Collections.unmodifiableList(chunks_); } else { @@ -4050,16 +3553,13 @@ private void ensureChunksIsMutable() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public int getChunksCount() { if (chunksBuilder_ == null) { @@ -4069,16 +3569,13 @@ public int getChunksCount() { } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(int index) { if (chunksBuilder_ == null) { @@ -4088,16 +3585,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk getChunks(i } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4114,20 +3608,16 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder setChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.set(index, builderForValue.build()); @@ -4138,19 +3628,15 @@ public Builder setChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public Builder addChunks( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { + public Builder addChunks(com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4164,16 +3650,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk value) { @@ -4190,16 +3673,13 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { @@ -4213,20 +3693,16 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addChunks( - int index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { + int index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder builderForValue) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); chunks_.add(index, builderForValue.build()); @@ -4237,24 +3713,20 @@ public Builder addChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder addAllChunks( - java.lang.Iterable< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk> - values) { + java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -4262,16 +3734,13 @@ public Builder addAllChunks( return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder clearChunks() { if (chunksBuilder_ == null) { @@ -4284,16 +3753,13 @@ public Builder clearChunks() { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public Builder removeChunks(int index) { if (chunksBuilder_ == null) { @@ -4306,56 +3772,45 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder getChunksBuilder( int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder - getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder getChunksOrBuilder( + int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List< - ? extends com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> - getChunksOrBuilderList() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -4363,87 +3818,68 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder get } } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder - addChunksBuilder() { - return getChunksFieldBuilder() - .addBuilder( - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder() { + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ public com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder addChunksBuilder( int index) { - return getChunksFieldBuilder() - .addBuilder( - index, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.getDefaultInstance()); } /** - * - * *
        * The mutations associated with this change to the partition.
        * May contain complete mutations or chunks of a multi-message chunked
        * `DataChange` record.
        * 
* - * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; - * + * repeated .google.bigtable.v2.ReadChangeStreamResponse.MutationChunk chunks = 6; */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunk.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.MutationChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000020) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private boolean done_; + private boolean done_ ; /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return The done. */ @java.lang.Override @@ -4451,15 +3887,12 @@ public boolean getDone() { return done_; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @param value The done to set. * @return This builder for chaining. */ @@ -4471,15 +3904,12 @@ public Builder setDone(boolean value) { return this; } /** - * - * *
        * When true, indicates that the entire `DataChange` has been read
        * and the client can safely process the message.
        * 
* * bool done = 8; - * * @return This builder for chaining. */ public Builder clearDone() { @@ -4491,21 +3921,19 @@ public Builder clearDone() { private java.lang.Object token_ = ""; /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -4514,22 +3942,21 @@ public java.lang.String getToken() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -4537,37 +3964,30 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -4577,22 +3997,18 @@ public Builder clearToken() { return this; } /** - * - * *
        * An encoded position for this stream's partition to restart reading from.
        * This token is for the StreamPartition from the request.
        * 
* * string token = 9; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000080; @@ -4602,13 +4018,8 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp estimatedLowWatermark_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - estimatedLowWatermarkBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_; /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4619,15 +4030,12 @@ public Builder setTokenBytes(com.google.protobuf.ByteString value) {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4638,21 +4046,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 10; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4678,8 +4081,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4703,8 +4104,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4718,9 +4117,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000100) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000100) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -4733,8 +4132,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4757,8 +4154,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4776,8 +4171,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4793,14 +4186,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -4813,22 +4203,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 10;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4841,13 +4227,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.DataChange)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.DataChange DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.DataChange();
     }
@@ -4856,28 +4241,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefa
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public DataChange parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public DataChange parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4892,42 +4276,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface HeartbeatOrBuilder
-      extends
+  public interface HeartbeatOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ boolean hasContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ com.google.bigtable.v2.StreamContinuationToken getContinuationToken(); /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -4938,8 +4314,6 @@ public interface HeartbeatOrBuilder
     com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder();
 
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4950,13 +4324,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ boolean hasEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4967,13 +4338,10 @@ public interface HeartbeatOrBuilder
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ com.google.protobuf.Timestamp getEstimatedLowWatermark(); /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -4988,8 +4356,6 @@ public interface HeartbeatOrBuilder
     com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A periodic message with information that can be used to checkpoint
    * the state of a stream.
@@ -4997,51 +4363,47 @@ public interface HeartbeatOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
    */
-  public static final class Heartbeat extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Heartbeat extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
       HeartbeatOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Heartbeat.newBuilder() to construct.
     private Heartbeat(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Heartbeat() {}
+    private Heartbeat() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Heartbeat();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
     }
 
     public static final int CONTINUATION_TOKEN_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
     /**
-     *
-     *
      * 
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ @java.lang.Override @@ -5049,26 +4411,19 @@ public boolean hasContinuationToken() { return continuationToken_ != null; } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
      * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ @java.lang.Override public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } /** - * - * *
      * A token that can be provided to a subsequent `ReadChangeStream` call
      * to pick up reading at the current stream position.
@@ -5078,16 +4433,12 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
-      return continuationToken_ == null
-          ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-          : continuationToken_;
+      return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
     }
 
     public static final int ESTIMATED_LOW_WATERMARK_FIELD_NUMBER = 2;
     private com.google.protobuf.Timestamp estimatedLowWatermark_;
     /**
-     *
-     *
      * 
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5098,7 +4449,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ @java.lang.Override @@ -5106,8 +4456,6 @@ public boolean hasEstimatedLowWatermark() { return estimatedLowWatermark_ != null; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5118,18 +4466,13 @@ public boolean hasEstimatedLowWatermark() {
      * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ @java.lang.Override public com.google.protobuf.Timestamp getEstimatedLowWatermark() { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } /** - * - * *
      * An estimate of the commit timestamp that is usually lower than or equal
      * to any timestamp for a record that will be delivered in the future on the
@@ -5143,13 +4486,10 @@ public com.google.protobuf.Timestamp getEstimatedLowWatermark() {
      */
     @java.lang.Override
     public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder() {
-      return estimatedLowWatermark_ == null
-          ? com.google.protobuf.Timestamp.getDefaultInstance()
-          : estimatedLowWatermark_;
+      return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -5161,7 +4501,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (continuationToken_ != null) {
         output.writeMessage(1, getContinuationToken());
       }
@@ -5178,11 +4519,12 @@ public int getSerializedSize() {
 
       size = 0;
       if (continuationToken_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getContinuationToken());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getContinuationToken());
       }
       if (estimatedLowWatermark_ != null) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEstimatedLowWatermark());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getEstimatedLowWatermark());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -5192,21 +4534,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other = (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) obj;
 
       if (hasContinuationToken() != other.hasContinuationToken()) return false;
       if (hasContinuationToken()) {
-        if (!getContinuationToken().equals(other.getContinuationToken())) return false;
+        if (!getContinuationToken()
+            .equals(other.getContinuationToken())) return false;
       }
       if (hasEstimatedLowWatermark() != other.hasEstimatedLowWatermark()) return false;
       if (hasEstimatedLowWatermark()) {
-        if (!getEstimatedLowWatermark().equals(other.getEstimatedLowWatermark())) return false;
+        if (!getEstimatedLowWatermark()
+            .equals(other.getEstimatedLowWatermark())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -5233,94 +4576,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat 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.v2.ReadChangeStreamResponse.Heartbeat parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -5330,8 +4668,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A periodic message with information that can be used to checkpoint
      * the state of a stream.
@@ -5339,33 +4675,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.Heartbeat}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
         com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.class, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5384,9 +4720,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor;
       }
 
       @java.lang.Override
@@ -5405,11 +4741,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -5417,16 +4750,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat buildPartial()
       private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.continuationToken_ =
-              continuationTokenBuilder_ == null
-                  ? continuationToken_
-                  : continuationTokenBuilder_.build();
+          result.continuationToken_ = continuationTokenBuilder_ == null
+              ? continuationToken_
+              : continuationTokenBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.estimatedLowWatermark_ =
-              estimatedLowWatermarkBuilder_ == null
-                  ? estimatedLowWatermark_
-                  : estimatedLowWatermarkBuilder_.build();
+          result.estimatedLowWatermark_ = estimatedLowWatermarkBuilder_ == null
+              ? estimatedLowWatermark_
+              : estimatedLowWatermarkBuilder_.build();
         }
       }
 
@@ -5434,41 +4765,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.Heart
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -5476,8 +4804,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat other) {
-        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) return this;
         if (other.hasContinuationToken()) {
           mergeContinuationToken(other.getContinuationToken());
         }
@@ -5510,27 +4837,26 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getContinuationTokenFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(
-                      getEstimatedLowWatermarkFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getContinuationTokenFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getEstimatedLowWatermarkFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -5540,54 +4866,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.StreamContinuationToken continuationToken_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-          continuationTokenBuilder_;
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokenBuilder_;
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return Whether the continuationToken field is set. */ public boolean hasContinuationToken() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
        * 
* * .google.bigtable.v2.StreamContinuationToken continuation_token = 1; - * * @return The continuationToken. */ public com.google.bigtable.v2.StreamContinuationToken getContinuationToken() { if (continuationTokenBuilder_ == null) { - return continuationToken_ == null - ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() - : continuationToken_; + return continuationToken_ == null ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_; } else { return continuationTokenBuilder_.getMessage(); } } /** - * - * *
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5609,8 +4921,6 @@ public Builder setContinuationToken(com.google.bigtable.v2.StreamContinuationTok
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5630,8 +4940,6 @@ public Builder setContinuationToken(
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5641,10 +4949,9 @@ public Builder setContinuationToken(
        */
       public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationToken value) {
         if (continuationTokenBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && continuationToken_ != null
-              && continuationToken_
-                  != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            continuationToken_ != null &&
+            continuationToken_ != com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()) {
             getContinuationTokenBuilder().mergeFrom(value);
           } else {
             continuationToken_ = value;
@@ -5657,8 +4964,6 @@ public Builder mergeContinuationToken(com.google.bigtable.v2.StreamContinuationT
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5677,8 +4982,6 @@ public Builder clearContinuationToken() {
         return this;
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5692,8 +4995,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokenFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5701,19 +5002,15 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        *
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
-      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder
-          getContinuationTokenOrBuilder() {
+      public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokenOrBuilder() {
         if (continuationTokenBuilder_ != null) {
           return continuationTokenBuilder_.getMessageOrBuilder();
         } else {
-          return continuationToken_ == null
-              ? com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()
-              : continuationToken_;
+          return continuationToken_ == null ?
+              com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance() : continuationToken_;
         }
       }
       /**
-       *
-       *
        * 
        * A token that can be provided to a subsequent `ReadChangeStream` call
        * to pick up reading at the current stream position.
@@ -5722,17 +5019,14 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * .google.bigtable.v2.StreamContinuationToken continuation_token = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokenFieldBuilder() {
         if (continuationTokenBuilder_ == null) {
-          continuationTokenBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
-                  getContinuationToken(), getParentForChildren(), isClean());
+          continuationTokenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+                  getContinuationToken(),
+                  getParentForChildren(),
+                  isClean());
           continuationToken_ = null;
         }
         return continuationTokenBuilder_;
@@ -5740,13 +5034,8 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
 
       private com.google.protobuf.Timestamp estimatedLowWatermark_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
-          estimatedLowWatermarkBuilder_;
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> estimatedLowWatermarkBuilder_;
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5757,15 +5046,12 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return Whether the estimatedLowWatermark field is set. */ public boolean hasEstimatedLowWatermark() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5776,21 +5062,16 @@ public boolean hasEstimatedLowWatermark() {
        * 
* * .google.protobuf.Timestamp estimated_low_watermark = 2; - * * @return The estimatedLowWatermark. */ public com.google.protobuf.Timestamp getEstimatedLowWatermark() { if (estimatedLowWatermarkBuilder_ == null) { - return estimatedLowWatermark_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : estimatedLowWatermark_; + return estimatedLowWatermark_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_; } else { return estimatedLowWatermarkBuilder_.getMessage(); } } /** - * - * *
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5816,8 +5097,6 @@ public Builder setEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5841,8 +5120,6 @@ public Builder setEstimatedLowWatermark(
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5856,9 +5133,9 @@ public Builder setEstimatedLowWatermark(
        */
       public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         if (estimatedLowWatermarkBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && estimatedLowWatermark_ != null
-              && estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            estimatedLowWatermark_ != null &&
+            estimatedLowWatermark_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getEstimatedLowWatermarkBuilder().mergeFrom(value);
           } else {
             estimatedLowWatermark_ = value;
@@ -5871,8 +5148,6 @@ public Builder mergeEstimatedLowWatermark(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5895,8 +5170,6 @@ public Builder clearEstimatedLowWatermark() {
         return this;
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5914,8 +5187,6 @@ public com.google.protobuf.Timestamp.Builder getEstimatedLowWatermarkBuilder() {
         return getEstimatedLowWatermarkFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5931,14 +5202,11 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
         if (estimatedLowWatermarkBuilder_ != null) {
           return estimatedLowWatermarkBuilder_.getMessageOrBuilder();
         } else {
-          return estimatedLowWatermark_ == null
-              ? com.google.protobuf.Timestamp.getDefaultInstance()
-              : estimatedLowWatermark_;
+          return estimatedLowWatermark_ == null ?
+              com.google.protobuf.Timestamp.getDefaultInstance() : estimatedLowWatermark_;
         }
       }
       /**
-       *
-       *
        * 
        * An estimate of the commit timestamp that is usually lower than or equal
        * to any timestamp for a record that will be delivered in the future on the
@@ -5951,22 +5219,18 @@ public com.google.protobuf.TimestampOrBuilder getEstimatedLowWatermarkOrBuilder(
        * .google.protobuf.Timestamp estimated_low_watermark = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.Timestamp,
-              com.google.protobuf.Timestamp.Builder,
-              com.google.protobuf.TimestampOrBuilder>
+          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
           getEstimatedLowWatermarkFieldBuilder() {
         if (estimatedLowWatermarkBuilder_ == null) {
-          estimatedLowWatermarkBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.Timestamp,
-                  com.google.protobuf.Timestamp.Builder,
-                  com.google.protobuf.TimestampOrBuilder>(
-                  getEstimatedLowWatermark(), getParentForChildren(), isClean());
+          estimatedLowWatermarkBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                  getEstimatedLowWatermark(),
+                  getParentForChildren(),
+                  isClean());
           estimatedLowWatermark_ = null;
         }
         return estimatedLowWatermarkBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -5979,12 +5243,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.Heartbeat)
     private static final com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat();
     }
@@ -5993,28 +5257,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefau
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Heartbeat parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Heartbeat parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -6029,40 +5292,32 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface CloseStreamOrBuilder
-      extends
+  public interface CloseStreamOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ boolean hasStatus(); /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ com.google.rpc.Status getStatus(); /** - * - * *
      * The status of the stream.
      * 
@@ -6072,8 +5327,6 @@ public interface CloseStreamOrBuilder com.google.rpc.StatusOrBuilder getStatusOrBuilder(); /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6081,10 +5334,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List getContinuationTokensList();
+    java.util.List 
+        getContinuationTokensList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6094,8 +5346,6 @@ public interface CloseStreamOrBuilder
      */
     com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6105,8 +5355,6 @@ public interface CloseStreamOrBuilder
      */
     int getContinuationTokensCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6114,11 +5362,9 @@ public interface CloseStreamOrBuilder
      *
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
-    java.util.List
+    java.util.List 
         getContinuationTokensOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6130,8 +5376,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
         int index);
 
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6140,10 +5384,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List getNewPartitionsList();
+    java.util.List 
+        getNewPartitionsList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6154,8 +5397,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     com.google.bigtable.v2.StreamPartition getNewPartitions(int index);
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6166,8 +5407,6 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      */
     int getNewPartitionsCount();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6176,11 +5415,9 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    java.util.List
+    java.util.List 
         getNewPartitionsOrBuilderList();
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6189,11 +5426,10 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
      *
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
-    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index);
+    com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A message indicating that the client should stop reading from the stream.
    * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6219,16 +5455,15 @@ com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrB
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
    */
-  public static final class CloseStream extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CloseStream extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
       CloseStreamOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CloseStream.newBuilder() to construct.
     private CloseStream(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CloseStream() {
       continuationTokens_ = java.util.Collections.emptyList();
       newPartitions_ = java.util.Collections.emptyList();
@@ -6236,36 +5471,32 @@ private CloseStream() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CloseStream();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
     }
 
     public static final int STATUS_FIELD_NUMBER = 1;
     private com.google.rpc.Status status_;
     /**
-     *
-     *
      * 
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ @java.lang.Override @@ -6273,14 +5504,11 @@ public boolean hasStatus() { return status_ != null; } /** - * - * *
      * The status of the stream.
      * 
* * .google.rpc.Status status = 1; - * * @return The status. */ @java.lang.Override @@ -6288,8 +5516,6 @@ public com.google.rpc.Status getStatus() { return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; } /** - * - * *
      * The status of the stream.
      * 
@@ -6302,12 +5528,9 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { } public static final int CONTINUATION_TOKENS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List continuationTokens_; /** - * - * *
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6316,13 +5539,10 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
-        getContinuationTokensList() {
+    public java.util.List getContinuationTokensList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6331,13 +5551,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() {
      * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getContinuationTokensOrBuilderList() {
       return continuationTokens_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6350,8 +5568,6 @@ public int getContinuationTokensCount() {
       return continuationTokens_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6364,8 +5580,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
       return continuationTokens_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the information needed to resume reading their
      * associated partitions.
@@ -6380,12 +5594,9 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
     }
 
     public static final int NEW_PARTITIONS_FIELD_NUMBER = 3;
-
     @SuppressWarnings("serial")
     private java.util.List newPartitions_;
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6399,8 +5610,6 @@ public java.util.List getNewPartitionsLi
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6410,13 +5619,11 @@ public java.util.List getNewPartitionsLi
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getNewPartitionsOrBuilderList() {
       return newPartitions_;
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6430,8 +5637,6 @@ public int getNewPartitionsCount() {
       return newPartitions_.size();
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6445,8 +5650,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
       return newPartitions_.get(index);
     }
     /**
-     *
-     *
      * 
      * If non-empty, contains the new partitions to start reading from, which
      * are related to but not necessarily identical to the partitions for the
@@ -6456,12 +5659,12 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
      * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+    public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+        int index) {
       return newPartitions_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -6473,7 +5676,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (status_ != null) {
         output.writeMessage(1, getStatus());
       }
@@ -6493,14 +5697,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (status_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStatus());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getStatus());
       }
       for (int i = 0; i < continuationTokens_.size(); i++) {
-        size +=
-            com.google.protobuf.CodedOutputStream.computeMessageSize(2, continuationTokens_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, continuationTokens_.get(i));
       }
       for (int i = 0; i < newPartitions_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, newPartitions_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, newPartitions_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -6510,20 +5716,22 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other =
-          (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
+      com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other = (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) obj;
 
       if (hasStatus() != other.hasStatus()) return false;
       if (hasStatus()) {
-        if (!getStatus().equals(other.getStatus())) return false;
+        if (!getStatus()
+            .equals(other.getStatus())) return false;
       }
-      if (!getContinuationTokensList().equals(other.getContinuationTokensList())) return false;
-      if (!getNewPartitionsList().equals(other.getNewPartitionsList())) return false;
+      if (!getContinuationTokensList()
+          .equals(other.getContinuationTokensList())) return false;
+      if (!getNewPartitionsList()
+          .equals(other.getNewPartitionsList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -6553,94 +5761,89 @@ public int hashCode() {
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+        java.nio.ByteBuffer data)
+        throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream 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.v2.ReadChangeStreamResponse.CloseStream parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
-    public static Builder newBuilder(
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
+    public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -6650,8 +5853,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A message indicating that the client should stop reading from the stream.
      * If status is OK and `continuation_tokens` & `new_partitions` are empty, the
@@ -6677,33 +5878,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse.CloseStream}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
         com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class,
-                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
+                com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.class, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -6731,14 +5932,13 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor;
       }
 
       @java.lang.Override
-      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-          getDefaultInstanceForType() {
+      public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
         return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance();
       }
 
@@ -6753,18 +5953,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream buildPartial() {
-        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result =
-            new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
+        com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
 
-      private void buildPartialRepeatedFields(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         if (continuationTokensBuilder_ == null) {
           if (((bitField0_ & 0x00000002) != 0)) {
             continuationTokens_ = java.util.Collections.unmodifiableList(continuationTokens_);
@@ -6785,11 +5981,12 @@ private void buildPartialRepeatedFields(
         }
       }
 
-      private void buildPartial0(
-          com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
+      private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
+          result.status_ = statusBuilder_ == null
+              ? status_
+              : statusBuilder_.build();
         }
       }
 
@@ -6797,41 +5994,38 @@ private void buildPartial0(
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) {
-          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) other);
+          return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -6839,9 +6033,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream other) {
-        if (other
-            == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) return this;
         if (other.hasStatus()) {
           mergeStatus(other.getStatus());
         }
@@ -6863,10 +6055,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               continuationTokensBuilder_ = null;
               continuationTokens_ = other.continuationTokens_;
               bitField0_ = (bitField0_ & ~0x00000002);
-              continuationTokensBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getContinuationTokensFieldBuilder()
-                      : null;
+              continuationTokensBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getContinuationTokensFieldBuilder() : null;
             } else {
               continuationTokensBuilder_.addAllMessages(other.continuationTokens_);
             }
@@ -6890,10 +6081,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse.CloseSt
               newPartitionsBuilder_ = null;
               newPartitions_ = other.newPartitions_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              newPartitionsBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getNewPartitionsFieldBuilder()
-                      : null;
+              newPartitionsBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getNewPartitionsFieldBuilder() : null;
             } else {
               newPartitionsBuilder_.addAllMessages(other.newPartitions_);
             }
@@ -6925,46 +6115,45 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  com.google.bigtable.v2.StreamContinuationToken m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamContinuationToken.parser(),
-                          extensionRegistry);
-                  if (continuationTokensBuilder_ == null) {
-                    ensureContinuationTokensIsMutable();
-                    continuationTokens_.add(m);
-                  } else {
-                    continuationTokensBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 18
-              case 26:
-                {
-                  com.google.bigtable.v2.StreamPartition m =
-                      input.readMessage(
-                          com.google.bigtable.v2.StreamPartition.parser(), extensionRegistry);
-                  if (newPartitionsBuilder_ == null) {
-                    ensureNewPartitionsIsMutable();
-                    newPartitions_.add(m);
-                  } else {
-                    newPartitionsBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getStatusFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                com.google.bigtable.v2.StreamContinuationToken m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamContinuationToken.parser(),
+                        extensionRegistry);
+                if (continuationTokensBuilder_ == null) {
+                  ensureContinuationTokensIsMutable();
+                  continuationTokens_.add(m);
+                } else {
+                  continuationTokensBuilder_.addMessage(m);
+                }
+                break;
+              } // case 18
+              case 26: {
+                com.google.bigtable.v2.StreamPartition m =
+                    input.readMessage(
+                        com.google.bigtable.v2.StreamPartition.parser(),
+                        extensionRegistry);
+                if (newPartitionsBuilder_ == null) {
+                  ensureNewPartitionsIsMutable();
+                  newPartitions_.add(m);
+                } else {
+                  newPartitionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6974,36 +6163,28 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.rpc.Status status_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
-          statusBuilder_;
+          com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> statusBuilder_;
       /**
-       *
-       *
        * 
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; - * * @return The status. */ public com.google.rpc.Status getStatus() { @@ -7014,8 +6195,6 @@ public com.google.rpc.Status getStatus() { } } /** - * - * *
        * The status of the stream.
        * 
@@ -7036,15 +6215,14 @@ public Builder setStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
* * .google.rpc.Status status = 1; */ - public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { + public Builder setStatus( + com.google.rpc.Status.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); } else { @@ -7055,8 +6233,6 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7065,9 +6241,9 @@ public Builder setStatus(com.google.rpc.Status.Builder builderForValue) { */ public Builder mergeStatus(com.google.rpc.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && status_ != null - && status_ != com.google.rpc.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + status_ != null && + status_ != com.google.rpc.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -7080,8 +6256,6 @@ public Builder mergeStatus(com.google.rpc.Status value) { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7099,8 +6273,6 @@ public Builder clearStatus() { return this; } /** - * - * *
        * The status of the stream.
        * 
@@ -7113,8 +6285,6 @@ public com.google.rpc.Status.Builder getStatusBuilder() { return getStatusFieldBuilder().getBuilder(); } /** - * - * *
        * The status of the stream.
        * 
@@ -7125,12 +6295,11 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? com.google.rpc.Status.getDefaultInstance() : status_; + return status_ == null ? + com.google.rpc.Status.getDefaultInstance() : status_; } } /** - * - * *
        * The status of the stream.
        * 
@@ -7138,40 +6307,32 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder() { * .google.rpc.Status status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.rpc.Status, - com.google.rpc.Status.Builder, - com.google.rpc.StatusOrBuilder>(getStatus(), getParentForChildren(), isClean()); + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); status_ = null; } return statusBuilder_; } private java.util.List continuationTokens_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureContinuationTokensIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - continuationTokens_ = - new java.util.ArrayList( - continuationTokens_); + continuationTokens_ = new java.util.ArrayList(continuationTokens_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> - continuationTokensBuilder_; + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> continuationTokensBuilder_; /** - * - * *
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7179,8 +6340,7 @@ private void ensureContinuationTokensIsMutable() {
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensList() {
+      public java.util.List getContinuationTokensList() {
         if (continuationTokensBuilder_ == null) {
           return java.util.Collections.unmodifiableList(continuationTokens_);
         } else {
@@ -7188,8 +6348,6 @@ private void ensureContinuationTokensIsMutable() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7205,8 +6363,6 @@ public int getContinuationTokensCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7222,8 +6378,6 @@ public com.google.bigtable.v2.StreamContinuationToken getContinuationTokens(int
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7246,8 +6400,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7267,8 +6419,6 @@ public Builder setContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7290,8 +6440,6 @@ public Builder addContinuationTokens(com.google.bigtable.v2.StreamContinuationTo
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7314,8 +6462,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7335,8 +6481,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7356,8 +6500,6 @@ public Builder addContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7369,7 +6511,8 @@ public Builder addAllContinuationTokens(
           java.lang.Iterable values) {
         if (continuationTokensBuilder_ == null) {
           ensureContinuationTokensIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, continuationTokens_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, continuationTokens_);
           onChanged();
         } else {
           continuationTokensBuilder_.addAllMessages(values);
@@ -7377,8 +6520,6 @@ public Builder addAllContinuationTokens(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7397,8 +6538,6 @@ public Builder clearContinuationTokens() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7417,8 +6556,6 @@ public Builder removeContinuationTokens(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7431,8 +6568,6 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
         return getContinuationTokensFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7443,14 +6578,11 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder getContinuationTok
       public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTokensOrBuilder(
           int index) {
         if (continuationTokensBuilder_ == null) {
-          return continuationTokens_.get(index);
-        } else {
+          return continuationTokens_.get(index);  } else {
           return continuationTokensBuilder_.getMessageOrBuilder(index);
         }
       }
-      /**
-       *
-       *
+      /**
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7458,8 +6590,8 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensOrBuilderList() {
+      public java.util.List 
+           getContinuationTokensOrBuilderList() {
         if (continuationTokensBuilder_ != null) {
           return continuationTokensBuilder_.getMessageOrBuilderList();
         } else {
@@ -7467,8 +6599,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7477,12 +6607,10 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getContinuationTo
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder() {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7492,12 +6620,10 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        */
       public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTokensBuilder(
           int index) {
-        return getContinuationTokensFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
+        return getContinuationTokensFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the information needed to resume reading their
        * associated partitions.
@@ -7505,22 +6631,16 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
        *
        * repeated .google.bigtable.v2.StreamContinuationToken continuation_tokens = 2;
        */
-      public java.util.List
-          getContinuationTokensBuilderList() {
+      public java.util.List 
+           getContinuationTokensBuilderList() {
         return getContinuationTokensFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamContinuationToken,
-              com.google.bigtable.v2.StreamContinuationToken.Builder,
-              com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
+          com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> 
           getContinuationTokensFieldBuilder() {
         if (continuationTokensBuilder_ == null) {
-          continuationTokensBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamContinuationToken,
-                  com.google.bigtable.v2.StreamContinuationToken.Builder,
-                  com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
+          continuationTokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>(
                   continuationTokens_,
                   ((bitField0_ & 0x00000002) != 0),
                   getParentForChildren(),
@@ -7531,25 +6651,18 @@ public com.google.bigtable.v2.StreamContinuationToken.Builder addContinuationTok
       }
 
       private java.util.List newPartitions_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureNewPartitionsIsMutable() {
         if (!((bitField0_ & 0x00000004) != 0)) {
-          newPartitions_ =
-              new java.util.ArrayList(newPartitions_);
+          newPartitions_ = new java.util.ArrayList(newPartitions_);
           bitField0_ |= 0x00000004;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
-          newPartitionsBuilder_;
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> newPartitionsBuilder_;
 
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7566,8 +6679,6 @@ public java.util.List getNewPartitionsLi
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7584,8 +6695,6 @@ public int getNewPartitionsCount() {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7602,8 +6711,6 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7612,7 +6719,8 @@ public com.google.bigtable.v2.StreamPartition getNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder setNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7626,8 +6734,6 @@ public Builder setNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7648,8 +6754,6 @@ public Builder setNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7672,8 +6776,6 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7682,7 +6784,8 @@ public Builder addNewPartitions(com.google.bigtable.v2.StreamPartition value) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartition value) {
+      public Builder addNewPartitions(
+          int index, com.google.bigtable.v2.StreamPartition value) {
         if (newPartitionsBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -7696,8 +6799,6 @@ public Builder addNewPartitions(int index, com.google.bigtable.v2.StreamPartitio
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7718,8 +6819,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7740,8 +6839,6 @@ public Builder addNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7754,7 +6851,8 @@ public Builder addAllNewPartitions(
           java.lang.Iterable values) {
         if (newPartitionsBuilder_ == null) {
           ensureNewPartitionsIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, newPartitions_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, newPartitions_);
           onChanged();
         } else {
           newPartitionsBuilder_.addAllMessages(values);
@@ -7762,8 +6860,6 @@ public Builder addAllNewPartitions(
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7783,8 +6879,6 @@ public Builder clearNewPartitions() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7804,8 +6898,6 @@ public Builder removeNewPartitions(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7814,12 +6906,11 @@ public Builder removeNewPartitions(int index) {
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(
+          int index) {
         return getNewPartitionsFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7828,16 +6919,14 @@ public com.google.bigtable.v2.StreamPartition.Builder getNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(int index) {
+      public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder(
+          int index) {
         if (newPartitionsBuilder_ == null) {
-          return newPartitions_.get(index);
-        } else {
+          return newPartitions_.get(index);  } else {
           return newPartitionsBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7846,8 +6935,8 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsOrBuilderList() {
+      public java.util.List 
+           getNewPartitionsOrBuilderList() {
         if (newPartitionsBuilder_ != null) {
           return newPartitionsBuilder_.getMessageOrBuilderList();
         } else {
@@ -7855,8 +6944,6 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
         }
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7866,12 +6953,10 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getNewPartitionsOrBuilder
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
       public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder() {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+        return getNewPartitionsFieldBuilder().addBuilder(
+            com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7880,13 +6965,12 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder()
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(int index) {
-        return getNewPartitionsFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
+      public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(
+          int index) {
+        return getNewPartitionsFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.StreamPartition.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * If non-empty, contains the new partitions to start reading from, which
        * are related to but not necessarily identical to the partitions for the
@@ -7895,22 +6979,16 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
        *
        * repeated .google.bigtable.v2.StreamPartition new_partitions = 3;
        */
-      public java.util.List
-          getNewPartitionsBuilderList() {
+      public java.util.List 
+           getNewPartitionsBuilderList() {
         return getNewPartitionsFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.StreamPartition,
-              com.google.bigtable.v2.StreamPartition.Builder,
-              com.google.bigtable.v2.StreamPartitionOrBuilder>
+          com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> 
           getNewPartitionsFieldBuilder() {
         if (newPartitionsBuilder_ == null) {
-          newPartitionsBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.StreamPartition,
-                  com.google.bigtable.v2.StreamPartition.Builder,
-                  com.google.bigtable.v2.StreamPartitionOrBuilder>(
+          newPartitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>(
                   newPartitions_,
                   ((bitField0_ & 0x00000004) != 0),
                   getParentForChildren(),
@@ -7919,7 +6997,6 @@ public com.google.bigtable.v2.StreamPartition.Builder addNewPartitionsBuilder(in
         }
         return newPartitionsBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7932,13 +7009,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse.CloseStream)
-    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream
-        DEFAULT_INSTANCE;
-
+    private static final com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream DEFAULT_INSTANCE;
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream();
     }
@@ -7947,28 +7023,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDef
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public CloseStream parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public CloseStream parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -7983,23 +7058,20 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int streamRecordCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object streamRecord_;
-
   public enum StreamRecordCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     DATA_CHANGE(1),
     HEARTBEAT(2),
     CLOSE_STREAM(3),
     STREAMRECORD_NOT_SET(0);
     private final int value;
-
     private StreamRecordCase(int value) {
       this.value = value;
     }
@@ -8015,38 +7087,31 @@ public static StreamRecordCase valueOf(int value) {
 
     public static StreamRecordCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return DATA_CHANGE;
-        case 2:
-          return HEARTBEAT;
-        case 3:
-          return CLOSE_STREAM;
-        case 0:
-          return STREAMRECORD_NOT_SET;
-        default:
-          return null;
+        case 1: return DATA_CHANGE;
+        case 2: return HEARTBEAT;
+        case 3: return CLOSE_STREAM;
+        case 0: return STREAMRECORD_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StreamRecordCase getStreamRecordCase() {
-    return StreamRecordCase.forNumber(streamRecordCase_);
+  public StreamRecordCase
+  getStreamRecordCase() {
+    return StreamRecordCase.forNumber(
+        streamRecordCase_);
   }
 
   public static final int DATA_CHANGE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8054,26 +7119,21 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } /** - * - * *
    * A mutation to the partition.
    * 
@@ -8081,24 +7141,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if (streamRecordCase_ == 1) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); } public static final int HEARTBEAT_FIELD_NUMBER = 2; /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8106,26 +7162,21 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -8133,24 +7184,20 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if (streamRecordCase_ == 2) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); } public static final int CLOSE_STREAM_FIELD_NUMBER = 3; /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -8158,26 +7205,21 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } /** - * - * *
    * An indication that the stream should be closed.
    * 
@@ -8185,16 +7227,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if (streamRecordCase_ == 3) { - return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; + return (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_; } return com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -8206,18 +7246,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (streamRecordCase_ == 1) { - output.writeMessage( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + output.writeMessage(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - output.writeMessage( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + output.writeMessage(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - output.writeMessage( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + output.writeMessage(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } getUnknownFields().writeTo(output); } @@ -8229,19 +7267,16 @@ public int getSerializedSize() { size = 0; if (streamRecordCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_); } if (streamRecordCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_); } if (streamRecordCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -8251,24 +7286,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadChangeStreamResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadChangeStreamResponse other = - (com.google.bigtable.v2.ReadChangeStreamResponse) obj; + com.google.bigtable.v2.ReadChangeStreamResponse other = (com.google.bigtable.v2.ReadChangeStreamResponse) obj; if (!getStreamRecordCase().equals(other.getStreamRecordCase())) return false; switch (streamRecordCase_) { case 1: - if (!getDataChange().equals(other.getDataChange())) return false; + if (!getDataChange() + .equals(other.getDataChange())) return false; break; case 2: - if (!getHeartbeat().equals(other.getHeartbeat())) return false; + if (!getHeartbeat() + .equals(other.getHeartbeat())) return false; break; case 3: - if (!getCloseStream().equals(other.getCloseStream())) return false; + if (!getCloseStream() + .equals(other.getCloseStream())) return false; break; case 0: default: @@ -8305,104 +7342,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse 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.v2.ReadChangeStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadChangeStreamResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadChangeStreamResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadChangeStreamResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * Response message for Bigtable.ReadChangeStream.
@@ -8410,32 +7442,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadChangeStreamResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadChangeStreamResponse)
       com.google.bigtable.v2.ReadChangeStreamResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadChangeStreamResponse.class,
-              com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
+              com.google.bigtable.v2.ReadChangeStreamResponse.class, com.google.bigtable.v2.ReadChangeStreamResponse.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadChangeStreamResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -8455,9 +7488,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor;
     }
 
     @java.lang.Override
@@ -8476,11 +7509,8 @@ public com.google.bigtable.v2.ReadChangeStreamResponse build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadChangeStreamResponse buildPartial() {
-      com.google.bigtable.v2.ReadChangeStreamResponse result =
-          new com.google.bigtable.v2.ReadChangeStreamResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadChangeStreamResponse result = new com.google.bigtable.v2.ReadChangeStreamResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -8493,13 +7523,16 @@ private void buildPartial0(com.google.bigtable.v2.ReadChangeStreamResponse resul
     private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse result) {
       result.streamRecordCase_ = streamRecordCase_;
       result.streamRecord_ = this.streamRecord_;
-      if (streamRecordCase_ == 1 && dataChangeBuilder_ != null) {
+      if (streamRecordCase_ == 1 &&
+          dataChangeBuilder_ != null) {
         result.streamRecord_ = dataChangeBuilder_.build();
       }
-      if (streamRecordCase_ == 2 && heartbeatBuilder_ != null) {
+      if (streamRecordCase_ == 2 &&
+          heartbeatBuilder_ != null) {
         result.streamRecord_ = heartbeatBuilder_.build();
       }
-      if (streamRecordCase_ == 3 && closeStreamBuilder_ != null) {
+      if (streamRecordCase_ == 3 &&
+          closeStreamBuilder_ != null) {
         result.streamRecord_ = closeStreamBuilder_.build();
       }
     }
@@ -8508,39 +7541,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadChangeStreamResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadChangeStreamResponse) {
-        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse) other);
+        return mergeFrom((com.google.bigtable.v2.ReadChangeStreamResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -8548,28 +7580,23 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.ReadChangeStreamResponse other) {
-      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.ReadChangeStreamResponse.getDefaultInstance()) return this;
       switch (other.getStreamRecordCase()) {
-        case DATA_CHANGE:
-          {
-            mergeDataChange(other.getDataChange());
-            break;
-          }
-        case HEARTBEAT:
-          {
-            mergeHeartbeat(other.getHeartbeat());
-            break;
-          }
-        case CLOSE_STREAM:
-          {
-            mergeCloseStream(other.getCloseStream());
-            break;
-          }
-        case STREAMRECORD_NOT_SET:
-          {
-            break;
-          }
+        case DATA_CHANGE: {
+          mergeDataChange(other.getDataChange());
+          break;
+        }
+        case HEARTBEAT: {
+          mergeHeartbeat(other.getHeartbeat());
+          break;
+        }
+        case CLOSE_STREAM: {
+          mergeCloseStream(other.getCloseStream());
+          break;
+        }
+        case STREAMRECORD_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -8597,31 +7624,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getDataChangeFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getHeartbeatFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getCloseStreamFieldBuilder().getBuilder(), extensionRegistry);
-                streamRecordCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getDataChangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getHeartbeatFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getCloseStreamFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              streamRecordCase_ = 3;
+              break;
+            } // case 26
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8631,12 +7660,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int streamRecordCase_ = 0;
     private java.lang.Object streamRecord_;
-
-    public StreamRecordCase getStreamRecordCase() {
-      return StreamRecordCase.forNumber(streamRecordCase_);
+    public StreamRecordCase
+        getStreamRecordCase() {
+      return StreamRecordCase.forNumber(
+          streamRecordCase_);
     }
 
     public Builder clearStreamRecord() {
@@ -8649,19 +7678,13 @@ public Builder clearStreamRecord() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder,
-            com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>
-        dataChangeBuilder_;
+        com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> dataChangeBuilder_;
     /**
-     *
-     *
      * 
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ @java.lang.Override @@ -8669,14 +7692,11 @@ public boolean hasDataChange() { return streamRecordCase_ == 1; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ @java.lang.Override @@ -8694,8 +7714,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange( } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8716,8 +7734,6 @@ public Builder setDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.Dat return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8736,26 +7752,18 @@ public Builder setDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public Builder mergeDataChange( - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { + public Builder mergeDataChange(com.google.bigtable.v2.ReadChangeStreamResponse.DataChange value) { if (dataChangeBuilder_ == null) { - if (streamRecordCase_ == 1 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 1 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -8771,8 +7779,6 @@ public Builder mergeDataChange( return this; } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8796,21 +7802,16 @@ public Builder clearDataChange() { return this; } /** - * - * *
      * A mutation to the partition.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder - getDataChangeBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder getDataChangeBuilder() { return getDataChangeFieldBuilder().getBuilder(); } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8818,8 +7819,7 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder - getDataChangeOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder() { if ((streamRecordCase_ == 1) && (dataChangeBuilder_ != null)) { return dataChangeBuilder_.getMessageOrBuilder(); } else { @@ -8830,8 +7830,6 @@ public Builder clearDataChange() { } } /** - * - * *
      * A mutation to the partition.
      * 
@@ -8839,20 +7837,14 @@ public Builder clearDataChange() { * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder> getDataChangeFieldBuilder() { if (dataChangeBuilder_ == null) { if (!(streamRecordCase_ == 1)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); - } - dataChangeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.getDefaultInstance(); + } + dataChangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.DataChange, com.google.bigtable.v2.ReadChangeStreamResponse.DataChange.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.DataChange) streamRecord_, getParentForChildren(), isClean()); @@ -8864,19 +7856,13 @@ public Builder clearDataChange() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> - heartbeatBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> heartbeatBuilder_; /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ @java.lang.Override @@ -8884,14 +7870,11 @@ public boolean hasHeartbeat() { return streamRecordCase_ == 2; } /** - * - * *
      * A periodic heartbeat message.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ @java.lang.Override @@ -8909,8 +7892,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat() } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8931,8 +7912,6 @@ public Builder setHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Hear return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8951,8 +7930,6 @@ public Builder setHeartbeat( return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -8961,14 +7938,10 @@ public Builder setHeartbeat( */ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat value) { if (heartbeatBuilder_ == null) { - if (streamRecordCase_ == 2 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 2 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -8984,8 +7957,6 @@ public Builder mergeHeartbeat(com.google.bigtable.v2.ReadChangeStreamResponse.He return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9009,8 +7980,6 @@ public Builder clearHeartbeat() { return this; } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9021,8 +7990,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear return getHeartbeatFieldBuilder().getBuilder(); } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9030,8 +7997,7 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder - getHeartbeatOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder() { if ((streamRecordCase_ == 2) && (heartbeatBuilder_ != null)) { return heartbeatBuilder_.getMessageOrBuilder(); } else { @@ -9042,8 +8008,6 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } } /** - * - * *
      * A periodic heartbeat message.
      * 
@@ -9051,20 +8015,14 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder> getHeartbeatFieldBuilder() { if (heartbeatBuilder_ == null) { if (!(streamRecordCase_ == 2)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); - } - heartbeatBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, - com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.getDefaultInstance(); + } + heartbeatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat, com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat) streamRecord_, getParentForChildren(), isClean()); @@ -9076,19 +8034,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat.Builder getHear } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> - closeStreamBuilder_; + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> closeStreamBuilder_; /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ @java.lang.Override @@ -9096,14 +8048,11 @@ public boolean hasCloseStream() { return streamRecordCase_ == 3; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ @java.lang.Override @@ -9121,16 +8070,13 @@ public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStrea } } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder setCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder setCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9144,8 +8090,6 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9164,26 +8108,18 @@ public Builder setCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public Builder mergeCloseStream( - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { + public Builder mergeCloseStream(com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream value) { if (closeStreamBuilder_ == null) { - if (streamRecordCase_ == 3 - && streamRecord_ - != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream - .getDefaultInstance()) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder( - (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) - .mergeFrom(value) - .buildPartial(); + if (streamRecordCase_ == 3 && + streamRecord_ != com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance()) { + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.newBuilder((com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_) + .mergeFrom(value).buildPartial(); } else { streamRecord_ = value; } @@ -9199,8 +8135,6 @@ public Builder mergeCloseStream( return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9224,21 +8158,16 @@ public Builder clearCloseStream() { return this; } /** - * - * *
      * An indication that the stream should be closed.
      * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder - getCloseStreamBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder getCloseStreamBuilder() { return getCloseStreamFieldBuilder().getBuilder(); } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9246,8 +8175,7 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ @java.lang.Override - public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder - getCloseStreamOrBuilder() { + public com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder getCloseStreamOrBuilder() { if ((streamRecordCase_ == 3) && (closeStreamBuilder_ != null)) { return closeStreamBuilder_.getMessageOrBuilder(); } else { @@ -9258,8 +8186,6 @@ public Builder clearCloseStream() { } } /** - * - * *
      * An indication that the stream should be closed.
      * 
@@ -9267,20 +8193,14 @@ public Builder clearCloseStream() { * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder> getCloseStreamFieldBuilder() { if (closeStreamBuilder_ == null) { if (!(streamRecordCase_ == 3)) { - streamRecord_ = - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); - } - closeStreamBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, - com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( + streamRecord_ = com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.getDefaultInstance(); + } + closeStreamBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream.Builder, com.google.bigtable.v2.ReadChangeStreamResponse.CloseStreamOrBuilder>( (com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream) streamRecord_, getParentForChildren(), isClean()); @@ -9290,9 +8210,9 @@ public Builder clearCloseStream() { onChanged(); return closeStreamBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9302,12 +8222,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadChangeStreamResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadChangeStreamResponse) private static final com.google.bigtable.v2.ReadChangeStreamResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadChangeStreamResponse(); } @@ -9316,27 +8236,27 @@ public static com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadChangeStreamResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadChangeStreamResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9351,4 +8271,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadChangeStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java index d748134c53..1087ee6107 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadChangeStreamResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadChangeStreamResponseOrBuilder - extends +public interface ReadChangeStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadChangeStreamResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return Whether the dataChange field is set. */ boolean hasDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.DataChange data_change = 1; - * * @return The dataChange. */ com.google.bigtable.v2.ReadChangeStreamResponse.DataChange getDataChange(); /** - * - * *
    * A mutation to the partition.
    * 
@@ -59,32 +35,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.DataChangeOrBuilder getDataChangeOrBuilder(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return Whether the heartbeat field is set. */ boolean hasHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.Heartbeat heartbeat = 2; - * * @return The heartbeat. */ com.google.bigtable.v2.ReadChangeStreamResponse.Heartbeat getHeartbeat(); /** - * - * *
    * A periodic heartbeat message.
    * 
@@ -94,32 +62,24 @@ public interface ReadChangeStreamResponseOrBuilder com.google.bigtable.v2.ReadChangeStreamResponse.HeartbeatOrBuilder getHeartbeatOrBuilder(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return Whether the closeStream field is set. */ boolean hasCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
* * .google.bigtable.v2.ReadChangeStreamResponse.CloseStream close_stream = 3; - * * @return The closeStream. */ com.google.bigtable.v2.ReadChangeStreamResponse.CloseStream getCloseStream(); /** - * - * *
    * An indication that the stream should be closed.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java index f210e6752a..33659c5fdb 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStats.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/request_stats.proto package com.google.bigtable.v2; /** - * - * *
  * ReadIterationStats captures information about the iteration of rows or cells
  * over the course of a read, e.g. how many results were scanned in a read
@@ -29,51 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
  */
-public final class ReadIterationStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadIterationStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadIterationStats)
     ReadIterationStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadIterationStats.newBuilder() to construct.
   private ReadIterationStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReadIterationStats() {}
+  private ReadIterationStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadIterationStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadIterationStats.class,
-            com.google.bigtable.v2.ReadIterationStats.Builder.class);
+            com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
   }
 
   public static final int ROWS_SEEN_COUNT_FIELD_NUMBER = 1;
   private long rowsSeenCount_ = 0L;
   /**
-   *
-   *
    * 
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -84,14 +63,11 @@ public long getRowsSeenCount() { public static final int ROWS_RETURNED_COUNT_FIELD_NUMBER = 2; private long rowsReturnedCount_ = 0L; /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -102,15 +78,12 @@ public long getRowsReturnedCount() { public static final int CELLS_SEEN_COUNT_FIELD_NUMBER = 3; private long cellsSeenCount_ = 0L; /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -121,14 +94,11 @@ public long getCellsSeenCount() { public static final int CELLS_RETURNED_COUNT_FIELD_NUMBER = 4; private long cellsReturnedCount_ = 0L; /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -137,7 +107,6 @@ public long getCellsReturnedCount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -149,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (rowsSeenCount_ != 0L) { output.writeInt64(1, rowsSeenCount_); } @@ -172,16 +142,20 @@ public int getSerializedSize() { size = 0; if (rowsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, rowsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, rowsSeenCount_); } if (rowsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, rowsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, rowsReturnedCount_); } if (cellsSeenCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, cellsSeenCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, cellsSeenCount_); } if (cellsReturnedCount_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, cellsReturnedCount_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, cellsReturnedCount_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -191,18 +165,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadIterationStats)) { return super.equals(obj); } - com.google.bigtable.v2.ReadIterationStats other = - (com.google.bigtable.v2.ReadIterationStats) obj; + com.google.bigtable.v2.ReadIterationStats other = (com.google.bigtable.v2.ReadIterationStats) obj; - if (getRowsSeenCount() != other.getRowsSeenCount()) return false; - if (getRowsReturnedCount() != other.getRowsReturnedCount()) return false; - if (getCellsSeenCount() != other.getCellsSeenCount()) return false; - if (getCellsReturnedCount() != other.getCellsReturnedCount()) return false; + if (getRowsSeenCount() + != other.getRowsSeenCount()) return false; + if (getRowsReturnedCount() + != other.getRowsReturnedCount()) return false; + if (getCellsSeenCount() + != other.getCellsSeenCount()) return false; + if (getCellsReturnedCount() + != other.getCellsReturnedCount()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -215,116 +192,115 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ROWS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsSeenCount()); hash = (37 * hash) + ROWS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsReturnedCount()); hash = (37 * hash) + CELLS_SEEN_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsSeenCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsSeenCount()); hash = (37 * hash) + CELLS_RETURNED_COUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCellsReturnedCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCellsReturnedCount()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadIterationStats parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats 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.v2.ReadIterationStats parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadIterationStats parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadIterationStats parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadIterationStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * ReadIterationStats captures information about the iteration of rows or cells
    * over the course of a read, e.g. how many results were scanned in a read
@@ -333,32 +309,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadIterationStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadIterationStats)
       com.google.bigtable.v2.ReadIterationStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadIterationStats.class,
-              com.google.bigtable.v2.ReadIterationStats.Builder.class);
+              com.google.bigtable.v2.ReadIterationStats.class, com.google.bigtable.v2.ReadIterationStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadIterationStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -371,9 +348,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_ReadIterationStats_descriptor;
     }
 
     @java.lang.Override
@@ -392,11 +369,8 @@ public com.google.bigtable.v2.ReadIterationStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadIterationStats buildPartial() {
-      com.google.bigtable.v2.ReadIterationStats result =
-          new com.google.bigtable.v2.ReadIterationStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadIterationStats result = new com.google.bigtable.v2.ReadIterationStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -421,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadIterationStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadIterationStats) {
-        return mergeFrom((com.google.bigtable.v2.ReadIterationStats) other);
+        return mergeFrom((com.google.bigtable.v2.ReadIterationStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -500,37 +473,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                rowsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                rowsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 24:
-              {
-                cellsSeenCount_ = input.readInt64();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 24
-            case 32:
-              {
-                cellsReturnedCount_ = input.readInt64();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              rowsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              rowsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 24: {
+              cellsSeenCount_ = input.readInt64();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 24
+            case 32: {
+              cellsReturnedCount_ = input.readInt64();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -540,20 +508,16 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private long rowsSeenCount_;
+    private long rowsSeenCount_ ;
     /**
-     *
-     *
      * 
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ @java.lang.Override @@ -561,15 +525,12 @@ public long getRowsSeenCount() { return rowsSeenCount_; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @param value The rowsSeenCount to set. * @return This builder for chaining. */ @@ -581,15 +542,12 @@ public Builder setRowsSeenCount(long value) { return this; } /** - * - * *
      * The rows seen (scanned) as part of the request. This includes the count of
      * rows returned, as captured below.
      * 
* * int64 rows_seen_count = 1; - * * @return This builder for chaining. */ public Builder clearRowsSeenCount() { @@ -599,16 +557,13 @@ public Builder clearRowsSeenCount() { return this; } - private long rowsReturnedCount_; + private long rowsReturnedCount_ ; /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ @java.lang.Override @@ -616,14 +571,11 @@ public long getRowsReturnedCount() { return rowsReturnedCount_; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @param value The rowsReturnedCount to set. * @return This builder for chaining. */ @@ -635,14 +587,11 @@ public Builder setRowsReturnedCount(long value) { return this; } /** - * - * *
      * The rows returned as part of the request.
      * 
* * int64 rows_returned_count = 2; - * * @return This builder for chaining. */ public Builder clearRowsReturnedCount() { @@ -652,17 +601,14 @@ public Builder clearRowsReturnedCount() { return this; } - private long cellsSeenCount_; + private long cellsSeenCount_ ; /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ @java.lang.Override @@ -670,15 +616,12 @@ public long getCellsSeenCount() { return cellsSeenCount_; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @param value The cellsSeenCount to set. * @return This builder for chaining. */ @@ -690,15 +633,12 @@ public Builder setCellsSeenCount(long value) { return this; } /** - * - * *
      * The cells seen (scanned) as part of the request. This includes the count of
      * cells returned, as captured below.
      * 
* * int64 cells_seen_count = 3; - * * @return This builder for chaining. */ public Builder clearCellsSeenCount() { @@ -708,16 +648,13 @@ public Builder clearCellsSeenCount() { return this; } - private long cellsReturnedCount_; + private long cellsReturnedCount_ ; /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ @java.lang.Override @@ -725,14 +662,11 @@ public long getCellsReturnedCount() { return cellsReturnedCount_; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @param value The cellsReturnedCount to set. * @return This builder for chaining. */ @@ -744,14 +678,11 @@ public Builder setCellsReturnedCount(long value) { return this; } /** - * - * *
      * The cells returned as part of the request.
      * 
* * int64 cells_returned_count = 4; - * * @return This builder for chaining. */ public Builder clearCellsReturnedCount() { @@ -760,9 +691,9 @@ public Builder clearCellsReturnedCount() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -772,12 +703,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadIterationStats) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadIterationStats) private static final com.google.bigtable.v2.ReadIterationStats DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadIterationStats(); } @@ -786,27 +717,27 @@ public static com.google.bigtable.v2.ReadIterationStats getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadIterationStats parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadIterationStats parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -821,4 +752,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadIterationStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java index fc61ea1cc9..0258d40bd2 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadIterationStatsOrBuilder.java @@ -1,78 +1,50 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/request_stats.proto package com.google.bigtable.v2; -public interface ReadIterationStatsOrBuilder - extends +public interface ReadIterationStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadIterationStats) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The rows seen (scanned) as part of the request. This includes the count of
    * rows returned, as captured below.
    * 
* * int64 rows_seen_count = 1; - * * @return The rowsSeenCount. */ long getRowsSeenCount(); /** - * - * *
    * The rows returned as part of the request.
    * 
* * int64 rows_returned_count = 2; - * * @return The rowsReturnedCount. */ long getRowsReturnedCount(); /** - * - * *
    * The cells seen (scanned) as part of the request. This includes the count of
    * cells returned, as captured below.
    * 
* * int64 cells_seen_count = 3; - * * @return The cellsSeenCount. */ long getCellsSeenCount(); /** - * - * *
    * The cells returned as part of the request.
    * 
* * int64 cells_returned_count = 4; - * * @return The cellsReturnedCount. */ long getCellsReturnedCount(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java index e8109e51e4..e8680f0c7d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ -public final class ReadModifyWriteRowRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowRequest) ReadModifyWriteRowRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowRequest.newBuilder() to construct. private ReadModifyWriteRowRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadModifyWriteRowRequest() { tableName_ = ""; appProfileId_ = ""; @@ -46,42 +28,35 @@ private ReadModifyWriteRowRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -125,19 +98,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ @java.lang.Override @@ -146,30 +115,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -180,15 +149,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -197,98 +163,77 @@ public com.google.protobuf.ByteString getRowKey() { } public static final int RULES_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List rules_; /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getRulesList() { return rules_; } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getRulesOrBuilderList() { return rules_; } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getRulesCount() { return rules_.size(); } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { return rules_.get(index); } /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { return rules_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -326,10 +272,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, rowKey_); } for (int i = 0; i < rules_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, rules_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, rules_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, appProfileId_); @@ -342,18 +290,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowRequest other = - (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; + com.google.bigtable.v2.ReadModifyWriteRowRequest other = (com.google.bigtable.v2.ReadModifyWriteRowRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; - if (!getRowKey().equals(other.getRowKey())) return false; - if (!getRulesList().equals(other.getRulesList())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (!getRulesList() + .equals(other.getRulesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -380,136 +331,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest 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.v2.ReadModifyWriteRowRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.bigtable.v2.ReadModifyWriteRowRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowRequest.class, - com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowRequest.class, com.google.bigtable.v2.ReadModifyWriteRowRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -528,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; } @java.lang.Override @@ -549,18 +496,14 @@ public com.google.bigtable.v2.ReadModifyWriteRowRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowRequest buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowRequest result = - new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); + com.google.bigtable.v2.ReadModifyWriteRowRequest result = new com.google.bigtable.v2.ReadModifyWriteRowRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartialRepeatedFields( - com.google.bigtable.v2.ReadModifyWriteRowRequest result) { + private void buildPartialRepeatedFields(com.google.bigtable.v2.ReadModifyWriteRowRequest result) { if (rulesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); @@ -589,39 +532,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowRequest resu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowRequest) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowRequest)other); } else { super.mergeFrom(other); return this; @@ -629,8 +571,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowRequest.getDefaultInstance()) return this; if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; bitField0_ |= 0x00000001; @@ -662,10 +603,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowRequest other) rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000008); - rulesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRulesFieldBuilder() - : null; + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRulesFieldBuilder() : null; } else { rulesBuilder_.addAllMessages(other.rules_); } @@ -697,44 +637,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - com.google.bigtable.v2.ReadModifyWriteRule m = - input.readMessage( - com.google.bigtable.v2.ReadModifyWriteRule.parser(), extensionRegistry); - if (rulesBuilder_ == null) { - ensureRulesIsMutable(); - rules_.add(m); - } else { - rulesBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + com.google.bigtable.v2.ReadModifyWriteRule m = + input.readMessage( + com.google.bigtable.v2.ReadModifyWriteRule.parser(), + extensionRegistry); + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(m); + } else { + rulesBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -744,29 +680,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -775,25 +706,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -801,43 +729,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -847,25 +764,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table to which the read/modify/write rules
      * should be applied. Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -875,21 +786,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -898,22 +807,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -921,37 +829,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -961,22 +862,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 4; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -986,15 +883,12 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ @java.lang.Override @@ -1002,37 +896,29 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The key of the row to which the read/modify/write rules should be
      * applied.
      * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1043,33 +929,25 @@ public Builder clearRowKey() { } private java.util.List rules_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRulesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { rules_ = new java.util.ArrayList(rules_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> - rulesBuilder_; + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> rulesBuilder_; /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getRulesList() { if (rulesBuilder_ == null) { @@ -1079,17 +957,13 @@ public java.util.List getRulesList() } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getRulesCount() { if (rulesBuilder_ == null) { @@ -1099,17 +973,13 @@ public int getRulesCount() { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { if (rulesBuilder_ == null) { @@ -1119,19 +989,16 @@ public com.google.bigtable.v2.ReadModifyWriteRule getRules(int index) { } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder setRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1145,17 +1012,13 @@ public Builder setRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1169,17 +1032,13 @@ public Builder setRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { @@ -1195,19 +1054,16 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule value) { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule value) { + public Builder addRules( + int index, com.google.bigtable.v2.ReadModifyWriteRule value) { if (rulesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1221,19 +1077,16 @@ public Builder addRules(int index, com.google.bigtable.v2.ReadModifyWriteRule va return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { + public Builder addRules( + com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); rules_.add(builderForValue.build()); @@ -1244,17 +1097,13 @@ public Builder addRules(com.google.bigtable.v2.ReadModifyWriteRule.Builder build return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addRules( int index, com.google.bigtable.v2.ReadModifyWriteRule.Builder builderForValue) { @@ -1268,23 +1117,20 @@ public Builder addRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllRules( java.lang.Iterable values) { if (rulesBuilder_ == null) { ensureRulesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rules_); onChanged(); } else { rulesBuilder_.addAllMessages(values); @@ -1292,17 +1138,13 @@ public Builder addAllRules( return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearRules() { if (rulesBuilder_ == null) { @@ -1315,17 +1157,13 @@ public Builder clearRules() { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeRules(int index) { if (rulesBuilder_ == null) { @@ -1338,56 +1176,45 @@ public Builder removeRules(int index) { return this; } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRule.Builder getRulesBuilder( + int index) { return getRulesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index) { + public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index) { if (rulesBuilder_ == null) { - return rules_.get(index); - } else { + return rules_.get(index); } else { return rulesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesOrBuilderList() { + public java.util.List + getRulesOrBuilderList() { if (rulesBuilder_ != null) { return rulesBuilder_.getMessageOrBuilderList(); } else { @@ -1395,76 +1222,62 @@ public com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int } } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder() { - return getRulesFieldBuilder() - .addBuilder(com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + return getRulesFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder(int index) { - return getRulesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); + public com.google.bigtable.v2.ReadModifyWriteRule.Builder addRulesBuilder( + int index) { + return getRulesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadModifyWriteRule.getDefaultInstance()); } /** - * - * *
      * Required. Rules specifying how the specified row's contents are to be
      * transformed into writes. Entries are applied in order, meaning that earlier
      * rules will affect the results of later ones.
      * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getRulesBuilderList() { + public java.util.List + getRulesBuilderList() { return getRulesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder> getRulesFieldBuilder() { if (rulesBuilder_ == null) { - rulesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadModifyWriteRule, - com.google.bigtable.v2.ReadModifyWriteRule.Builder, - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + rulesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadModifyWriteRule, com.google.bigtable.v2.ReadModifyWriteRule.Builder, com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder>( + rules_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); rules_ = null; } return rulesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1474,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowRequest) private static final com.google.bigtable.v2.ReadModifyWriteRowRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowRequest(); } @@ -1488,27 +1301,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1523,4 +1336,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java index 9c7f5e84b5..0c9433bce8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowRequestOrBuilder.java @@ -1,171 +1,120 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadModifyWriteRowRequestOrBuilder - extends +public interface ReadModifyWriteRowRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table to which the read/modify/write rules
    * should be applied. Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 4; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * Required. The key of the row to which the read/modify/write rules should be
    * applied.
    * 
* * bytes row_key = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getRulesList(); + java.util.List + getRulesList(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.bigtable.v2.ReadModifyWriteRule getRules(int index); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getRulesCount(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getRulesOrBuilderList(); /** - * - * *
    * Required. Rules specifying how the specified row's contents are to be
    * transformed into writes. Entries are applied in order, meaning that earlier
    * rules will affect the results of later ones.
    * 
* - * - * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.bigtable.v2.ReadModifyWriteRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder(int index); + com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder getRulesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java index f7af2c4fcb..ccb6d7b705 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponse.java @@ -1,76 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadModifyWriteRow.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ -public final class ReadModifyWriteRowResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadModifyWriteRowResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRowResponse) ReadModifyWriteRowResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadModifyWriteRowResponse.newBuilder() to construct. private ReadModifyWriteRowResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadModifyWriteRowResponse() {} + private ReadModifyWriteRowResponse() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadModifyWriteRowResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } public static final int ROW_FIELD_NUMBER = 1; private com.google.bigtable.v2.Row row_; /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ @java.lang.Override @@ -78,14 +57,11 @@ public boolean hasRow() { return row_ != null; } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ @java.lang.Override @@ -93,8 +69,6 @@ public com.google.bigtable.v2.Row getRow() { return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; } /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
@@ -107,7 +81,6 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -119,7 +92,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (row_ != null) { output.writeMessage(1, getRow()); } @@ -133,7 +107,8 @@ public int getSerializedSize() { size = 0; if (row_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRow()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getRow()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -143,17 +118,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRowResponse other = - (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; + com.google.bigtable.v2.ReadModifyWriteRowResponse other = (com.google.bigtable.v2.ReadModifyWriteRowResponse) obj; if (hasRow() != other.hasRow()) return false; if (hasRow()) { - if (!getRow().equals(other.getRow())) return false; + if (!getRow() + .equals(other.getRow())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -176,135 +151,131 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse 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.v2.ReadModifyWriteRowResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRowResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRowResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.ReadModifyWriteRow.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRowResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRowResponse) com.google.bigtable.v2.ReadModifyWriteRowResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadModifyWriteRowResponse.class, - com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); + com.google.bigtable.v2.ReadModifyWriteRowResponse.class, com.google.bigtable.v2.ReadModifyWriteRowResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadModifyWriteRowResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -318,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; } @java.lang.Override @@ -339,11 +310,8 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { - com.google.bigtable.v2.ReadModifyWriteRowResponse result = - new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadModifyWriteRowResponse result = new com.google.bigtable.v2.ReadModifyWriteRowResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,7 +319,9 @@ public com.google.bigtable.v2.ReadModifyWriteRowResponse buildPartial() { private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.row_ = rowBuilder_ == null ? row_ : rowBuilder_.build(); + result.row_ = rowBuilder_ == null + ? row_ + : rowBuilder_.build(); } } @@ -359,39 +329,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadModifyWriteRowResponse res public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadModifyWriteRowResponse) { - return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRowResponse)other); } else { super.mergeFrom(other); return this; @@ -399,8 +368,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRowResponse other) { - if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) - return this; + if (other == com.google.bigtable.v2.ReadModifyWriteRowResponse.getDefaultInstance()) return this; if (other.hasRow()) { mergeRow(other.getRow()); } @@ -430,19 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getRowFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getRowFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,38 +420,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.bigtable.v2.Row row_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> - rowBuilder_; + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> rowBuilder_; /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ public boolean hasRow() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ public com.google.bigtable.v2.Row getRow() { @@ -494,8 +452,6 @@ public com.google.bigtable.v2.Row getRow() { } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -516,15 +472,14 @@ public Builder setRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
* * .google.bigtable.v2.Row row = 1; */ - public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { + public Builder setRow( + com.google.bigtable.v2.Row.Builder builderForValue) { if (rowBuilder_ == null) { row_ = builderForValue.build(); } else { @@ -535,8 +490,6 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -545,9 +498,9 @@ public Builder setRow(com.google.bigtable.v2.Row.Builder builderForValue) { */ public Builder mergeRow(com.google.bigtable.v2.Row value) { if (rowBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && row_ != null - && row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + row_ != null && + row_ != com.google.bigtable.v2.Row.getDefaultInstance()) { getRowBuilder().mergeFrom(value); } else { row_ = value; @@ -560,8 +513,6 @@ public Builder mergeRow(com.google.bigtable.v2.Row value) { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -579,8 +530,6 @@ public Builder clearRow() { return this; } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -593,8 +542,6 @@ public com.google.bigtable.v2.Row.Builder getRowBuilder() { return getRowFieldBuilder().getBuilder(); } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -605,12 +552,11 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { if (rowBuilder_ != null) { return rowBuilder_.getMessageOrBuilder(); } else { - return row_ == null ? com.google.bigtable.v2.Row.getDefaultInstance() : row_; + return row_ == null ? + com.google.bigtable.v2.Row.getDefaultInstance() : row_; } } /** - * - * *
      * A Row containing the new contents of all cells modified by the request.
      * 
@@ -618,23 +564,21 @@ public com.google.bigtable.v2.RowOrBuilder getRowOrBuilder() { * .google.bigtable.v2.Row row = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder> + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder> getRowFieldBuilder() { if (rowBuilder_ == null) { - rowBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.Row, - com.google.bigtable.v2.Row.Builder, - com.google.bigtable.v2.RowOrBuilder>(getRow(), getParentForChildren(), isClean()); + rowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.Row, com.google.bigtable.v2.Row.Builder, com.google.bigtable.v2.RowOrBuilder>( + getRow(), + getParentForChildren(), + isClean()); row_ = null; } return rowBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -644,12 +588,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRowResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRowResponse) private static final com.google.bigtable.v2.ReadModifyWriteRowResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRowResponse(); } @@ -658,27 +602,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRowResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRowResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -693,4 +637,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.bigtable.v2.ReadModifyWriteRowResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java similarity index 58% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java index 837af761d8..13834b8c34 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRowResponseOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadModifyWriteRowResponseOrBuilder - extends +public interface ReadModifyWriteRowResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRowResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return Whether the row field is set. */ boolean hasRow(); /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
* * .google.bigtable.v2.Row row = 1; - * * @return The row. */ com.google.bigtable.v2.Row getRow(); /** - * - * *
    * A Row containing the new contents of all cells modified by the request.
    * 
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java similarity index 72% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java index 3c486f2192..b40b10a3b6 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRule.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies an atomic read/modify/write operation on the latest value of the
  * specified column.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
  */
-public final class ReadModifyWriteRule extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReadModifyWriteRule extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadModifyWriteRule)
     ReadModifyWriteRuleOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReadModifyWriteRule.newBuilder() to construct.
   private ReadModifyWriteRule(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReadModifyWriteRule() {
     familyName_ = "";
     columnQualifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -45,39 +27,34 @@ private ReadModifyWriteRule() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReadModifyWriteRule();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ReadModifyWriteRule.class,
-            com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+            com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
   }
 
   private int ruleCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object rule_;
-
   public enum RuleCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     APPEND_VALUE(3),
     INCREMENT_AMOUNT(4),
     RULE_NOT_SET(0);
     private final int value;
-
     private RuleCase(int value) {
       this.value = value;
     }
@@ -93,40 +70,33 @@ public static RuleCase valueOf(int value) {
 
     public static RuleCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return APPEND_VALUE;
-        case 4:
-          return INCREMENT_AMOUNT;
-        case 0:
-          return RULE_NOT_SET;
-        default:
-          return null;
+        case 3: return APPEND_VALUE;
+        case 4: return INCREMENT_AMOUNT;
+        case 0: return RULE_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public RuleCase getRuleCase() {
-    return RuleCase.forNumber(ruleCase_);
+  public RuleCase
+  getRuleCase() {
+    return RuleCase.forNumber(
+        ruleCase_);
   }
 
   public static final int FAMILY_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object familyName_ = "";
   /**
-   *
-   *
    * 
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The familyName. */ @java.lang.Override @@ -135,30 +105,30 @@ public java.lang.String getFamilyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; } } /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -169,8 +139,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -178,7 +146,6 @@ public com.google.protobuf.ByteString getFamilyNameBytes() {
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -188,8 +155,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { public static final int APPEND_VALUE_FIELD_NUMBER = 3; /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -197,7 +162,6 @@ public com.google.protobuf.ByteString getColumnQualifier() {
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ @java.lang.Override @@ -205,8 +169,6 @@ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -214,7 +176,6 @@ public boolean hasAppendValue() {
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ @java.lang.Override @@ -227,8 +188,6 @@ public com.google.protobuf.ByteString getAppendValue() { public static final int INCREMENT_AMOUNT_FIELD_NUMBER = 4; /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -237,7 +196,6 @@ public com.google.protobuf.ByteString getAppendValue() {
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ @java.lang.Override @@ -245,8 +203,6 @@ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -255,7 +211,6 @@ public boolean hasIncrementAmount() {
    * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ @java.lang.Override @@ -267,7 +222,6 @@ public long getIncrementAmount() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,7 +233,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(familyName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, familyName_); } @@ -287,10 +242,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeBytes(2, columnQualifier_); } if (ruleCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) rule_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - output.writeInt64(4, (long) ((java.lang.Long) rule_)); + output.writeInt64( + 4, (long)((java.lang.Long) rule_)); } getUnknownFields().writeTo(output); } @@ -305,17 +262,18 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, familyName_); } if (!columnQualifier_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, columnQualifier_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, columnQualifier_); } if (ruleCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) rule_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) rule_); } if (ruleCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 4, (long) ((java.lang.Long) rule_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 4, (long)((java.lang.Long) rule_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -325,23 +283,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadModifyWriteRule)) { return super.equals(obj); } - com.google.bigtable.v2.ReadModifyWriteRule other = - (com.google.bigtable.v2.ReadModifyWriteRule) obj; + com.google.bigtable.v2.ReadModifyWriteRule other = (com.google.bigtable.v2.ReadModifyWriteRule) obj; - if (!getFamilyName().equals(other.getFamilyName())) return false; - if (!getColumnQualifier().equals(other.getColumnQualifier())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; + if (!getColumnQualifier() + .equals(other.getColumnQualifier())) return false; if (!getRuleCase().equals(other.getRuleCase())) return false; switch (ruleCase_) { case 3: - if (!getAppendValue().equals(other.getAppendValue())) return false; + if (!getAppendValue() + .equals(other.getAppendValue())) return false; break; case 4: - if (getIncrementAmount() != other.getIncrementAmount()) return false; + if (getIncrementAmount() + != other.getIncrementAmount()) return false; break; case 0: default: @@ -368,7 +329,8 @@ public int hashCode() { break; case 4: hash = (37 * hash) + INCREMENT_AMOUNT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getIncrementAmount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIncrementAmount()); break; case 0: default: @@ -378,104 +340,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule 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.v2.ReadModifyWriteRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadModifyWriteRule parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadModifyWriteRule parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadModifyWriteRule prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies an atomic read/modify/write operation on the latest value of the
    * specified column.
@@ -483,32 +440,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ReadModifyWriteRule}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadModifyWriteRule)
       com.google.bigtable.v2.ReadModifyWriteRuleOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadModifyWriteRule.class,
-              com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
+              com.google.bigtable.v2.ReadModifyWriteRule.class, com.google.bigtable.v2.ReadModifyWriteRule.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ReadModifyWriteRule.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -521,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor;
     }
 
     @java.lang.Override
@@ -542,11 +500,8 @@ public com.google.bigtable.v2.ReadModifyWriteRule build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ReadModifyWriteRule buildPartial() {
-      com.google.bigtable.v2.ReadModifyWriteRule result =
-          new com.google.bigtable.v2.ReadModifyWriteRule(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ReadModifyWriteRule result = new com.google.bigtable.v2.ReadModifyWriteRule(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -571,39 +526,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadModifyWriteRule resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ReadModifyWriteRule) {
-        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule) other);
+        return mergeFrom((com.google.bigtable.v2.ReadModifyWriteRule)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -621,20 +575,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadModifyWriteRule other) {
         setColumnQualifier(other.getColumnQualifier());
       }
       switch (other.getRuleCase()) {
-        case APPEND_VALUE:
-          {
-            setAppendValue(other.getAppendValue());
-            break;
-          }
-        case INCREMENT_AMOUNT:
-          {
-            setIncrementAmount(other.getIncrementAmount());
-            break;
-          }
-        case RULE_NOT_SET:
-          {
-            break;
-          }
+        case APPEND_VALUE: {
+          setAppendValue(other.getAppendValue());
+          break;
+        }
+        case INCREMENT_AMOUNT: {
+          setIncrementAmount(other.getIncrementAmount());
+          break;
+        }
+        case RULE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -662,37 +613,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                familyName_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                columnQualifier_ = input.readBytes();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                rule_ = input.readBytes();
-                ruleCase_ = 3;
-                break;
-              } // case 26
-            case 32:
-              {
-                rule_ = input.readInt64();
-                ruleCase_ = 4;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              familyName_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              columnQualifier_ = input.readBytes();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              rule_ = input.readBytes();
+              ruleCase_ = 3;
+              break;
+            } // case 26
+            case 32: {
+              rule_ = input.readInt64();
+              ruleCase_ = 4;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -702,12 +648,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int ruleCase_ = 0;
     private java.lang.Object rule_;
-
-    public RuleCase getRuleCase() {
-      return RuleCase.forNumber(ruleCase_);
+    public RuleCase
+        getRuleCase() {
+      return RuleCase.forNumber(
+          ruleCase_);
     }
 
     public Builder clearRule() {
@@ -721,21 +667,19 @@ public Builder clearRule() {
 
     private java.lang.Object familyName_ = "";
     /**
-     *
-     *
      * 
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The familyName. */ public java.lang.String getFamilyName() { java.lang.Object ref = familyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); familyName_ = s; return s; @@ -744,22 +688,21 @@ public java.lang.String getFamilyName() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - public com.google.protobuf.ByteString getFamilyNameBytes() { + public com.google.protobuf.ByteString + getFamilyNameBytes() { java.lang.Object ref = familyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); familyName_ = b; return b; } else { @@ -767,37 +710,30 @@ public com.google.protobuf.ByteString getFamilyNameBytes() { } } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @param value The familyName to set. * @return This builder for chaining. */ - public Builder setFamilyName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } familyName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @return This builder for chaining. */ public Builder clearFamilyName() { @@ -807,22 +743,18 @@ public Builder clearFamilyName() { return this; } /** - * - * *
      * The name of the family to which the read/modify/write should be applied.
      * Must match `[-_.a-zA-Z0-9]+`
      * 
* * string family_name = 1; - * * @param value The bytes for familyName to set. * @return This builder for chaining. */ - public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); familyName_ = value; bitField0_ |= 0x00000001; @@ -832,8 +764,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -841,7 +771,6 @@ public Builder setFamilyNameBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ @java.lang.Override @@ -849,8 +778,6 @@ public com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -858,22 +785,17 @@ public com.google.protobuf.ByteString getColumnQualifier() {
      * 
* * bytes column_qualifier = 2; - * * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } columnQualifier_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The qualifier of the column to which the read/modify/write should be
      * applied.
@@ -881,7 +803,6 @@ public Builder setColumnQualifier(com.google.protobuf.ByteString value) {
      * 
* * bytes column_qualifier = 2; - * * @return This builder for chaining. */ public Builder clearColumnQualifier() { @@ -892,8 +813,6 @@ public Builder clearColumnQualifier() { } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -901,15 +820,12 @@ public Builder clearColumnQualifier() {
      * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ public boolean hasAppendValue() { return ruleCase_ == 3; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -917,7 +833,6 @@ public boolean hasAppendValue() {
      * 
* * bytes append_value = 3; - * * @return The appendValue. */ public com.google.protobuf.ByteString getAppendValue() { @@ -927,8 +842,6 @@ public com.google.protobuf.ByteString getAppendValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -936,22 +849,17 @@ public com.google.protobuf.ByteString getAppendValue() {
      * 
* * bytes append_value = 3; - * * @param value The appendValue to set. * @return This builder for chaining. */ public Builder setAppendValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ruleCase_ = 3; rule_ = value; onChanged(); return this; } /** - * - * *
      * Rule specifying that `append_value` be appended to the existing value.
      * If the targeted cell is unset, it will be treated as containing the
@@ -959,7 +867,6 @@ public Builder setAppendValue(com.google.protobuf.ByteString value) {
      * 
* * bytes append_value = 3; - * * @return This builder for chaining. */ public Builder clearAppendValue() { @@ -972,8 +879,6 @@ public Builder clearAppendValue() { } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -982,15 +887,12 @@ public Builder clearAppendValue() {
      * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ public boolean hasIncrementAmount() { return ruleCase_ == 4; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -999,7 +901,6 @@ public boolean hasIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ public long getIncrementAmount() { @@ -1009,8 +910,6 @@ public long getIncrementAmount() { return 0L; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1019,7 +918,6 @@ public long getIncrementAmount() {
      * 
* * int64 increment_amount = 4; - * * @param value The incrementAmount to set. * @return This builder for chaining. */ @@ -1031,8 +929,6 @@ public Builder setIncrementAmount(long value) { return this; } /** - * - * *
      * Rule specifying that `increment_amount` be added to the existing value.
      * If the targeted cell is unset, it will be treated as containing a zero.
@@ -1041,7 +937,6 @@ public Builder setIncrementAmount(long value) {
      * 
* * int64 increment_amount = 4; - * * @return This builder for chaining. */ public Builder clearIncrementAmount() { @@ -1052,9 +947,9 @@ public Builder clearIncrementAmount() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1064,12 +959,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadModifyWriteRule) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadModifyWriteRule) private static final com.google.bigtable.v2.ReadModifyWriteRule DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadModifyWriteRule(); } @@ -1078,27 +973,27 @@ public static com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadModifyWriteRule parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadModifyWriteRule parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1113,4 +1008,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadModifyWriteRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java index fc3e093ffc..f31704e8cf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadModifyWriteRuleOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface ReadModifyWriteRuleOrBuilder - extends +public interface ReadModifyWriteRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadModifyWriteRule) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The familyName. */ java.lang.String getFamilyName(); /** - * - * *
    * The name of the family to which the read/modify/write should be applied.
    * Must match `[-_.a-zA-Z0-9]+`
    * 
* * string family_name = 1; - * * @return The bytes for familyName. */ - com.google.protobuf.ByteString getFamilyNameBytes(); + com.google.protobuf.ByteString + getFamilyNameBytes(); /** - * - * *
    * The qualifier of the column to which the read/modify/write should be
    * applied.
@@ -60,14 +37,11 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes column_qualifier = 2; - * * @return The columnQualifier. */ com.google.protobuf.ByteString getColumnQualifier(); /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -75,13 +49,10 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes append_value = 3; - * * @return Whether the appendValue field is set. */ boolean hasAppendValue(); /** - * - * *
    * Rule specifying that `append_value` be appended to the existing value.
    * If the targeted cell is unset, it will be treated as containing the
@@ -89,14 +60,11 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * bytes append_value = 3; - * * @return The appendValue. */ com.google.protobuf.ByteString getAppendValue(); /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -105,13 +73,10 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * int64 increment_amount = 4; - * * @return Whether the incrementAmount field is set. */ boolean hasIncrementAmount(); /** - * - * *
    * Rule specifying that `increment_amount` be added to the existing value.
    * If the targeted cell is unset, it will be treated as containing a zero.
@@ -120,7 +85,6 @@ public interface ReadModifyWriteRuleOrBuilder
    * 
* * int64 increment_amount = 4; - * * @return The incrementAmount. */ long getIncrementAmount(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java similarity index 73% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index 60351c5c6d..b2d5e2cc9f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.ReadRows.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ -public final class ReadRowsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsRequest) ReadRowsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsRequest.newBuilder() to construct. private ReadRowsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsRequest() { tableName_ = ""; appProfileId_ = ""; @@ -45,28 +27,25 @@ private ReadRowsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } /** - * - * *
    * The desired view into RequestStats that should be returned in the response.
    *
@@ -75,10 +54,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.bigtable.v2.ReadRowsRequest.RequestStatsView}
    */
-  public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum {
+  public enum RequestStatsView
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -87,8 +65,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ REQUEST_STATS_VIEW_UNSPECIFIED(0), /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -98,8 +74,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     REQUEST_STATS_NONE(1),
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -112,8 +86,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
     ;
 
     /**
-     *
-     *
      * 
      * The default / unset value. The API will default to the NONE option below.
      * 
@@ -122,8 +94,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum */ public static final int REQUEST_STATS_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not include any RequestStats in the response. This will leave the
      * RequestStats embedded message unset in the response.
@@ -133,8 +103,6 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_NONE_VALUE = 1;
     /**
-     *
-     *
      * 
      * Include the full set of available RequestStats in the response,
      * applicable to this read.
@@ -144,6 +112,7 @@ public enum RequestStatsView implements com.google.protobuf.ProtocolMessageEnum
      */
     public static final int REQUEST_STATS_FULL_VALUE = 2;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -168,42 +137,39 @@ public static RequestStatsView valueOf(int value) {
      */
     public static RequestStatsView forNumber(int value) {
       switch (value) {
-        case 0:
-          return REQUEST_STATS_VIEW_UNSPECIFIED;
-        case 1:
-          return REQUEST_STATS_NONE;
-        case 2:
-          return REQUEST_STATS_FULL;
-        default:
-          return null;
+        case 0: return REQUEST_STATS_VIEW_UNSPECIFIED;
+        case 1: return REQUEST_STATS_NONE;
+        case 2: return REQUEST_STATS_FULL;
+        default: return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap
+        internalGetValueMap() {
       return internalValueMap;
     }
+    private static final com.google.protobuf.Internal.EnumLiteMap<
+        RequestStatsView> internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public RequestStatsView findValueByNumber(int number) {
+              return RequestStatsView.forNumber(number);
+            }
+          };
 
-    private static final com.google.protobuf.Internal.EnumLiteMap
-        internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public RequestStatsView findValueByNumber(int number) {
-                return RequestStatsView.forNumber(number);
-              }
-            };
-
-    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+    public final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptorForType() {
       return getDescriptor();
     }
-
-    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.bigtable.v2.ReadRowsRequest.getDescriptor().getEnumTypes().get(0);
     }
 
@@ -212,7 +178,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor
     public static RequestStatsView valueOf(
         com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -230,22 +197,16 @@ private RequestStatsView(int value) {
   }
 
   public static final int TABLE_NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object tableName_ = "";
   /**
-   *
-   *
    * 
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -254,33 +215,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -289,19 +248,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ @java.lang.Override @@ -310,30 +265,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -344,15 +299,12 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { public static final int ROWS_FIELD_NUMBER = 2; private com.google.bigtable.v2.RowSet rows_; /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ @java.lang.Override @@ -360,15 +312,12 @@ public boolean hasRows() { return rows_ != null; } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ @java.lang.Override @@ -376,8 +325,6 @@ public com.google.bigtable.v2.RowSet getRows() { return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_; } /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -393,15 +340,12 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
   public static final int FILTER_FIELD_NUMBER = 3;
   private com.google.bigtable.v2.RowFilter filter_;
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -409,15 +353,12 @@ public boolean hasFilter() { return filter_ != null; } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ @java.lang.Override @@ -425,8 +366,6 @@ public com.google.bigtable.v2.RowFilter getFilter() { return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_; } /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -442,15 +381,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
   public static final int ROWS_LIMIT_FIELD_NUMBER = 4;
   private long rowsLimit_ = 0L;
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ @java.lang.Override @@ -461,45 +397,32 @@ public long getRowsLimit() { public static final int REQUEST_STATS_VIEW_FIELD_NUMBER = 6; private int requestStatsView_ = 0; /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ - @java.lang.Override - public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } public static final int REVERSED_FIELD_NUMBER = 7; private boolean reversed_ = false; /** - * - * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -516,7 +439,6 @@ public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsVi
    * 
* * bool reversed = 7; - * * @return The reversed. */ @java.lang.Override @@ -525,7 +447,6 @@ public boolean getReversed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -537,7 +458,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -553,9 +475,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(6, requestStatsView_); } if (reversed_ != false) { @@ -574,24 +494,27 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tableName_); } if (rows_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRows()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRows()); } if (filter_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getFilter()); } if (rowsLimit_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, rowsLimit_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, rowsLimit_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(appProfileId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, appProfileId_); } - if (requestStatsView_ - != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, requestStatsView_); + if (requestStatsView_ != com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.REQUEST_STATS_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(6, requestStatsView_); } if (reversed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, reversed_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(7, reversed_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -601,26 +524,32 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsRequest)) { return super.equals(obj); } com.google.bigtable.v2.ReadRowsRequest other = (com.google.bigtable.v2.ReadRowsRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (hasRows() != other.hasRows()) return false; if (hasRows()) { - if (!getRows().equals(other.getRows())) return false; + if (!getRows() + .equals(other.getRows())) return false; } if (hasFilter() != other.hasFilter()) return false; if (hasFilter()) { - if (!getFilter().equals(other.getFilter())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; } - if (getRowsLimit() != other.getRowsLimit()) return false; + if (getRowsLimit() + != other.getRowsLimit()) return false; if (requestStatsView_ != other.requestStatsView_) return false; - if (getReversed() != other.getReversed()) return false; + if (getReversed() + != other.getReversed()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -645,146 +574,144 @@ public int hashCode() { hash = (53 * hash) + getFilter().hashCode(); } hash = (37 * hash) + ROWS_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowsLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRowsLimit()); hash = (37 * hash) + REQUEST_STATS_VIEW_FIELD_NUMBER; hash = (53 * hash) + requestStatsView_; hash = (37 * hash) + REVERSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReversed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReversed()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ReadRowsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest 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.v2.ReadRowsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsRequest) com.google.bigtable.v2.ReadRowsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsRequest.class, - com.google.bigtable.v2.ReadRowsRequest.Builder.class); + com.google.bigtable.v2.ReadRowsRequest.class, com.google.bigtable.v2.ReadRowsRequest.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -808,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsRequest_descriptor; } @java.lang.Override @@ -829,11 +756,8 @@ public com.google.bigtable.v2.ReadRowsRequest build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest buildPartial() { - com.google.bigtable.v2.ReadRowsRequest result = - new com.google.bigtable.v2.ReadRowsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.ReadRowsRequest result = new com.google.bigtable.v2.ReadRowsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -847,10 +771,14 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { result.appProfileId_ = appProfileId_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.rows_ = rowsBuilder_ == null ? rows_ : rowsBuilder_.build(); + result.rows_ = rowsBuilder_ == null + ? rows_ + : rowsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { - result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null + ? filter_ + : filterBuilder_.build(); } if (((from_bitField0_ & 0x00000010) != 0)) { result.rowsLimit_ = rowsLimit_; @@ -867,39 +795,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsRequest) { - return mergeFrom((com.google.bigtable.v2.ReadRowsRequest) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsRequest)other); } else { super.mergeFrom(other); return this; @@ -959,55 +886,51 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getRowsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 26 - case 32: - { - rowsLimit_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 32 - case 42: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 42 - case 48: - { - requestStatsView_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: - { - reversed_ = input.readBool(); - bitField0_ |= 0x00000040; - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getRowsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 26 + case 32: { + rowsLimit_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 42 + case 48: { + requestStatsView_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: { + reversed_ = input.readBool(); + bitField0_ |= 0x00000040; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1017,29 +940,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -1048,25 +966,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -1074,43 +989,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -1120,25 +1024,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to read.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -1148,21 +1046,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -1171,22 +1067,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -1194,37 +1089,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -1234,22 +1122,18 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 5; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; @@ -1259,35 +1143,26 @@ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { private com.google.bigtable.v2.RowSet rows_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RowSet, - com.google.bigtable.v2.RowSet.Builder, - com.google.bigtable.v2.RowSetOrBuilder> - rowsBuilder_; + com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder> rowsBuilder_; /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ public boolean hasRows() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
      * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ public com.google.bigtable.v2.RowSet getRows() { @@ -1298,8 +1173,6 @@ public com.google.bigtable.v2.RowSet getRows() { } } /** - * - * *
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1321,8 +1194,6 @@ public Builder setRows(com.google.bigtable.v2.RowSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1330,7 +1201,8 @@ public Builder setRows(com.google.bigtable.v2.RowSet value) {
      *
      * .google.bigtable.v2.RowSet rows = 2;
      */
-    public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
+    public Builder setRows(
+        com.google.bigtable.v2.RowSet.Builder builderForValue) {
       if (rowsBuilder_ == null) {
         rows_ = builderForValue.build();
       } else {
@@ -1341,8 +1213,6 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1352,9 +1222,9 @@ public Builder setRows(com.google.bigtable.v2.RowSet.Builder builderForValue) {
      */
     public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       if (rowsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && rows_ != null
-            && rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          rows_ != null &&
+          rows_ != com.google.bigtable.v2.RowSet.getDefaultInstance()) {
           getRowsBuilder().mergeFrom(value);
         } else {
           rows_ = value;
@@ -1367,8 +1237,6 @@ public Builder mergeRows(com.google.bigtable.v2.RowSet value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1387,8 +1255,6 @@ public Builder clearRows() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1402,8 +1268,6 @@ public com.google.bigtable.v2.RowSet.Builder getRowsBuilder() {
       return getRowsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1415,12 +1279,11 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
       if (rowsBuilder_ != null) {
         return rowsBuilder_.getMessageOrBuilder();
       } else {
-        return rows_ == null ? com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_;
+        return rows_ == null ?
+            com.google.bigtable.v2.RowSet.getDefaultInstance() : rows_;
       }
     }
     /**
-     *
-     *
      * 
      * The row keys and/or ranges to read sequentially. If not specified, reads
      * from all rows.
@@ -1429,17 +1292,14 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
      * .google.bigtable.v2.RowSet rows = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowSet,
-            com.google.bigtable.v2.RowSet.Builder,
-            com.google.bigtable.v2.RowSetOrBuilder>
+        com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder> 
         getRowsFieldBuilder() {
       if (rowsBuilder_ == null) {
-        rowsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowSet,
-                com.google.bigtable.v2.RowSet.Builder,
-                com.google.bigtable.v2.RowSetOrBuilder>(
-                getRows(), getParentForChildren(), isClean());
+        rowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowSet, com.google.bigtable.v2.RowSet.Builder, com.google.bigtable.v2.RowSetOrBuilder>(
+                getRows(),
+                getParentForChildren(),
+                isClean());
         rows_ = null;
       }
       return rowsBuilder_;
@@ -1447,35 +1307,26 @@ public com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder() {
 
     private com.google.bigtable.v2.RowFilter filter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
-        filterBuilder_;
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filterBuilder_;
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
      * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ public com.google.bigtable.v2.RowFilter getFilter() { @@ -1486,8 +1337,6 @@ public com.google.bigtable.v2.RowFilter getFilter() { } } /** - * - * *
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1509,8 +1358,6 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1518,7 +1365,8 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter value) {
      *
      * .google.bigtable.v2.RowFilter filter = 3;
      */
-    public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+    public Builder setFilter(
+        com.google.bigtable.v2.RowFilter.Builder builderForValue) {
       if (filterBuilder_ == null) {
         filter_ = builderForValue.build();
       } else {
@@ -1529,8 +1377,6 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1540,9 +1386,9 @@ public Builder setFilter(com.google.bigtable.v2.RowFilter.Builder builderForValu
      */
     public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       if (filterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && filter_ != null
-            && filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          filter_ != null &&
+          filter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
           getFilterBuilder().mergeFrom(value);
         } else {
           filter_ = value;
@@ -1555,8 +1401,6 @@ public Builder mergeFilter(com.google.bigtable.v2.RowFilter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1575,8 +1419,6 @@ public Builder clearFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1590,8 +1432,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFilterBuilder() {
       return getFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1603,12 +1443,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
       if (filterBuilder_ != null) {
         return filterBuilder_.getMessageOrBuilder();
       } else {
-        return filter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_;
+        return filter_ == null ?
+            com.google.bigtable.v2.RowFilter.getDefaultInstance() : filter_;
       }
     }
     /**
-     *
-     *
      * 
      * The filter to apply to the contents of the specified row(s). If unset,
      * reads the entirety of each row.
@@ -1617,33 +1456,27 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder() {
      * .google.bigtable.v2.RowFilter filter = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter,
-            com.google.bigtable.v2.RowFilter.Builder,
-            com.google.bigtable.v2.RowFilterOrBuilder>
+        com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
         getFilterFieldBuilder() {
       if (filterBuilder_ == null) {
-        filterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter,
-                com.google.bigtable.v2.RowFilter.Builder,
-                com.google.bigtable.v2.RowFilterOrBuilder>(
-                getFilter(), getParentForChildren(), isClean());
+        filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                getFilter(),
+                getParentForChildren(),
+                isClean());
         filter_ = null;
       }
       return filterBuilder_;
     }
 
-    private long rowsLimit_;
+    private long rowsLimit_ ;
     /**
-     *
-     *
      * 
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ @java.lang.Override @@ -1651,15 +1484,12 @@ public long getRowsLimit() { return rowsLimit_; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @param value The rowsLimit to set. * @return This builder for chaining. */ @@ -1671,15 +1501,12 @@ public Builder setRowsLimit(long value) { return this; } /** - * - * *
      * The read will stop after committing to N rows' worth of results. The
      * default (zero) is to return all results.
      * 
* * int64 rows_limit = 4; - * * @return This builder for chaining. */ public Builder clearRowsLimit() { @@ -1691,29 +1518,22 @@ public Builder clearRowsLimit() { private int requestStatsView_ = 0; /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ - @java.lang.Override - public int getRequestStatsViewValue() { + @java.lang.Override public int getRequestStatsViewValue() { return requestStatsView_; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The enum numeric value on the wire for requestStatsView to set. * @return This builder for chaining. */ @@ -1724,38 +1544,28 @@ public Builder setRequestStatsViewValue(int value) { return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ @java.lang.Override public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView() { - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); - return result == null - ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED - : result; + com.google.bigtable.v2.ReadRowsRequest.RequestStatsView result = com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.forNumber(requestStatsView_); + return result == null ? com.google.bigtable.v2.ReadRowsRequest.RequestStatsView.UNRECOGNIZED : result; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @param value The requestStatsView to set. * @return This builder for chaining. */ - public Builder setRequestStatsView( - com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { + public Builder setRequestStatsView(com.google.bigtable.v2.ReadRowsRequest.RequestStatsView value) { if (value == null) { throw new NullPointerException(); } @@ -1765,14 +1575,11 @@ public Builder setRequestStatsView( return this; } /** - * - * *
      * The view into RequestStats, as described above.
      * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return This builder for chaining. */ public Builder clearRequestStatsView() { @@ -1782,10 +1589,8 @@ public Builder clearRequestStatsView() { return this; } - private boolean reversed_; + private boolean reversed_ ; /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1802,7 +1607,6 @@ public Builder clearRequestStatsView() {
      * 
* * bool reversed = 7; - * * @return The reversed. */ @java.lang.Override @@ -1810,8 +1614,6 @@ public boolean getReversed() { return reversed_; } /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1828,7 +1630,6 @@ public boolean getReversed() {
      * 
* * bool reversed = 7; - * * @param value The reversed to set. * @return This builder for chaining. */ @@ -1840,8 +1641,6 @@ public Builder setReversed(boolean value) { return this; } /** - * - * *
      * Experimental API - Please note that this API is currently experimental
      * and can change in the future.
@@ -1858,7 +1657,6 @@ public Builder setReversed(boolean value) {
      * 
* * bool reversed = 7; - * * @return This builder for chaining. */ public Builder clearReversed() { @@ -1867,9 +1665,9 @@ public Builder clearReversed() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1879,12 +1677,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsRequest) private static final com.google.bigtable.v2.ReadRowsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsRequest(); } @@ -1893,27 +1691,27 @@ public static com.google.bigtable.v2.ReadRowsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReadRowsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReadRowsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1928,4 +1726,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java similarity index 77% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java index 1ebbf6d820..9e1778ccf4 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java @@ -1,117 +1,79 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface ReadRowsRequestOrBuilder - extends +public interface ReadRowsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to read.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 5; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return Whether the rows field is set. */ boolean hasRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
    * 
* * .google.bigtable.v2.RowSet rows = 2; - * * @return The rows. */ com.google.bigtable.v2.RowSet getRows(); /** - * - * *
    * The row keys and/or ranges to read sequentially. If not specified, reads
    * from all rows.
@@ -122,34 +84,26 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowSetOrBuilder getRowsOrBuilder();
 
   /**
-   *
-   *
    * 
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
    * 
* * .google.bigtable.v2.RowFilter filter = 3; - * * @return The filter. */ com.google.bigtable.v2.RowFilter getFilter(); /** - * - * *
    * The filter to apply to the contents of the specified row(s). If unset,
    * reads the entirety of each row.
@@ -160,47 +114,36 @@ public interface ReadRowsRequestOrBuilder
   com.google.bigtable.v2.RowFilterOrBuilder getFilterOrBuilder();
 
   /**
-   *
-   *
    * 
    * The read will stop after committing to N rows' worth of results. The
    * default (zero) is to return all results.
    * 
* * int64 rows_limit = 4; - * * @return The rowsLimit. */ long getRowsLimit(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The enum numeric value on the wire for requestStatsView. */ int getRequestStatsViewValue(); /** - * - * *
    * The view into RequestStats, as described above.
    * 
* * .google.bigtable.v2.ReadRowsRequest.RequestStatsView request_stats_view = 6; - * * @return The requestStatsView. */ com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsView(); /** - * - * *
    * Experimental API - Please note that this API is currently experimental
    * and can change in the future.
@@ -217,7 +160,6 @@ public interface ReadRowsRequestOrBuilder
    * 
* * bool reversed = 7; - * * @return The reversed. */ boolean getReversed(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java similarity index 80% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java index b9c12ee4b0..03b02ba57a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.ReadRows.
  * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ -public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadRowsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse) ReadRowsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadRowsResponse.newBuilder() to construct. private ReadRowsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadRowsResponse() { chunks_ = java.util.Collections.emptyList(); lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; @@ -44,33 +26,29 @@ private ReadRowsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadRowsResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } - public interface CellChunkOrBuilder - extends + public interface CellChunkOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse.CellChunk) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -79,14 +57,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -97,13 +72,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ boolean hasFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -114,13 +86,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ com.google.protobuf.StringValue getFamilyName(); /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -135,8 +104,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder();
 
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -146,13 +113,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ boolean hasQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -162,13 +126,10 @@ public interface CellChunkOrBuilder
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ com.google.protobuf.BytesValue getQualifier(); /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -182,8 +143,6 @@ public interface CellChunkOrBuilder
     com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder();
 
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -196,14 +155,11 @@ public interface CellChunkOrBuilder
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ long getTimestampMicros(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -211,13 +167,11 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - java.util.List getLabelsList(); + java.util.List + getLabelsList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -225,13 +179,10 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ int getLabelsCount(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -239,14 +190,11 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ java.lang.String getLabels(int index); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -254,15 +202,13 @@ public interface CellChunkOrBuilder
      * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - com.google.protobuf.ByteString getLabelsBytes(int index); + com.google.protobuf.ByteString + getLabelsBytes(int index); /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -272,14 +218,11 @@ public interface CellChunkOrBuilder
      * 
* * bytes value = 6; - * * @return The value. */ com.google.protobuf.ByteString getValue(); /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -288,61 +231,48 @@ public interface CellChunkOrBuilder
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ int getValueSize(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ boolean hasResetRow(); /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ boolean getResetRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ boolean hasCommitRow(); /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ boolean getCommitRow(); @@ -350,8 +280,6 @@ public interface CellChunkOrBuilder com.google.bigtable.v2.ReadRowsResponse.CellChunk.RowStatusCase getRowStatusCase(); } /** - * - * *
    * Specifies a piece of a row's contents returned as part of the read
    * response stream.
@@ -359,57 +287,52 @@ public interface CellChunkOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
    */
-  public static final class CellChunk extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class CellChunk extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
       CellChunkOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use CellChunk.newBuilder() to construct.
     private CellChunk(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private CellChunk() {
       rowKey_ = com.google.protobuf.ByteString.EMPTY;
-      labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      labels_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       value_ = com.google.protobuf.ByteString.EMPTY;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new CellChunk();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.BigtableProto
-          .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+      return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-              com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+              com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
     }
 
     private int rowStatusCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object rowStatus_;
-
     public enum RowStatusCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       RESET_ROW(8),
       COMMIT_ROW(9),
       ROWSTATUS_NOT_SET(0);
       private final int value;
-
       private RowStatusCase(int value) {
         this.value = value;
       }
@@ -425,31 +348,26 @@ public static RowStatusCase valueOf(int value) {
 
       public static RowStatusCase forNumber(int value) {
         switch (value) {
-          case 8:
-            return RESET_ROW;
-          case 9:
-            return COMMIT_ROW;
-          case 0:
-            return ROWSTATUS_NOT_SET;
-          default:
-            return null;
+          case 8: return RESET_ROW;
+          case 9: return COMMIT_ROW;
+          case 0: return ROWSTATUS_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public RowStatusCase getRowStatusCase() {
-      return RowStatusCase.forNumber(rowStatusCase_);
+    public RowStatusCase
+    getRowStatusCase() {
+      return RowStatusCase.forNumber(
+          rowStatusCase_);
     }
 
     public static final int ROW_KEY_FIELD_NUMBER = 1;
     private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The row key for this chunk of data.  If the row key is empty,
      * this CellChunk is a continuation of the same row as the previous
@@ -458,7 +376,6 @@ public RowStatusCase getRowStatusCase() {
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -469,8 +386,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int FAMILY_NAME_FIELD_NUMBER = 2; private com.google.protobuf.StringValue familyName_; /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -481,7 +396,6 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ @java.lang.Override @@ -489,8 +403,6 @@ public boolean hasFamilyName() { return familyName_ != null; } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -501,18 +413,13 @@ public boolean hasFamilyName() {
      * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ @java.lang.Override public com.google.protobuf.StringValue getFamilyName() { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } /** - * - * *
      * The column family name for this chunk of data.  If this message
      * is not present this CellChunk is a continuation of the same column
@@ -526,16 +433,12 @@ public com.google.protobuf.StringValue getFamilyName() {
      */
     @java.lang.Override
     public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
-      return familyName_ == null
-          ? com.google.protobuf.StringValue.getDefaultInstance()
-          : familyName_;
+      return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
     }
 
     public static final int QUALIFIER_FIELD_NUMBER = 3;
     private com.google.protobuf.BytesValue qualifier_;
     /**
-     *
-     *
      * 
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -545,7 +448,6 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ @java.lang.Override @@ -553,8 +455,6 @@ public boolean hasQualifier() { return qualifier_ != null; } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -564,7 +464,6 @@ public boolean hasQualifier() {
      * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ @java.lang.Override @@ -572,8 +471,6 @@ public com.google.protobuf.BytesValue getQualifier() { return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } /** - * - * *
      * The column qualifier for this chunk of data.  If this message
      * is not present, this CellChunk is a continuation of the same column
@@ -592,8 +489,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
     public static final int TIMESTAMP_MICROS_FIELD_NUMBER = 4;
     private long timestampMicros_ = 0L;
     /**
-     *
-     *
      * 
      * The cell's stored timestamp, which also uniquely identifies it
      * within its column.  Values are always expressed in
@@ -606,7 +501,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
      * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -615,13 +509,10 @@ public long getTimestampMicros() { } public static final int LABELS_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -629,15 +520,13 @@ public long getTimestampMicros() {
      * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { return labels_; } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -645,15 +534,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
      * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -661,7 +547,6 @@ public int getLabelsCount() {
      * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -669,8 +554,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
      * Labels applied to the cell by a
      * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -678,19 +561,17 @@ public java.lang.String getLabels(int index) {
      * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } public static final int VALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The value stored in the cell.  Cell values can be split across
      * multiple CellChunks.  In that case only the value field will be
@@ -700,7 +581,6 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
      * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -711,8 +591,6 @@ public com.google.protobuf.ByteString getValue() { public static final int VALUE_SIZE_FIELD_NUMBER = 7; private int valueSize_ = 0; /** - * - * *
      * If this CellChunk is part of a chunked cell value and this is
      * not the final chunk of that cell, value_size will be set to the
@@ -721,7 +599,6 @@ public com.google.protobuf.ByteString getValue() {
      * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -731,15 +608,12 @@ public int getValueSize() { public static final int RESET_ROW_FIELD_NUMBER = 8; /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ @java.lang.Override @@ -747,15 +621,12 @@ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
      * Indicates that the client should drop all previous chunks for
      * `row_key`, as it will be re-read from the beginning.
      * 
* * bool reset_row = 8; - * * @return The resetRow. */ @java.lang.Override @@ -768,15 +639,12 @@ public boolean getResetRow() { public static final int COMMIT_ROW_FIELD_NUMBER = 9; /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ @java.lang.Override @@ -784,15 +652,12 @@ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
      * Indicates that the client can safely process all previous chunks for
      * `row_key`, as its data has been fully read.
      * 
* * bool commit_row = 9; - * * @return The commitRow. */ @java.lang.Override @@ -804,7 +669,6 @@ public boolean getCommitRow() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -816,7 +680,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -839,10 +704,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeInt32(7, valueSize_); } if (rowStatusCase_ == 8) { - output.writeBool(8, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - output.writeBool(9, (boolean) ((java.lang.Boolean) rowStatus_)); + output.writeBool( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } getUnknownFields().writeTo(output); } @@ -854,16 +721,20 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (familyName_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getFamilyName()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getFamilyName()); } if (qualifier_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getQualifier()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getQualifier()); } if (timestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, timestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, timestampMicros_); } { int dataSize = 0; @@ -874,20 +745,22 @@ public int getSerializedSize() { size += 1 * getLabelsList().size(); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, value_); } if (valueSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, valueSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, valueSize_); } if (rowStatusCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 8, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 8, (boolean)((java.lang.Boolean) rowStatus_)); } if (rowStatusCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 9, (boolean) ((java.lang.Boolean) rowStatus_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 9, (boolean)((java.lang.Boolean) rowStatus_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -897,34 +770,42 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk)) { return super.equals(obj); } - com.google.bigtable.v2.ReadRowsResponse.CellChunk other = - (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; + com.google.bigtable.v2.ReadRowsResponse.CellChunk other = (com.google.bigtable.v2.ReadRowsResponse.CellChunk) obj; - if (!getRowKey().equals(other.getRowKey())) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; if (hasFamilyName() != other.hasFamilyName()) return false; if (hasFamilyName()) { - if (!getFamilyName().equals(other.getFamilyName())) return false; + if (!getFamilyName() + .equals(other.getFamilyName())) return false; } if (hasQualifier() != other.hasQualifier()) return false; if (hasQualifier()) { - if (!getQualifier().equals(other.getQualifier())) return false; - } - if (getTimestampMicros() != other.getTimestampMicros()) return false; - if (!getLabelsList().equals(other.getLabelsList())) return false; - if (!getValue().equals(other.getValue())) return false; - if (getValueSize() != other.getValueSize()) return false; + if (!getQualifier() + .equals(other.getQualifier())) return false; + } + if (getTimestampMicros() + != other.getTimestampMicros()) return false; + if (!getLabelsList() + .equals(other.getLabelsList())) return false; + if (!getValue() + .equals(other.getValue())) return false; + if (getValueSize() + != other.getValueSize()) return false; if (!getRowStatusCase().equals(other.getRowStatusCase())) return false; switch (rowStatusCase_) { case 8: - if (getResetRow() != other.getResetRow()) return false; + if (getResetRow() + != other.getResetRow()) return false; break; case 9: - if (getCommitRow() != other.getCommitRow()) return false; + if (getCommitRow() + != other.getCommitRow()) return false; break; case 0: default: @@ -951,7 +832,8 @@ public int hashCode() { hash = (53 * hash) + getQualifier().hashCode(); } hash = (37 * hash) + TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestampMicros()); if (getLabelsCount() > 0) { hash = (37 * hash) + LABELS_FIELD_NUMBER; hash = (53 * hash) + getLabelsList().hashCode(); @@ -963,11 +845,13 @@ public int hashCode() { switch (rowStatusCase_) { case 8: hash = (37 * hash) + RESET_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResetRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getResetRow()); break; case 9: hash = (37 * hash) + COMMIT_ROW_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCommitRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCommitRow()); break; case 0: default: @@ -978,93 +862,89 @@ public int hashCode() { } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk 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.v2.ReadRowsResponse.CellChunk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ReadRowsResponse.CellChunk parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1074,8 +954,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Specifies a piece of a row's contents returned as part of the read
      * response stream.
@@ -1083,33 +961,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.ReadRowsResponse.CellChunk}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse.CellChunk)
         com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class,
-                com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
+                com.google.bigtable.v2.ReadRowsResponse.CellChunk.class, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.ReadRowsResponse.CellChunk.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1126,7 +1004,8 @@ public Builder clear() {
           qualifierBuilder_ = null;
         }
         timestampMicros_ = 0L;
-        labels_ = com.google.protobuf.LazyStringArrayList.emptyList();
+        labels_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         value_ = com.google.protobuf.ByteString.EMPTY;
         valueSize_ = 0;
         rowStatusCase_ = 0;
@@ -1135,9 +1014,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.BigtableProto
-            .internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor;
       }
 
       @java.lang.Override
@@ -1156,11 +1035,8 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.ReadRowsResponse.CellChunk buildPartial() {
-        com.google.bigtable.v2.ReadRowsResponse.CellChunk result =
-            new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.ReadRowsResponse.CellChunk result = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -1172,11 +1048,14 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse.CellChunk res
           result.rowKey_ = rowKey_;
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.familyName_ =
-              familyNameBuilder_ == null ? familyName_ : familyNameBuilder_.build();
+          result.familyName_ = familyNameBuilder_ == null
+              ? familyName_
+              : familyNameBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.qualifier_ = qualifierBuilder_ == null ? qualifier_ : qualifierBuilder_.build();
+          result.qualifier_ = qualifierBuilder_ == null
+              ? qualifier_
+              : qualifierBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000008) != 0)) {
           result.timestampMicros_ = timestampMicros_;
@@ -1202,41 +1081,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ReadRowsResponse.CellChun
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.ReadRowsResponse.CellChunk) {
-          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk) other);
+          return mergeFrom((com.google.bigtable.v2.ReadRowsResponse.CellChunk)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1244,8 +1120,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
       }
 
       public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other) {
-        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance())
-          return this;
+        if (other == com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()) return this;
         if (other.getRowKey() != com.google.protobuf.ByteString.EMPTY) {
           setRowKey(other.getRowKey());
         }
@@ -1275,20 +1150,17 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse.CellChunk other
           setValueSize(other.getValueSize());
         }
         switch (other.getRowStatusCase()) {
-          case RESET_ROW:
-            {
-              setResetRow(other.getResetRow());
-              break;
-            }
-          case COMMIT_ROW:
-            {
-              setCommitRow(other.getCommitRow());
-              break;
-            }
-          case ROWSTATUS_NOT_SET:
-            {
-              break;
-            }
+          case RESET_ROW: {
+            setResetRow(other.getResetRow());
+            break;
+          }
+          case COMMIT_ROW: {
+            setCommitRow(other.getCommitRow());
+            break;
+          }
+          case ROWSTATUS_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -1316,68 +1188,62 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  rowKey_ = input.readBytes();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getFamilyNameFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getQualifierFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              case 32:
-                {
-                  timestampMicros_ = input.readInt64();
-                  bitField0_ |= 0x00000008;
-                  break;
-                } // case 32
-              case 42:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  ensureLabelsIsMutable();
-                  labels_.add(s);
-                  break;
-                } // case 42
-              case 50:
-                {
-                  value_ = input.readBytes();
-                  bitField0_ |= 0x00000020;
-                  break;
-                } // case 50
-              case 56:
-                {
-                  valueSize_ = input.readInt32();
-                  bitField0_ |= 0x00000040;
-                  break;
-                } // case 56
-              case 64:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 8;
-                  break;
-                } // case 64
-              case 72:
-                {
-                  rowStatus_ = input.readBool();
-                  rowStatusCase_ = 9;
-                  break;
-                } // case 72
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                rowKey_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getFamilyNameFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getQualifierFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              case 32: {
+                timestampMicros_ = input.readInt64();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+              case 42: {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureLabelsIsMutable();
+                labels_.add(s);
+                break;
+              } // case 42
+              case 50: {
+                value_ = input.readBytes();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+              case 56: {
+                valueSize_ = input.readInt32();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 56
+              case 64: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 8;
+                break;
+              } // case 64
+              case 72: {
+                rowStatus_ = input.readBool();
+                rowStatusCase_ = 9;
+                break;
+              } // case 72
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1387,12 +1253,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int rowStatusCase_ = 0;
       private java.lang.Object rowStatus_;
-
-      public RowStatusCase getRowStatusCase() {
-        return RowStatusCase.forNumber(rowStatusCase_);
+      public RowStatusCase
+          getRowStatusCase() {
+        return RowStatusCase.forNumber(
+            rowStatusCase_);
       }
 
       public Builder clearRowStatus() {
@@ -1406,8 +1272,6 @@ public Builder clearRowStatus() {
 
       private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY;
       /**
-       *
-       *
        * 
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1416,7 +1280,6 @@ public Builder clearRowStatus() {
        * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -1424,8 +1287,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1434,22 +1295,17 @@ public com.google.protobuf.ByteString getRowKey() {
        * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The row key for this chunk of data.  If the row key is empty,
        * this CellChunk is a continuation of the same row as the previous
@@ -1458,7 +1314,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
        * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -1470,13 +1325,8 @@ public Builder clearRowKey() { private com.google.protobuf.StringValue familyName_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.StringValue, - com.google.protobuf.StringValue.Builder, - com.google.protobuf.StringValueOrBuilder> - familyNameBuilder_; + com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> familyNameBuilder_; /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1487,15 +1337,12 @@ public Builder clearRowKey() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return Whether the familyName field is set. */ public boolean hasFamilyName() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1506,21 +1353,16 @@ public boolean hasFamilyName() {
        * 
* * .google.protobuf.StringValue family_name = 2; - * * @return The familyName. */ public com.google.protobuf.StringValue getFamilyName() { if (familyNameBuilder_ == null) { - return familyName_ == null - ? com.google.protobuf.StringValue.getDefaultInstance() - : familyName_; + return familyName_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : familyName_; } else { return familyNameBuilder_.getMessage(); } } /** - * - * *
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1546,8 +1388,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1559,7 +1399,8 @@ public Builder setFamilyName(com.google.protobuf.StringValue value) {
        *
        * .google.protobuf.StringValue family_name = 2;
        */
-      public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForValue) {
+      public Builder setFamilyName(
+          com.google.protobuf.StringValue.Builder builderForValue) {
         if (familyNameBuilder_ == null) {
           familyName_ = builderForValue.build();
         } else {
@@ -1570,8 +1411,6 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1585,9 +1424,9 @@ public Builder setFamilyName(com.google.protobuf.StringValue.Builder builderForV
        */
       public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         if (familyNameBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && familyName_ != null
-              && familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            familyName_ != null &&
+            familyName_ != com.google.protobuf.StringValue.getDefaultInstance()) {
             getFamilyNameBuilder().mergeFrom(value);
           } else {
             familyName_ = value;
@@ -1600,8 +1439,6 @@ public Builder mergeFamilyName(com.google.protobuf.StringValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1624,8 +1461,6 @@ public Builder clearFamilyName() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1643,8 +1478,6 @@ public com.google.protobuf.StringValue.Builder getFamilyNameBuilder() {
         return getFamilyNameFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1660,14 +1493,11 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
         if (familyNameBuilder_ != null) {
           return familyNameBuilder_.getMessageOrBuilder();
         } else {
-          return familyName_ == null
-              ? com.google.protobuf.StringValue.getDefaultInstance()
-              : familyName_;
+          return familyName_ == null ?
+              com.google.protobuf.StringValue.getDefaultInstance() : familyName_;
         }
       }
       /**
-       *
-       *
        * 
        * The column family name for this chunk of data.  If this message
        * is not present this CellChunk is a continuation of the same column
@@ -1680,17 +1510,14 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * .google.protobuf.StringValue family_name = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.StringValue,
-              com.google.protobuf.StringValue.Builder,
-              com.google.protobuf.StringValueOrBuilder>
+          com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> 
           getFamilyNameFieldBuilder() {
         if (familyNameBuilder_ == null) {
-          familyNameBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.StringValue,
-                  com.google.protobuf.StringValue.Builder,
-                  com.google.protobuf.StringValueOrBuilder>(
-                  getFamilyName(), getParentForChildren(), isClean());
+          familyNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>(
+                  getFamilyName(),
+                  getParentForChildren(),
+                  isClean());
           familyName_ = null;
         }
         return familyNameBuilder_;
@@ -1698,13 +1525,8 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
 
       private com.google.protobuf.BytesValue qualifier_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
-          qualifierBuilder_;
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> qualifierBuilder_;
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1714,15 +1536,12 @@ public com.google.protobuf.StringValueOrBuilder getFamilyNameOrBuilder() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return Whether the qualifier field is set. */ public boolean hasQualifier() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1732,21 +1551,16 @@ public boolean hasQualifier() {
        * 
* * .google.protobuf.BytesValue qualifier = 3; - * * @return The qualifier. */ public com.google.protobuf.BytesValue getQualifier() { if (qualifierBuilder_ == null) { - return qualifier_ == null - ? com.google.protobuf.BytesValue.getDefaultInstance() - : qualifier_; + return qualifier_ == null ? com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_; } else { return qualifierBuilder_.getMessage(); } } /** - * - * *
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1771,8 +1585,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1783,7 +1595,8 @@ public Builder setQualifier(com.google.protobuf.BytesValue value) {
        *
        * .google.protobuf.BytesValue qualifier = 3;
        */
-      public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForValue) {
+      public Builder setQualifier(
+          com.google.protobuf.BytesValue.Builder builderForValue) {
         if (qualifierBuilder_ == null) {
           qualifier_ = builderForValue.build();
         } else {
@@ -1794,8 +1607,6 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1808,9 +1619,9 @@ public Builder setQualifier(com.google.protobuf.BytesValue.Builder builderForVal
        */
       public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         if (qualifierBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && qualifier_ != null
-              && qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            qualifier_ != null &&
+            qualifier_ != com.google.protobuf.BytesValue.getDefaultInstance()) {
             getQualifierBuilder().mergeFrom(value);
           } else {
             qualifier_ = value;
@@ -1823,8 +1634,6 @@ public Builder mergeQualifier(com.google.protobuf.BytesValue value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1846,8 +1655,6 @@ public Builder clearQualifier() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1864,8 +1671,6 @@ public com.google.protobuf.BytesValue.Builder getQualifierBuilder() {
         return getQualifierFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1880,14 +1685,11 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
         if (qualifierBuilder_ != null) {
           return qualifierBuilder_.getMessageOrBuilder();
         } else {
-          return qualifier_ == null
-              ? com.google.protobuf.BytesValue.getDefaultInstance()
-              : qualifier_;
+          return qualifier_ == null ?
+              com.google.protobuf.BytesValue.getDefaultInstance() : qualifier_;
         }
       }
       /**
-       *
-       *
        * 
        * The column qualifier for this chunk of data.  If this message
        * is not present, this CellChunk is a continuation of the same column
@@ -1899,26 +1701,21 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * .google.protobuf.BytesValue qualifier = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.protobuf.BytesValue,
-              com.google.protobuf.BytesValue.Builder,
-              com.google.protobuf.BytesValueOrBuilder>
+          com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder> 
           getQualifierFieldBuilder() {
         if (qualifierBuilder_ == null) {
-          qualifierBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.protobuf.BytesValue,
-                  com.google.protobuf.BytesValue.Builder,
-                  com.google.protobuf.BytesValueOrBuilder>(
-                  getQualifier(), getParentForChildren(), isClean());
+          qualifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.protobuf.BytesValue, com.google.protobuf.BytesValue.Builder, com.google.protobuf.BytesValueOrBuilder>(
+                  getQualifier(),
+                  getParentForChildren(),
+                  isClean());
           qualifier_ = null;
         }
         return qualifierBuilder_;
       }
 
-      private long timestampMicros_;
+      private long timestampMicros_ ;
       /**
-       *
-       *
        * 
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1931,7 +1728,6 @@ public com.google.protobuf.BytesValueOrBuilder getQualifierOrBuilder() {
        * 
* * int64 timestamp_micros = 4; - * * @return The timestampMicros. */ @java.lang.Override @@ -1939,8 +1735,6 @@ public long getTimestampMicros() { return timestampMicros_; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1953,7 +1747,6 @@ public long getTimestampMicros() {
        * 
* * int64 timestamp_micros = 4; - * * @param value The timestampMicros to set. * @return This builder for chaining. */ @@ -1965,8 +1758,6 @@ public Builder setTimestampMicros(long value) { return this; } /** - * - * *
        * The cell's stored timestamp, which also uniquely identifies it
        * within its column.  Values are always expressed in
@@ -1979,7 +1770,6 @@ public Builder setTimestampMicros(long value) {
        * 
* * int64 timestamp_micros = 4; - * * @return This builder for chaining. */ public Builder clearTimestampMicros() { @@ -1991,7 +1781,6 @@ public Builder clearTimestampMicros() { private com.google.protobuf.LazyStringArrayList labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureLabelsIsMutable() { if (!labels_.isModifiable()) { labels_ = new com.google.protobuf.LazyStringArrayList(labels_); @@ -1999,8 +1788,6 @@ private void ensureLabelsIsMutable() { bitField0_ |= 0x00000010; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2008,16 +1795,14 @@ private void ensureLabelsIsMutable() {
        * 
* * repeated string labels = 5; - * * @return A list containing the labels. */ - public com.google.protobuf.ProtocolStringList getLabelsList() { + public com.google.protobuf.ProtocolStringList + getLabelsList() { labels_.makeImmutable(); return labels_; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2025,15 +1810,12 @@ public com.google.protobuf.ProtocolStringList getLabelsList() {
        * 
* * repeated string labels = 5; - * * @return The count of labels. */ public int getLabelsCount() { return labels_.size(); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2041,7 +1823,6 @@ public int getLabelsCount() {
        * 
* * repeated string labels = 5; - * * @param index The index of the element to return. * @return The labels at the given index. */ @@ -2049,8 +1830,6 @@ public java.lang.String getLabels(int index) { return labels_.get(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2058,16 +1837,14 @@ public java.lang.String getLabels(int index) {
        * 
* * repeated string labels = 5; - * * @param index The index of the value to return. * @return The bytes of the labels at the given index. */ - public com.google.protobuf.ByteString getLabelsBytes(int index) { + public com.google.protobuf.ByteString + getLabelsBytes(int index) { return labels_.getByteString(index); } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2075,15 +1852,13 @@ public com.google.protobuf.ByteString getLabelsBytes(int index) {
        * 
* * repeated string labels = 5; - * * @param index The index to set the value at. * @param value The labels to set. * @return This builder for chaining. */ - public Builder setLabels(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setLabels( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.set(index, value); bitField0_ |= 0x00000010; @@ -2091,8 +1866,6 @@ public Builder setLabels(int index, java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2100,14 +1873,12 @@ public Builder setLabels(int index, java.lang.String value) {
        * 
* * repeated string labels = 5; - * * @param value The labels to add. * @return This builder for chaining. */ - public Builder addLabels(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabels( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureLabelsIsMutable(); labels_.add(value); bitField0_ |= 0x00000010; @@ -2115,8 +1886,6 @@ public Builder addLabels(java.lang.String value) { return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2124,20 +1893,19 @@ public Builder addLabels(java.lang.String value) {
        * 
* * repeated string labels = 5; - * * @param values The labels to add. * @return This builder for chaining. */ - public Builder addAllLabels(java.lang.Iterable values) { + public Builder addAllLabels( + java.lang.Iterable values) { ensureLabelsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, labels_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, labels_); bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2145,19 +1913,16 @@ public Builder addAllLabels(java.lang.Iterable values) {
        * 
* * repeated string labels = 5; - * * @return This builder for chaining. */ public Builder clearLabels() { - labels_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000010); - ; + labels_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010);; onChanged(); return this; } /** - * - * *
        * Labels applied to the cell by a
        * [RowFilter][google.bigtable.v2.RowFilter].  Labels are only set
@@ -2165,14 +1930,12 @@ public Builder clearLabels() {
        * 
* * repeated string labels = 5; - * * @param value The bytes of the labels to add. * @return This builder for chaining. */ - public Builder addLabelsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addLabelsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLabelsIsMutable(); labels_.add(value); @@ -2183,8 +1946,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2194,7 +1955,6 @@ public Builder addLabelsBytes(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return The value. */ @java.lang.Override @@ -2202,8 +1962,6 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2213,22 +1971,17 @@ public com.google.protobuf.ByteString getValue() {
        * 
* * bytes value = 6; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } value_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
        * The value stored in the cell.  Cell values can be split across
        * multiple CellChunks.  In that case only the value field will be
@@ -2238,7 +1991,6 @@ public Builder setValue(com.google.protobuf.ByteString value) {
        * 
* * bytes value = 6; - * * @return This builder for chaining. */ public Builder clearValue() { @@ -2248,10 +2000,8 @@ public Builder clearValue() { return this; } - private int valueSize_; + private int valueSize_ ; /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2260,7 +2010,6 @@ public Builder clearValue() {
        * 
* * int32 value_size = 7; - * * @return The valueSize. */ @java.lang.Override @@ -2268,8 +2017,6 @@ public int getValueSize() { return valueSize_; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2278,7 +2025,6 @@ public int getValueSize() {
        * 
* * int32 value_size = 7; - * * @param value The valueSize to set. * @return This builder for chaining. */ @@ -2290,8 +2036,6 @@ public Builder setValueSize(int value) { return this; } /** - * - * *
        * If this CellChunk is part of a chunked cell value and this is
        * not the final chunk of that cell, value_size will be set to the
@@ -2300,7 +2044,6 @@ public Builder setValueSize(int value) {
        * 
* * int32 value_size = 7; - * * @return This builder for chaining. */ public Builder clearValueSize() { @@ -2311,30 +2054,24 @@ public Builder clearValueSize() { } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return Whether the resetRow field is set. */ public boolean hasResetRow() { return rowStatusCase_ == 8; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return The resetRow. */ public boolean getResetRow() { @@ -2344,15 +2081,12 @@ public boolean getResetRow() { return false; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @param value The resetRow to set. * @return This builder for chaining. */ @@ -2364,15 +2098,12 @@ public Builder setResetRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client should drop all previous chunks for
        * `row_key`, as it will be re-read from the beginning.
        * 
* * bool reset_row = 8; - * * @return This builder for chaining. */ public Builder clearResetRow() { @@ -2385,30 +2116,24 @@ public Builder clearResetRow() { } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return Whether the commitRow field is set. */ public boolean hasCommitRow() { return rowStatusCase_ == 9; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return The commitRow. */ public boolean getCommitRow() { @@ -2418,15 +2143,12 @@ public boolean getCommitRow() { return false; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @param value The commitRow to set. * @return This builder for chaining. */ @@ -2438,15 +2160,12 @@ public Builder setCommitRow(boolean value) { return this; } /** - * - * *
        * Indicates that the client can safely process all previous chunks for
        * `row_key`, as its data has been fully read.
        * 
* * bool commit_row = 9; - * * @return This builder for chaining. */ public Builder clearCommitRow() { @@ -2457,7 +2176,6 @@ public Builder clearCommitRow() { } return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2470,12 +2188,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse.CellChunk) private static final com.google.bigtable.v2.ReadRowsResponse.CellChunk DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse.CellChunk(); } @@ -2484,28 +2202,27 @@ public static com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CellChunk parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CellChunk parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2520,15 +2237,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ReadRowsResponse.CellChunk getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int CHUNKS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List chunks_; /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2540,8 +2255,6 @@ public java.util.List getChun return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2549,13 +2262,11 @@ public java.util.List getChun * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public java.util.List + public java.util.List getChunksOrBuilderList() { return chunks_; } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2567,8 +2278,6 @@ public int getChunksCount() { return chunks_.size(); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2580,8 +2289,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { return chunks_.get(index); } /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -2589,15 +2296,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ @java.lang.Override - public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index) { return chunks_.get(index); } public static final int LAST_SCANNED_ROW_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -2609,7 +2315,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -2620,8 +2325,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { public static final int REQUEST_STATS_FIELD_NUMBER = 3; private com.google.bigtable.v2.RequestStats requestStats_; /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2646,7 +2349,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ @java.lang.Override @@ -2654,8 +2356,6 @@ public boolean hasRequestStats() { return requestStats_ != null; } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2680,18 +2380,13 @@ public boolean hasRequestStats() {
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ @java.lang.Override public com.google.bigtable.v2.RequestStats getRequestStats() { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -2719,13 +2414,10 @@ public com.google.bigtable.v2.RequestStats getRequestStats() {
    */
   @java.lang.Override
   public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
-    return requestStats_ == null
-        ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-        : requestStats_;
+    return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -2737,7 +2429,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < chunks_.size(); i++) {
       output.writeMessage(1, chunks_.get(i));
     }
@@ -2757,13 +2450,16 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < chunks_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, chunks_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, chunks_.get(i));
     }
     if (!lastScannedRowKey_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, lastScannedRowKey_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(2, lastScannedRowKey_);
     }
     if (requestStats_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequestStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getRequestStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -2773,18 +2469,21 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.ReadRowsResponse)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.ReadRowsResponse other = (com.google.bigtable.v2.ReadRowsResponse) obj;
 
-    if (!getChunksList().equals(other.getChunksList())) return false;
-    if (!getLastScannedRowKey().equals(other.getLastScannedRowKey())) return false;
+    if (!getChunksList()
+        .equals(other.getChunksList())) return false;
+    if (!getLastScannedRowKey()
+        .equals(other.getLastScannedRowKey())) return false;
     if (hasRequestStats() != other.hasRequestStats()) return false;
     if (hasRequestStats()) {
-      if (!getRequestStats().equals(other.getRequestStats())) return false;
+      if (!getRequestStats()
+          .equals(other.getRequestStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -2812,136 +2511,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse 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.v2.ReadRowsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.ReadRowsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.ReadRowsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.ReadRowsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Response message for Bigtable.ReadRows.
    * 
* * Protobuf type {@code google.bigtable.v2.ReadRowsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ReadRowsResponse) com.google.bigtable.v2.ReadRowsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ReadRowsResponse.class, - com.google.bigtable.v2.ReadRowsResponse.Builder.class); + com.google.bigtable.v2.ReadRowsResponse.class, com.google.bigtable.v2.ReadRowsResponse.Builder.class); } // Construct using com.google.bigtable.v2.ReadRowsResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2963,9 +2658,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; } @java.lang.Override @@ -2984,12 +2679,9 @@ public com.google.bigtable.v2.ReadRowsResponse build() { @java.lang.Override public com.google.bigtable.v2.ReadRowsResponse buildPartial() { - com.google.bigtable.v2.ReadRowsResponse result = - new com.google.bigtable.v2.ReadRowsResponse(this); + com.google.bigtable.v2.ReadRowsResponse result = new com.google.bigtable.v2.ReadRowsResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -3012,8 +2704,9 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { result.lastScannedRowKey_ = lastScannedRowKey_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.requestStats_ = - requestStatsBuilder_ == null ? requestStats_ : requestStatsBuilder_.build(); + result.requestStats_ = requestStatsBuilder_ == null + ? requestStats_ + : requestStatsBuilder_.build(); } } @@ -3021,39 +2714,38 @@ private void buildPartial0(com.google.bigtable.v2.ReadRowsResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ReadRowsResponse) { - return mergeFrom((com.google.bigtable.v2.ReadRowsResponse) other); + return mergeFrom((com.google.bigtable.v2.ReadRowsResponse)other); } else { super.mergeFrom(other); return this; @@ -3080,10 +2772,9 @@ public Builder mergeFrom(com.google.bigtable.v2.ReadRowsResponse other) { chunksBuilder_ = null; chunks_ = other.chunks_; bitField0_ = (bitField0_ & ~0x00000001); - chunksBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getChunksFieldBuilder() - : null; + chunksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getChunksFieldBuilder() : null; } else { chunksBuilder_.addAllMessages(other.chunks_); } @@ -3121,39 +2812,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.ReadRowsResponse.CellChunk m = - input.readMessage( - com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), - extensionRegistry); - if (chunksBuilder_ == null) { - ensureChunksIsMutable(); - chunks_.add(m); - } else { - chunksBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - lastScannedRowKey_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getRequestStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.ReadRowsResponse.CellChunk m = + input.readMessage( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.parser(), + extensionRegistry); + if (chunksBuilder_ == null) { + ensureChunksIsMutable(); + chunks_.add(m); + } else { + chunksBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + lastScannedRowKey_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getRequestStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3163,29 +2852,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List chunks_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureChunksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - chunks_ = - new java.util.ArrayList(chunks_); + chunks_ = new java.util.ArrayList(chunks_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> - chunksBuilder_; + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> chunksBuilder_; /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3200,8 +2881,6 @@ public java.util.List getChun } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3216,8 +2895,6 @@ public int getChunksCount() { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3232,15 +2909,14 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index) { } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { + public Builder setChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3254,8 +2930,6 @@ public Builder setChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3274,8 +2948,6 @@ public Builder setChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3296,15 +2968,14 @@ public Builder addChunks(com.google.bigtable.v2.ReadRowsResponse.CellChunk value return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { + public Builder addChunks( + int index, com.google.bigtable.v2.ReadRowsResponse.CellChunk value) { if (chunksBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3318,8 +2989,6 @@ public Builder addChunks(int index, com.google.bigtable.v2.ReadRowsResponse.Cell return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3338,8 +3007,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3358,8 +3025,6 @@ public Builder addChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3370,7 +3035,8 @@ public Builder addAllChunks( java.lang.Iterable values) { if (chunksBuilder_ == null) { ensureChunksIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, chunks_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, chunks_); onChanged(); } else { chunksBuilder_.addAllMessages(values); @@ -3378,8 +3044,6 @@ public Builder addAllChunks( return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3397,8 +3061,6 @@ public Builder clearChunks() { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3416,20 +3078,17 @@ public Builder removeChunks(int index) { return this; } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder(int index) { + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilder( + int index) { return getChunksFieldBuilder().getBuilder(index); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3439,22 +3098,19 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder getChunksBuilde public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( int index) { if (chunksBuilder_ == null) { - return chunks_.get(index); - } else { + return chunks_.get(index); } else { return chunksBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public java.util.List - getChunksOrBuilderList() { + public java.util.List + getChunksOrBuilderList() { if (chunksBuilder_ != null) { return chunksBuilder_.getMessageOrBuilderList(); } else { @@ -3462,8 +3118,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui } } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
@@ -3471,59 +3125,49 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBui * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder() { - return getChunksFieldBuilder() - .addBuilder(com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); + return getChunksFieldBuilder().addBuilder( + com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder(int index) { - return getChunksFieldBuilder() - .addBuilder( - index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); + public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilder( + int index) { + return getChunksFieldBuilder().addBuilder( + index, com.google.bigtable.v2.ReadRowsResponse.CellChunk.getDefaultInstance()); } /** - * - * *
      * A collection of a row's contents as part of the read request.
      * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - public java.util.List - getChunksBuilderList() { + public java.util.List + getChunksBuilderList() { return getChunksFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder> getChunksFieldBuilder() { if (chunksBuilder_ == null) { - chunksBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.ReadRowsResponse.CellChunk, - com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( - chunks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + chunksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.ReadRowsResponse.CellChunk, com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder, com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>( + chunks_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); chunks_ = null; } return chunksBuilder_; } - private com.google.protobuf.ByteString lastScannedRowKey_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString lastScannedRowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3535,7 +3179,6 @@ public com.google.bigtable.v2.ReadRowsResponse.CellChunk.Builder addChunksBuilde
      * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ @java.lang.Override @@ -3543,8 +3186,6 @@ public com.google.protobuf.ByteString getLastScannedRowKey() { return lastScannedRowKey_; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3556,22 +3197,17 @@ public com.google.protobuf.ByteString getLastScannedRowKey() {
      * 
* * bytes last_scanned_row_key = 2; - * * @param value The lastScannedRowKey to set. * @return This builder for chaining. */ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } lastScannedRowKey_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Optionally the server might return the row key of the last row it
      * has scanned.  The client can use this to construct a more
@@ -3583,7 +3219,6 @@ public Builder setLastScannedRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes last_scanned_row_key = 2; - * * @return This builder for chaining. */ public Builder clearLastScannedRowKey() { @@ -3595,13 +3230,8 @@ public Builder clearLastScannedRowKey() { private com.google.bigtable.v2.RequestStats requestStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.RequestStats, - com.google.bigtable.v2.RequestStats.Builder, - com.google.bigtable.v2.RequestStatsOrBuilder> - requestStatsBuilder_; + com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> requestStatsBuilder_; /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3626,15 +3256,12 @@ public Builder clearLastScannedRowKey() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ public boolean hasRequestStats() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3659,21 +3286,16 @@ public boolean hasRequestStats() {
      * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ public com.google.bigtable.v2.RequestStats getRequestStats() { if (requestStatsBuilder_ == null) { - return requestStats_ == null - ? com.google.bigtable.v2.RequestStats.getDefaultInstance() - : requestStats_; + return requestStats_ == null ? com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_; } else { return requestStatsBuilder_.getMessage(); } } /** - * - * *
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3713,8 +3335,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3740,7 +3360,8 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats value) {
      *
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
-    public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder builderForValue) {
+    public Builder setRequestStats(
+        com.google.bigtable.v2.RequestStats.Builder builderForValue) {
       if (requestStatsBuilder_ == null) {
         requestStats_ = builderForValue.build();
       } else {
@@ -3751,8 +3372,6 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3780,9 +3399,9 @@ public Builder setRequestStats(com.google.bigtable.v2.RequestStats.Builder build
      */
     public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       if (requestStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && requestStats_ != null
-            && requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          requestStats_ != null &&
+          requestStats_ != com.google.bigtable.v2.RequestStats.getDefaultInstance()) {
           getRequestStatsBuilder().mergeFrom(value);
         } else {
           requestStats_ = value;
@@ -3795,8 +3414,6 @@ public Builder mergeRequestStats(com.google.bigtable.v2.RequestStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3833,8 +3450,6 @@ public Builder clearRequestStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3866,8 +3481,6 @@ public com.google.bigtable.v2.RequestStats.Builder getRequestStatsBuilder() {
       return getRequestStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3897,14 +3510,11 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
       if (requestStatsBuilder_ != null) {
         return requestStatsBuilder_.getMessageOrBuilder();
       } else {
-        return requestStats_ == null
-            ? com.google.bigtable.v2.RequestStats.getDefaultInstance()
-            : requestStats_;
+        return requestStats_ == null ?
+            com.google.bigtable.v2.RequestStats.getDefaultInstance() : requestStats_;
       }
     }
     /**
-     *
-     *
      * 
      *
      * If requested, provide enhanced query performance statistics. The semantics
@@ -3931,24 +3541,21 @@ public com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder() {
      * .google.bigtable.v2.RequestStats request_stats = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RequestStats,
-            com.google.bigtable.v2.RequestStats.Builder,
-            com.google.bigtable.v2.RequestStatsOrBuilder>
+        com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder> 
         getRequestStatsFieldBuilder() {
       if (requestStatsBuilder_ == null) {
-        requestStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RequestStats,
-                com.google.bigtable.v2.RequestStats.Builder,
-                com.google.bigtable.v2.RequestStatsOrBuilder>(
-                getRequestStats(), getParentForChildren(), isClean());
+        requestStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RequestStats, com.google.bigtable.v2.RequestStats.Builder, com.google.bigtable.v2.RequestStatsOrBuilder>(
+                getRequestStats(),
+                getParentForChildren(),
+                isClean());
         requestStats_ = null;
       }
       return requestStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -3958,12 +3565,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ReadRowsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.ReadRowsResponse)
   private static final com.google.bigtable.v2.ReadRowsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.ReadRowsResponse();
   }
@@ -3972,27 +3579,27 @@ public static com.google.bigtable.v2.ReadRowsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadRowsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadRowsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -4007,4 +3614,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.ReadRowsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
similarity index 87%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
index 08affa1897..fb74efac4a 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsResponseOrBuilder.java
@@ -1,41 +1,22 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/bigtable.proto
 
 package com.google.bigtable.v2;
 
-public interface ReadRowsResponseOrBuilder
-    extends
+public interface ReadRowsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - java.util.List getChunksList(); + java.util.List + getChunksList(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -44,8 +25,6 @@ public interface ReadRowsResponseOrBuilder */ com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
@@ -54,30 +33,25 @@ public interface ReadRowsResponseOrBuilder */ int getChunksCount(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - java.util.List + java.util.List getChunksOrBuilderList(); /** - * - * *
    * A collection of a row's contents as part of the read request.
    * 
* * repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1; */ - com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index); + com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder( + int index); /** - * - * *
    * Optionally the server might return the row key of the last row it
    * has scanned.  The client can use this to construct a more
@@ -89,14 +63,11 @@ public interface ReadRowsResponseOrBuilder
    * 
* * bytes last_scanned_row_key = 2; - * * @return The lastScannedRowKey. */ com.google.protobuf.ByteString getLastScannedRowKey(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -121,13 +92,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return Whether the requestStats field is set. */ boolean hasRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
@@ -152,13 +120,10 @@ public interface ReadRowsResponseOrBuilder
    * 
* * .google.bigtable.v2.RequestStats request_stats = 3; - * * @return The requestStats. */ com.google.bigtable.v2.RequestStats getRequestStats(); /** - * - * *
    *
    * If requested, provide enhanced query performance statistics. The semantics
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
similarity index 77%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
index 7e454117c4..a8ecae3e83 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStats.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestLatencyStats provides a measurement of the latency of the request as
  * it interacts with different systems over its lifetime, e.g. how long the
@@ -29,44 +12,41 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
  */
-public final class RequestLatencyStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestLatencyStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestLatencyStats)
     RequestLatencyStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestLatencyStats.newBuilder() to construct.
   private RequestLatencyStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestLatencyStats() {}
+  private RequestLatencyStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestLatencyStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestLatencyStats.class,
-            com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+            com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
   }
 
   public static final int FRONTEND_SERVER_LATENCY_FIELD_NUMBER = 1;
   private com.google.protobuf.Duration frontendServerLatency_;
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -88,7 +68,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ @java.lang.Override @@ -96,8 +75,6 @@ public boolean hasFrontendServerLatency() { return frontendServerLatency_ != null; } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -119,18 +96,13 @@ public boolean hasFrontendServerLatency() {
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ @java.lang.Override public com.google.protobuf.Duration getFrontendServerLatency() { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -155,13 +127,10 @@ public com.google.protobuf.Duration getFrontendServerLatency() {
    */
   @java.lang.Override
   public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder() {
-    return frontendServerLatency_ == null
-        ? com.google.protobuf.Duration.getDefaultInstance()
-        : frontendServerLatency_;
+    return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -173,7 +142,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (frontendServerLatency_ != null) {
       output.writeMessage(1, getFrontendServerLatency());
     }
@@ -187,8 +157,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (frontendServerLatency_ != null) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, getFrontendServerLatency());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getFrontendServerLatency());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -198,17 +168,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestLatencyStats)) {
       return super.equals(obj);
     }
-    com.google.bigtable.v2.RequestLatencyStats other =
-        (com.google.bigtable.v2.RequestLatencyStats) obj;
+    com.google.bigtable.v2.RequestLatencyStats other = (com.google.bigtable.v2.RequestLatencyStats) obj;
 
     if (hasFrontendServerLatency() != other.hasFrontendServerLatency()) return false;
     if (hasFrontendServerLatency()) {
-      if (!getFrontendServerLatency().equals(other.getFrontendServerLatency())) return false;
+      if (!getFrontendServerLatency()
+          .equals(other.getFrontendServerLatency())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -230,104 +200,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats 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.v2.RequestLatencyStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestLatencyStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestLatencyStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestLatencyStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestLatencyStats provides a measurement of the latency of the request as
    * it interacts with different systems over its lifetime, e.g. how long the
@@ -336,32 +301,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestLatencyStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestLatencyStats)
       com.google.bigtable.v2.RequestLatencyStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestLatencyStats.class,
-              com.google.bigtable.v2.RequestLatencyStats.Builder.class);
+              com.google.bigtable.v2.RequestLatencyStats.class, com.google.bigtable.v2.RequestLatencyStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestLatencyStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -375,9 +341,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
     }
 
     @java.lang.Override
@@ -396,11 +362,8 @@ public com.google.bigtable.v2.RequestLatencyStats build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
-      com.google.bigtable.v2.RequestLatencyStats result =
-          new com.google.bigtable.v2.RequestLatencyStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.RequestLatencyStats result = new com.google.bigtable.v2.RequestLatencyStats(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -408,10 +371,9 @@ public com.google.bigtable.v2.RequestLatencyStats buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.frontendServerLatency_ =
-            frontendServerLatencyBuilder_ == null
-                ? frontendServerLatency_
-                : frontendServerLatencyBuilder_.build();
+        result.frontendServerLatency_ = frontendServerLatencyBuilder_ == null
+            ? frontendServerLatency_
+            : frontendServerLatencyBuilder_.build();
       }
     }
 
@@ -419,39 +381,38 @@ private void buildPartial0(com.google.bigtable.v2.RequestLatencyStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestLatencyStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestLatencyStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,20 +450,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFrontendServerLatencyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFrontendServerLatencyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -512,18 +472,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.Duration frontendServerLatency_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
-        frontendServerLatencyBuilder_;
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> frontendServerLatencyBuilder_;
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -545,15 +499,12 @@ public Builder mergeFrom(
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ public boolean hasFrontendServerLatency() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -575,21 +526,16 @@ public boolean hasFrontendServerLatency() {
      * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ public com.google.protobuf.Duration getFrontendServerLatency() { if (frontendServerLatencyBuilder_ == null) { - return frontendServerLatency_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : frontendServerLatency_; + return frontendServerLatency_ == null ? com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_; } else { return frontendServerLatencyBuilder_.getMessage(); } } /** - * - * *
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -626,8 +572,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -650,7 +594,8 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration value) {
      *
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
-    public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder builderForValue) {
+    public Builder setFrontendServerLatency(
+        com.google.protobuf.Duration.Builder builderForValue) {
       if (frontendServerLatencyBuilder_ == null) {
         frontendServerLatency_ = builderForValue.build();
       } else {
@@ -661,8 +606,6 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -687,9 +630,9 @@ public Builder setFrontendServerLatency(com.google.protobuf.Duration.Builder bui
      */
     public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       if (frontendServerLatencyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && frontendServerLatency_ != null
-            && frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          frontendServerLatency_ != null &&
+          frontendServerLatency_ != com.google.protobuf.Duration.getDefaultInstance()) {
           getFrontendServerLatencyBuilder().mergeFrom(value);
         } else {
           frontendServerLatency_ = value;
@@ -702,8 +645,6 @@ public Builder mergeFrontendServerLatency(com.google.protobuf.Duration value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -737,8 +678,6 @@ public Builder clearFrontendServerLatency() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -767,8 +706,6 @@ public com.google.protobuf.Duration.Builder getFrontendServerLatencyBuilder() {
       return getFrontendServerLatencyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -795,14 +732,11 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
       if (frontendServerLatencyBuilder_ != null) {
         return frontendServerLatencyBuilder_.getMessageOrBuilder();
       } else {
-        return frontendServerLatency_ == null
-            ? com.google.protobuf.Duration.getDefaultInstance()
-            : frontendServerLatency_;
+        return frontendServerLatency_ == null ?
+            com.google.protobuf.Duration.getDefaultInstance() : frontendServerLatency_;
       }
     }
     /**
-     *
-     *
      * 
      * The latency measured by the frontend server handling this request, from
      * when the request was received, to when this value is sent back in the
@@ -826,24 +760,21 @@ public com.google.protobuf.DurationOrBuilder getFrontendServerLatencyOrBuilder()
      * .google.protobuf.Duration frontend_server_latency = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Duration,
-            com.google.protobuf.Duration.Builder,
-            com.google.protobuf.DurationOrBuilder>
+        com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> 
         getFrontendServerLatencyFieldBuilder() {
       if (frontendServerLatencyBuilder_ == null) {
-        frontendServerLatencyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Duration,
-                com.google.protobuf.Duration.Builder,
-                com.google.protobuf.DurationOrBuilder>(
-                getFrontendServerLatency(), getParentForChildren(), isClean());
+        frontendServerLatencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
+                getFrontendServerLatency(),
+                getParentForChildren(),
+                isClean());
         frontendServerLatency_ = null;
       }
       return frontendServerLatencyBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -853,12 +784,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestLatencyStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestLatencyStats)
   private static final com.google.bigtable.v2.RequestLatencyStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestLatencyStats();
   }
@@ -867,27 +798,27 @@ public static com.google.bigtable.v2.RequestLatencyStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestLatencyStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestLatencyStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -902,4 +833,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestLatencyStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
similarity index 85%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
index cb9fb183a1..840a44c408 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestLatencyStatsOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface RequestLatencyStatsOrBuilder
-    extends
+public interface RequestLatencyStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestLatencyStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -47,13 +29,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return Whether the frontendServerLatency field is set. */ boolean hasFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
@@ -75,13 +54,10 @@ public interface RequestLatencyStatsOrBuilder
    * 
* * .google.protobuf.Duration frontend_server_latency = 1; - * * @return The frontendServerLatency. */ com.google.protobuf.Duration getFrontendServerLatency(); /** - * - * *
    * The latency measured by the frontend server handling this request, from
    * when the request was received, to when this value is sent back in the
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
similarity index 69%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
index fe37d4ab68..8faacef493 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStats.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * RequestStats is the container for additional information pertaining to a
  * single request, helpful for evaluating the performance of the sent request.
@@ -30,52 +13,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.RequestStats}
  */
-public final class RequestStats extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RequestStats extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RequestStats)
     RequestStatsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RequestStats.newBuilder() to construct.
   private RequestStats(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RequestStats() {}
+  private RequestStats() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RequestStats();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.RequestStatsProto
-        .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+    return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.RequestStats.class,
-            com.google.bigtable.v2.RequestStats.Builder.class);
+            com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
   }
 
   private int statsViewCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object statsView_;
-
   public enum StatsViewCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     FULL_READ_STATS_VIEW(1),
     STATSVIEW_NOT_SET(0);
     private final int value;
-
     private StatsViewCase(int value) {
       this.value = value;
     }
@@ -91,35 +69,30 @@ public static StatsViewCase valueOf(int value) {
 
     public static StatsViewCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return FULL_READ_STATS_VIEW;
-        case 0:
-          return STATSVIEW_NOT_SET;
-        default:
-          return null;
+        case 1: return FULL_READ_STATS_VIEW;
+        case 0: return STATSVIEW_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public StatsViewCase getStatsViewCase() {
-    return StatsViewCase.forNumber(statsViewCase_);
+  public StatsViewCase
+  getStatsViewCase() {
+    return StatsViewCase.forNumber(
+        statsViewCase_);
   }
 
   public static final int FULL_READ_STATS_VIEW_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -127,27 +100,22 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { if (statsViewCase_ == 1) { - return (com.google.bigtable.v2.FullReadStatsView) statsView_; + return (com.google.bigtable.v2.FullReadStatsView) statsView_; } return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance(); } /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
@@ -158,13 +126,12 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() {
   @java.lang.Override
   public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrBuilder() {
     if (statsViewCase_ == 1) {
-      return (com.google.bigtable.v2.FullReadStatsView) statsView_;
+       return (com.google.bigtable.v2.FullReadStatsView) statsView_;
     }
     return com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -176,7 +143,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (statsViewCase_ == 1) {
       output.writeMessage(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
@@ -190,9 +158,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (statsViewCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, (com.google.bigtable.v2.FullReadStatsView) statsView_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -202,7 +169,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.RequestStats)) {
       return super.equals(obj);
@@ -212,7 +179,8 @@ public boolean equals(final java.lang.Object obj) {
     if (!getStatsViewCase().equals(other.getStatsViewCase())) return false;
     switch (statsViewCase_) {
       case 1:
-        if (!getFullReadStatsView().equals(other.getFullReadStatsView())) return false;
+        if (!getFullReadStatsView()
+            .equals(other.getFullReadStatsView())) return false;
         break;
       case 0:
       default:
@@ -241,103 +209,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.RequestStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.RequestStats parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.RequestStats parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats 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.v2.RequestStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.RequestStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.RequestStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.RequestStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * RequestStats is the container for additional information pertaining to a
    * single request, helpful for evaluating the performance of the sent request.
@@ -347,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RequestStats}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RequestStats)
       com.google.bigtable.v2.RequestStatsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RequestStats.class,
-              com.google.bigtable.v2.RequestStats.Builder.class);
+              com.google.bigtable.v2.RequestStats.class, com.google.bigtable.v2.RequestStats.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RequestStats.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -386,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.RequestStatsProto
-          .internal_static_google_bigtable_v2_RequestStats_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.RequestStatsProto.internal_static_google_bigtable_v2_RequestStats_descriptor;
     }
 
     @java.lang.Override
@@ -408,9 +373,7 @@ public com.google.bigtable.v2.RequestStats build() {
     @java.lang.Override
     public com.google.bigtable.v2.RequestStats buildPartial() {
       com.google.bigtable.v2.RequestStats result = new com.google.bigtable.v2.RequestStats(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -423,7 +386,8 @@ private void buildPartial0(com.google.bigtable.v2.RequestStats result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
       result.statsViewCase_ = statsViewCase_;
       result.statsView_ = this.statsView_;
-      if (statsViewCase_ == 1 && fullReadStatsViewBuilder_ != null) {
+      if (statsViewCase_ == 1 &&
+          fullReadStatsViewBuilder_ != null) {
         result.statsView_ = fullReadStatsViewBuilder_.build();
       }
     }
@@ -432,39 +396,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RequestStats result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RequestStats) {
-        return mergeFrom((com.google.bigtable.v2.RequestStats) other);
+        return mergeFrom((com.google.bigtable.v2.RequestStats)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -474,15 +437,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RequestStats other) {
       if (other == com.google.bigtable.v2.RequestStats.getDefaultInstance()) return this;
       switch (other.getStatsViewCase()) {
-        case FULL_READ_STATS_VIEW:
-          {
-            mergeFullReadStatsView(other.getFullReadStatsView());
-            break;
-          }
-        case STATSVIEW_NOT_SET:
-          {
-            break;
-          }
+        case FULL_READ_STATS_VIEW: {
+          mergeFullReadStatsView(other.getFullReadStatsView());
+          break;
+        }
+        case STATSVIEW_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -510,20 +471,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(
-                    getFullReadStatsViewFieldBuilder().getBuilder(), extensionRegistry);
-                statsViewCase_ = 1;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getFullReadStatsViewFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              statsViewCase_ = 1;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -533,12 +493,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int statsViewCase_ = 0;
     private java.lang.Object statsView_;
-
-    public StatsViewCase getStatsViewCase() {
-      return StatsViewCase.forNumber(statsViewCase_);
+    public StatsViewCase
+        getStatsViewCase() {
+      return StatsViewCase.forNumber(
+          statsViewCase_);
     }
 
     public Builder clearStatsView() {
@@ -551,20 +511,14 @@ public Builder clearStatsView() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
-        fullReadStatsViewBuilder_;
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> fullReadStatsViewBuilder_;
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ @java.lang.Override @@ -572,15 +526,12 @@ public boolean hasFullReadStatsView() { return statsViewCase_ == 1; } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
      * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ @java.lang.Override @@ -598,8 +549,6 @@ public com.google.bigtable.v2.FullReadStatsView getFullReadStatsView() { } } /** - * - * *
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -621,8 +570,6 @@ public Builder setFullReadStatsView(com.google.bigtable.v2.FullReadStatsView val
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -642,8 +589,6 @@ public Builder setFullReadStatsView(
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -653,13 +598,10 @@ public Builder setFullReadStatsView(
      */
     public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView value) {
       if (fullReadStatsViewBuilder_ == null) {
-        if (statsViewCase_ == 1
-            && statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
-          statsView_ =
-              com.google.bigtable.v2.FullReadStatsView.newBuilder(
-                      (com.google.bigtable.v2.FullReadStatsView) statsView_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (statsViewCase_ == 1 &&
+            statsView_ != com.google.bigtable.v2.FullReadStatsView.getDefaultInstance()) {
+          statsView_ = com.google.bigtable.v2.FullReadStatsView.newBuilder((com.google.bigtable.v2.FullReadStatsView) statsView_)
+              .mergeFrom(value).buildPartial();
         } else {
           statsView_ = value;
         }
@@ -675,8 +617,6 @@ public Builder mergeFullReadStatsView(com.google.bigtable.v2.FullReadStatsView v
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -701,8 +641,6 @@ public Builder clearFullReadStatsView() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -714,8 +652,6 @@ public com.google.bigtable.v2.FullReadStatsView.Builder getFullReadStatsViewBuil
       return getFullReadStatsViewFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -735,8 +671,6 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       }
     }
     /**
-     *
-     *
      * 
      * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
      * view, see package google.bigtable.v2.
@@ -745,19 +679,14 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
      * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.FullReadStatsView,
-            com.google.bigtable.v2.FullReadStatsView.Builder,
-            com.google.bigtable.v2.FullReadStatsViewOrBuilder>
+        com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder> 
         getFullReadStatsViewFieldBuilder() {
       if (fullReadStatsViewBuilder_ == null) {
         if (!(statsViewCase_ == 1)) {
           statsView_ = com.google.bigtable.v2.FullReadStatsView.getDefaultInstance();
         }
-        fullReadStatsViewBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.FullReadStatsView,
-                com.google.bigtable.v2.FullReadStatsView.Builder,
-                com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
+        fullReadStatsViewBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.FullReadStatsView, com.google.bigtable.v2.FullReadStatsView.Builder, com.google.bigtable.v2.FullReadStatsViewOrBuilder>(
                 (com.google.bigtable.v2.FullReadStatsView) statsView_,
                 getParentForChildren(),
                 isClean());
@@ -767,9 +696,9 @@ public com.google.bigtable.v2.FullReadStatsViewOrBuilder getFullReadStatsViewOrB
       onChanged();
       return fullReadStatsViewBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -779,12 +708,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RequestStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.RequestStats)
   private static final com.google.bigtable.v2.RequestStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.RequestStats();
   }
@@ -793,27 +722,27 @@ public static com.google.bigtable.v2.RequestStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RequestStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RequestStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -828,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.RequestStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
index 84b93a904a..71f42613c9 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/request_stats.proto
 
 package com.google.bigtable.v2;
 
-public interface RequestStatsOrBuilder
-    extends
+public interface RequestStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RequestStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return Whether the fullReadStatsView field is set. */ boolean hasFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
    * 
* * .google.bigtable.v2.FullReadStatsView full_read_stats_view = 1; - * * @return The fullReadStatsView. */ com.google.bigtable.v2.FullReadStatsView getFullReadStatsView(); /** - * - * *
    * Available with the ReadRowsRequest.RequestStatsView.REQUEST_STATS_FULL
    * view, see package google.bigtable.v2.
diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
new file mode 100644
index 0000000000..5b94333d8c
--- /dev/null
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java
@@ -0,0 +1,100 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/bigtable/v2/request_stats.proto
+
+package com.google.bigtable.v2;
+
+public final class RequestStatsProto {
+  private RequestStatsProto() {}
+  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_v2_ReadIterationStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_bigtable_v2_RequestStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n&google/bigtable/v2/request_stats.proto" +
+      "\022\022google.bigtable.v2\032\036google/protobuf/du" +
+      "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" +
+      "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" +
+      "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" +
+      "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" +
+      "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" +
+      "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" +
+      "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" +
+      "2&.google.bigtable.v2.ReadIterationStats" +
+      "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" +
+      ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" +
+      "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" +
+      ".google.bigtable.v2.FullReadStatsViewH\000B" +
+      "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" +
+      "B\021RequestStatsProtoP\001Z:google.golang.org" +
+      "/genproto/googleapis/bigtable/v2;bigtabl" +
+      "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" +
+      "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" +
+      "e::V2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.DurationProto.getDescriptor(),
+        });
+    internal_static_google_bigtable_v2_ReadIterationStats_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_ReadIterationStats_descriptor,
+        new java.lang.String[] { "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", });
+    internal_static_google_bigtable_v2_RequestLatencyStats_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestLatencyStats_descriptor,
+        new java.lang.String[] { "FrontendServerLatency", });
+    internal_static_google_bigtable_v2_FullReadStatsView_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_FullReadStatsView_descriptor,
+        new java.lang.String[] { "ReadIterationStats", "RequestLatencyStats", });
+    internal_static_google_bigtable_v2_RequestStats_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_bigtable_v2_RequestStats_descriptor,
+        new java.lang.String[] { "FullReadStatsView", "StatsView", });
+    com.google.protobuf.DurationProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
similarity index 70%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
index 6482628853..34396853ba 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParams.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/response_params.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Response metadata proto
  * This is an experimental feature that will be used to get zone_id and
@@ -30,16 +13,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.ResponseParams}
  */
-public final class ResponseParams extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ResponseParams extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.ResponseParams)
     ResponseParamsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ResponseParams.newBuilder() to construct.
   private ResponseParams(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ResponseParams() {
     zoneId_ = "";
     clusterId_ = "";
@@ -47,39 +29,34 @@ private ResponseParams() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ResponseParams();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.ResponseParamsProto
-        .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+    return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.ResponseParams.class,
-            com.google.bigtable.v2.ResponseParams.Builder.class);
+            com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
   }
 
   private int bitField0_;
   public static final int ZONE_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object zoneId_ = "";
   /**
-   *
-   *
    * 
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ @java.lang.Override @@ -87,14 +64,11 @@ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The zoneId. */ @java.lang.Override @@ -103,29 +77,29 @@ public java.lang.String getZoneId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; } } /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ @java.lang.Override - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -134,19 +108,15 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } public static final int CLUSTER_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object clusterId_ = ""; /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ @java.lang.Override @@ -154,15 +124,12 @@ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ @java.lang.Override @@ -171,30 +138,30 @@ public java.lang.String getClusterId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; } } /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ @java.lang.Override - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -203,7 +170,6 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -215,7 +181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, zoneId_); } @@ -245,7 +212,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ResponseParams)) { return super.equals(obj); @@ -254,11 +221,13 @@ public boolean equals(final java.lang.Object obj) { if (hasZoneId() != other.hasZoneId()) return false; if (hasZoneId()) { - if (!getZoneId().equals(other.getZoneId())) return false; + if (!getZoneId() + .equals(other.getZoneId())) return false; } if (hasClusterId() != other.hasClusterId()) return false; if (hasClusterId()) { - if (!getClusterId().equals(other.getClusterId())) return false; + if (!getClusterId() + .equals(other.getClusterId())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -284,103 +253,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ResponseParams parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ResponseParams parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams 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.v2.ResponseParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ResponseParams parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ResponseParams parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ResponseParams parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ResponseParams prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response metadata proto
    * This is an experimental feature that will be used to get zone_id and
@@ -390,32 +355,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.ResponseParams}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ResponseParams)
       com.google.bigtable.v2.ResponseParamsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.ResponseParams.class,
-              com.google.bigtable.v2.ResponseParams.Builder.class);
+              com.google.bigtable.v2.ResponseParams.class, com.google.bigtable.v2.ResponseParams.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.ResponseParams.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -426,9 +392,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.ResponseParamsProto
-          .internal_static_google_bigtable_v2_ResponseParams_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.ResponseParamsProto.internal_static_google_bigtable_v2_ResponseParams_descriptor;
     }
 
     @java.lang.Override
@@ -447,11 +413,8 @@ public com.google.bigtable.v2.ResponseParams build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.ResponseParams buildPartial() {
-      com.google.bigtable.v2.ResponseParams result =
-          new com.google.bigtable.v2.ResponseParams(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.ResponseParams result = new com.google.bigtable.v2.ResponseParams(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -474,39 +437,38 @@ private void buildPartial0(com.google.bigtable.v2.ResponseParams result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.ResponseParams) {
-        return mergeFrom((com.google.bigtable.v2.ResponseParams) other);
+        return mergeFrom((com.google.bigtable.v2.ResponseParams)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -551,25 +513,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                zoneId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                clusterId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              zoneId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              clusterId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -579,39 +538,33 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object zoneId_ = "";
     /**
-     *
-     *
      * 
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ public boolean hasZoneId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The zoneId. */ public java.lang.String getZoneId() { java.lang.Object ref = zoneId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); zoneId_ = s; return s; @@ -620,21 +573,20 @@ public java.lang.String getZoneId() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ - public com.google.protobuf.ByteString getZoneIdBytes() { + public com.google.protobuf.ByteString + getZoneIdBytes() { java.lang.Object ref = zoneId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); zoneId_ = b; return b; } else { @@ -642,35 +594,28 @@ public com.google.protobuf.ByteString getZoneIdBytes() { } } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The zoneId to set. * @return This builder for chaining. */ - public Builder setZoneId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } zoneId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @return This builder for chaining. */ public Builder clearZoneId() { @@ -680,21 +625,17 @@ public Builder clearZoneId() { return this; } /** - * - * *
      * The cloud bigtable zone associated with the cluster.
      * 
* * optional string zone_id = 1; - * * @param value The bytes for zoneId to set. * @return This builder for chaining. */ - public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setZoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); zoneId_ = value; bitField0_ |= 0x00000001; @@ -704,36 +645,31 @@ public Builder setZoneIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object clusterId_ = ""; /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ public boolean hasClusterId() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clusterId_ = s; return s; @@ -742,22 +678,21 @@ public java.lang.String getClusterId() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ - public com.google.protobuf.ByteString getClusterIdBytes() { + public com.google.protobuf.ByteString + getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); clusterId_ = b; return b; } else { @@ -765,37 +700,30 @@ public com.google.protobuf.ByteString getClusterIdBytes() { } } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @param value The clusterId to set. * @return This builder for chaining. */ - public Builder setClusterId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @return This builder for chaining. */ public Builder clearClusterId() { @@ -805,31 +733,27 @@ public Builder clearClusterId() { return this; } /** - * - * *
      * Identifier for a cluster that represents set of
      * bigtable resources.
      * 
* * optional string cluster_id = 2; - * * @param value The bytes for clusterId to set. * @return This builder for chaining. */ - public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setClusterIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clusterId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +763,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ResponseParams) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ResponseParams) private static final com.google.bigtable.v2.ResponseParams DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ResponseParams(); } @@ -853,27 +777,27 @@ public static com.google.bigtable.v2.ResponseParams getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ResponseParams parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ResponseParams parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,4 +812,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ResponseParams getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java index e0923c48ba..38d697405f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsOrBuilder.java @@ -1,102 +1,70 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/response_params.proto package com.google.bigtable.v2; -public interface ResponseParamsOrBuilder - extends +public interface ResponseParamsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ResponseParams) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return Whether the zoneId field is set. */ boolean hasZoneId(); /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The zoneId. */ java.lang.String getZoneId(); /** - * - * *
    * The cloud bigtable zone associated with the cluster.
    * 
* * optional string zone_id = 1; - * * @return The bytes for zoneId. */ - com.google.protobuf.ByteString getZoneIdBytes(); + com.google.protobuf.ByteString + getZoneIdBytes(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return Whether the clusterId field is set. */ boolean hasClusterId(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The clusterId. */ java.lang.String getClusterId(); /** - * - * *
    * Identifier for a cluster that represents set of
    * bigtable resources.
    * 
* * optional string cluster_id = 2; - * * @return The bytes for clusterId. */ - com.google.protobuf.ByteString getClusterIdBytes(); + com.google.protobuf.ByteString + getClusterIdBytes(); } diff --git a/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java new file mode 100644 index 0000000000..7596f7b23f --- /dev/null +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/bigtable/v2/response_params.proto + +package com.google.bigtable.v2; + +public final class ResponseParamsProto { + private ResponseParamsProto() {} + 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_v2_ResponseParams_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n(google/bigtable/v2/response_params.pro" + + "to\022\022google.bigtable.v2\"Z\n\016ResponseParams" + + "\022\024\n\007zone_id\030\001 \001(\tH\000\210\001\001\022\027\n\ncluster_id\030\002 \001" + + "(\tH\001\210\001\001B\n\n\010_zone_idB\r\n\013_cluster_idB\277\001\n\026c" + + "om.google.bigtable.v2B\023ResponseParamsPro" + + "toP\001Z:google.golang.org/genproto/googlea" + + "pis/bigtable/v2;bigtable\252\002\030Google.Cloud." + + "Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002" + + "\033Google::Cloud::Bigtable::V2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_bigtable_v2_ResponseParams_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_bigtable_v2_ResponseParams_descriptor, + new java.lang.String[] { "ZoneId", "ClusterId", "ZoneId", "ClusterId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java similarity index 75% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java index 0ec3d8749e..2ccd8c0725 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/Row.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies the complete (requested) contents of a single row of a table.
  * Rows which exceed 256MiB in size cannot be read in full.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.bigtable.v2.Row}
  */
-public final class Row extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Row extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.Row)
     RowOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Row.newBuilder() to construct.
   private Row(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Row() {
     key_ = com.google.protobuf.ByteString.EMPTY;
     families_ = java.util.Collections.emptyList();
@@ -45,19 +27,20 @@ private Row() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Row();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
   }
@@ -65,8 +48,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -74,7 +55,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -83,12 +63,9 @@ public com.google.protobuf.ByteString getKey() { } public static final int FAMILIES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List families_; /** - * - * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -101,8 +78,6 @@ public java.util.List getFamiliesList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -111,13 +86,11 @@ public java.util.List getFamiliesList() {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFamiliesOrBuilderList() {
     return families_;
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -130,8 +103,6 @@ public int getFamiliesCount() {
     return families_.size();
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -144,8 +115,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
     return families_.get(index);
   }
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -154,12 +123,12 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
    * repeated .google.bigtable.v2.Family families = 2;
    */
   @java.lang.Override
-  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+  public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+      int index) {
     return families_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -171,7 +140,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!key_.isEmpty()) {
       output.writeBytes(1, key_);
     }
@@ -188,10 +158,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (!key_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, key_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(1, key_);
     }
     for (int i = 0; i < families_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, families_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, families_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -201,15 +173,17 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.Row)) {
       return super.equals(obj);
     }
     com.google.bigtable.v2.Row other = (com.google.bigtable.v2.Row) obj;
 
-    if (!getKey().equals(other.getKey())) return false;
-    if (!getFamiliesList().equals(other.getFamiliesList())) return false;
+    if (!getKey()
+        .equals(other.getKey())) return false;
+    if (!getFamiliesList()
+        .equals(other.getFamiliesList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -232,103 +206,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.Row parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row 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.v2.Row parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.Row parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.bigtable.v2.Row parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.bigtable.v2.Row parseFrom(
+      com.google.protobuf.CodedInputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.Row parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.Row prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Specifies the complete (requested) contents of a single row of a table.
    * Rows which exceed 256MiB in size cannot be read in full.
@@ -336,30 +306,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.Row}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.Row)
       com.google.bigtable.v2.RowOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_Row_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.bigtable.v2.Row.class, com.google.bigtable.v2.Row.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.Row.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -376,7 +349,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_Row_descriptor;
     }
 
@@ -398,9 +372,7 @@ public com.google.bigtable.v2.Row build() {
     public com.google.bigtable.v2.Row buildPartial() {
       com.google.bigtable.v2.Row result = new com.google.bigtable.v2.Row(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -428,39 +400,38 @@ private void buildPartial0(com.google.bigtable.v2.Row result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.Row) {
-        return mergeFrom((com.google.bigtable.v2.Row) other);
+        return mergeFrom((com.google.bigtable.v2.Row)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -490,10 +461,9 @@ public Builder mergeFrom(com.google.bigtable.v2.Row other) {
             familiesBuilder_ = null;
             families_ = other.families_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            familiesBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getFamiliesFieldBuilder()
-                    : null;
+            familiesBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getFamiliesFieldBuilder() : null;
           } else {
             familiesBuilder_.addAllMessages(other.families_);
           }
@@ -525,31 +495,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                key_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.bigtable.v2.Family m =
-                    input.readMessage(com.google.bigtable.v2.Family.parser(), extensionRegistry);
-                if (familiesBuilder_ == null) {
-                  ensureFamiliesIsMutable();
-                  families_.add(m);
-                } else {
-                  familiesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              key_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.bigtable.v2.Family m =
+                  input.readMessage(
+                      com.google.bigtable.v2.Family.parser(),
+                      extensionRegistry);
+              if (familiesBuilder_ == null) {
+                ensureFamiliesIsMutable();
+                families_.add(m);
+              } else {
+                familiesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -559,13 +528,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -573,7 +539,6 @@ public Builder mergeFrom(
      * 
* * bytes key = 1; - * * @return The key. */ @java.lang.Override @@ -581,8 +546,6 @@ public com.google.protobuf.ByteString getKey() { return key_; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -590,22 +553,17 @@ public com.google.protobuf.ByteString getKey() {
      * 
* * bytes key = 1; - * * @param value The key to set. * @return This builder for chaining. */ public Builder setKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } key_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The unique key which identifies this row within its table. This is the same
      * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -613,7 +571,6 @@ public Builder setKey(com.google.protobuf.ByteString value) {
      * 
* * bytes key = 1; - * * @return This builder for chaining. */ public Builder clearKey() { @@ -624,24 +581,18 @@ public Builder clearKey() { } private java.util.List families_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { families_ = new java.util.ArrayList(families_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.Family, - com.google.bigtable.v2.Family.Builder, - com.google.bigtable.v2.FamilyOrBuilder> - familiesBuilder_; + com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> familiesBuilder_; /** - * - * *
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -657,8 +608,6 @@ public java.util.List getFamiliesList() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -674,8 +623,6 @@ public int getFamiliesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -691,8 +638,6 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -700,7 +645,8 @@ public com.google.bigtable.v2.Family getFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -714,8 +660,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -723,7 +667,8 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder setFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.set(index, builderForValue.build());
@@ -734,8 +679,6 @@ public Builder setFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -757,8 +700,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -766,7 +707,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family value) {
       if (familiesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -780,8 +722,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -789,7 +729,8 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family value) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(builderForValue.build());
@@ -800,8 +741,6 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -809,7 +748,8 @@ public Builder addFamilies(com.google.bigtable.v2.Family.Builder builderForValue
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder builderForValue) {
+    public Builder addFamilies(
+        int index, com.google.bigtable.v2.Family.Builder builderForValue) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
         families_.add(index, builderForValue.build());
@@ -820,8 +760,6 @@ public Builder addFamilies(int index, com.google.bigtable.v2.Family.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -833,7 +771,8 @@ public Builder addAllFamilies(
         java.lang.Iterable values) {
       if (familiesBuilder_ == null) {
         ensureFamiliesIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, families_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, families_);
         onChanged();
       } else {
         familiesBuilder_.addAllMessages(values);
@@ -841,8 +780,6 @@ public Builder addAllFamilies(
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -861,8 +798,6 @@ public Builder clearFamilies() {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -881,8 +816,6 @@ public Builder removeFamilies(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -890,12 +823,11 @@ public Builder removeFamilies(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
+    public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(
+        int index) {
       return getFamiliesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -903,16 +835,14 @@ public com.google.bigtable.v2.Family.Builder getFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
+    public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+        int index) {
       if (familiesBuilder_ == null) {
-        return families_.get(index);
-      } else {
+        return families_.get(index);  } else {
         return familiesBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -920,8 +850,8 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List
-        getFamiliesOrBuilderList() {
+    public java.util.List 
+         getFamiliesOrBuilderList() {
       if (familiesBuilder_ != null) {
         return familiesBuilder_.getMessageOrBuilderList();
       } else {
@@ -929,8 +859,6 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -939,12 +867,10 @@ public com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index) {
      * repeated .google.bigtable.v2.Family families = 2;
      */
     public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
-      return getFamiliesFieldBuilder()
-          .addBuilder(com.google.bigtable.v2.Family.getDefaultInstance());
+      return getFamiliesFieldBuilder().addBuilder(
+          com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -952,13 +878,12 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder() {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
-      return getFamiliesFieldBuilder()
-          .addBuilder(index, com.google.bigtable.v2.Family.getDefaultInstance());
+    public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(
+        int index) {
+      return getFamiliesFieldBuilder().addBuilder(
+          index, com.google.bigtable.v2.Family.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * May be empty, but only if the entire row is empty.
      * The mutual ordering of column families is not specified.
@@ -966,29 +891,27 @@ public com.google.bigtable.v2.Family.Builder addFamiliesBuilder(int index) {
      *
      * repeated .google.bigtable.v2.Family families = 2;
      */
-    public java.util.List getFamiliesBuilderList() {
+    public java.util.List 
+         getFamiliesBuilderList() {
       return getFamiliesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.Family,
-            com.google.bigtable.v2.Family.Builder,
-            com.google.bigtable.v2.FamilyOrBuilder>
+        com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder> 
         getFamiliesFieldBuilder() {
       if (familiesBuilder_ == null) {
-        familiesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.bigtable.v2.Family,
-                com.google.bigtable.v2.Family.Builder,
-                com.google.bigtable.v2.FamilyOrBuilder>(
-                families_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        familiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.bigtable.v2.Family, com.google.bigtable.v2.Family.Builder, com.google.bigtable.v2.FamilyOrBuilder>(
+                families_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         families_ = null;
       }
       return familiesBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -998,12 +921,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.Row)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.Row)
   private static final com.google.bigtable.v2.Row DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.Row();
   }
@@ -1012,27 +935,27 @@ public static com.google.bigtable.v2.Row getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Row parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Row parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1047,4 +970,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.Row getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
similarity index 82%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
index a436c21ea7..89a84a97a4 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilter.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Takes a row as input and produces an alternate view of the row based on
  * specified rules. For example, a RowFilter might trim down a row to include
@@ -59,45 +42,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.RowFilter}
  */
-public final class RowFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RowFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter)
     RowFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RowFilter.newBuilder() to construct.
   private RowFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RowFilter() {}
+  private RowFilter() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RowFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
   }
 
-  public interface ChainOrBuilder
-      extends
+  public interface ChainOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Chain)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -106,10 +87,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -120,8 +100,6 @@ public interface ChainOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -132,8 +110,6 @@ public interface ChainOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -142,10 +118,9 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -154,59 +129,53 @@ public interface ChainOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends rows through several RowFilters in sequence.
    * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Chain extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Chain extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Chain) ChainOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Chain.newBuilder() to construct. private Chain(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Chain() { filters_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Chain(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } public static final int FILTERS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List filters_; /** - * - * *
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -220,8 +189,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -231,13 +198,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -251,8 +216,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -266,8 +229,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" are chained together to process the input row:
      * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -277,12 +238,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -294,7 +255,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -308,7 +270,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -318,14 +281,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Chain)) {
         return super.equals(obj);
       }
       com.google.bigtable.v2.RowFilter.Chain other = (com.google.bigtable.v2.RowFilter.Chain) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -346,94 +310,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain 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.v2.RowFilter.Chain parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Chain parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Chain parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Chain prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -443,41 +403,39 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends rows through several RowFilters in sequence.
      * 
* * Protobuf type {@code google.bigtable.v2.RowFilter.Chain} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Chain) com.google.bigtable.v2.RowFilter.ChainOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.RowFilter.Chain.class, - com.google.bigtable.v2.RowFilter.Chain.Builder.class); + com.google.bigtable.v2.RowFilter.Chain.class, com.google.bigtable.v2.RowFilter.Chain.Builder.class); } // Construct using com.google.bigtable.v2.RowFilter.Chain.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -493,9 +451,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; } @java.lang.Override @@ -514,12 +472,9 @@ public com.google.bigtable.v2.RowFilter.Chain build() { @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain buildPartial() { - com.google.bigtable.v2.RowFilter.Chain result = - new com.google.bigtable.v2.RowFilter.Chain(this); + com.google.bigtable.v2.RowFilter.Chain result = new com.google.bigtable.v2.RowFilter.Chain(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -544,41 +499,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Chain result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowFilter.Chain) { - return mergeFrom((com.google.bigtable.v2.RowFilter.Chain) other); + return mergeFrom((com.google.bigtable.v2.RowFilter.Chain)other); } else { super.mergeFrom(other); return this; @@ -605,10 +557,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Chain other) { filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000001); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -640,26 +591,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.bigtable.v2.RowFilter m = - input.readMessage( - com.google.bigtable.v2.RowFilter.parser(), extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.bigtable.v2.RowFilter m = + input.readMessage( + com.google.bigtable.v2.RowFilter.parser(), + extensionRegistry); + if (filtersBuilder_ == null) { + ensureFiltersIsMutable(); + filters_.add(m); + } else { + filtersBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,28 +619,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowFilter, - com.google.bigtable.v2.RowFilter.Builder, - com.google.bigtable.v2.RowFilterOrBuilder> - filtersBuilder_; + com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_; /** - * - * *
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -707,8 +650,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -725,8 +666,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -743,8 +682,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -753,7 +690,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -767,8 +705,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -789,8 +725,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -813,8 +747,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -823,7 +755,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -837,8 +770,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -847,7 +778,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -858,8 +790,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -880,8 +810,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -894,7 +822,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -902,8 +831,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -923,8 +850,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -944,8 +869,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -954,12 +877,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -968,16 +890,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -986,8 +906,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -995,8 +915,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1006,12 +924,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1020,13 +936,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" are chained together to process the input row:
        * in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
@@ -1035,27 +950,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -1068,12 +980,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Chain)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Chain)
     private static final com.google.bigtable.v2.RowFilter.Chain DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Chain();
     }
@@ -1082,28 +994,27 @@ public static com.google.bigtable.v2.RowFilter.Chain getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Chain parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Chain parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -1118,16 +1029,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Chain getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface InterleaveOrBuilder
-      extends
+  public interface InterleaveOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Interleave)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1158,10 +1067,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersList();
+    java.util.List 
+        getFiltersList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1194,8 +1102,6 @@ public interface InterleaveOrBuilder
      */
     com.google.bigtable.v2.RowFilter getFilters(int index);
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1228,8 +1134,6 @@ public interface InterleaveOrBuilder
      */
     int getFiltersCount();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1260,10 +1164,9 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    java.util.List getFiltersOrBuilderList();
+    java.util.List 
+        getFiltersOrBuilderList();
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1294,11 +1197,10 @@ public interface InterleaveOrBuilder
      *
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
-    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index);
+    com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index);
   }
   /**
-   *
-   *
    * 
    * A RowFilter which sends each row to each of several component
    * RowFilters and interleaves the results.
@@ -1306,48 +1208,43 @@ public interface InterleaveOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
    */
-  public static final class Interleave extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Interleave extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Interleave)
       InterleaveOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Interleave.newBuilder() to construct.
     private Interleave(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private Interleave() {
       filters_ = java.util.Collections.emptyList();
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Interleave();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Interleave.class,
-              com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+              com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
     }
 
     public static final int FILTERS_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private java.util.List filters_;
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1383,8 +1280,6 @@ public java.util.List getFiltersList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1416,13 +1311,11 @@ public java.util.List getFiltersList() {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public java.util.List
+    public java.util.List 
         getFiltersOrBuilderList() {
       return filters_;
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1458,8 +1351,6 @@ public int getFiltersCount() {
       return filters_.size();
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1495,8 +1386,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
       return filters_.get(index);
     }
     /**
-     *
-     *
      * 
      * The elements of "filters" all process a copy of the input row, and the
      * results are pooled, sorted, and combined into a single output row.
@@ -1528,12 +1417,12 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
      * repeated .google.bigtable.v2.RowFilter filters = 1;
      */
     @java.lang.Override
-    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+        int index) {
       return filters_.get(index);
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -1545,7 +1434,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       for (int i = 0; i < filters_.size(); i++) {
         output.writeMessage(1, filters_.get(i));
       }
@@ -1559,7 +1449,8 @@ public int getSerializedSize() {
 
       size = 0;
       for (int i = 0; i < filters_.size(); i++) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, filters_.get(i));
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, filters_.get(i));
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -1569,15 +1460,15 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Interleave)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Interleave other =
-          (com.google.bigtable.v2.RowFilter.Interleave) obj;
+      com.google.bigtable.v2.RowFilter.Interleave other = (com.google.bigtable.v2.RowFilter.Interleave) obj;
 
-      if (!getFiltersList().equals(other.getFiltersList())) return false;
+      if (!getFiltersList()
+          .equals(other.getFiltersList())) return false;
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
     }
@@ -1598,94 +1489,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave 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.v2.RowFilter.Interleave parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Interleave parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Interleave parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Interleave prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -1695,8 +1582,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which sends each row to each of several component
      * RowFilters and interleaves the results.
@@ -1704,33 +1589,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Interleave}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Interleave)
         com.google.bigtable.v2.RowFilter.InterleaveOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Interleave.class,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
+                com.google.bigtable.v2.RowFilter.Interleave.class, com.google.bigtable.v2.RowFilter.Interleave.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Interleave.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1746,9 +1631,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor;
       }
 
       @java.lang.Override
@@ -1767,12 +1652,9 @@ public com.google.bigtable.v2.RowFilter.Interleave build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Interleave buildPartial() {
-        com.google.bigtable.v2.RowFilter.Interleave result =
-            new com.google.bigtable.v2.RowFilter.Interleave(this);
+        com.google.bigtable.v2.RowFilter.Interleave result = new com.google.bigtable.v2.RowFilter.Interleave(this);
         buildPartialRepeatedFields(result);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -1797,41 +1679,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Interleave result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Interleave) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Interleave)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -1858,10 +1737,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowFilter.Interleave other) {
               filtersBuilder_ = null;
               filters_ = other.filters_;
               bitField0_ = (bitField0_ & ~0x00000001);
-              filtersBuilder_ =
-                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                      ? getFiltersFieldBuilder()
-                      : null;
+              filtersBuilder_ = 
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                   getFiltersFieldBuilder() : null;
             } else {
               filtersBuilder_.addAllMessages(other.filters_);
             }
@@ -1893,26 +1771,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  com.google.bigtable.v2.RowFilter m =
-                      input.readMessage(
-                          com.google.bigtable.v2.RowFilter.parser(), extensionRegistry);
-                  if (filtersBuilder_ == null) {
-                    ensureFiltersIsMutable();
-                    filters_.add(m);
-                  } else {
-                    filtersBuilder_.addMessage(m);
-                  }
-                  break;
-                } // case 10
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                com.google.bigtable.v2.RowFilter m =
+                    input.readMessage(
+                        com.google.bigtable.v2.RowFilter.parser(),
+                        extensionRegistry);
+                if (filtersBuilder_ == null) {
+                  ensureFiltersIsMutable();
+                  filters_.add(m);
+                } else {
+                  filtersBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1922,28 +1799,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private java.util.List filters_ =
-          java.util.Collections.emptyList();
-
+        java.util.Collections.emptyList();
       private void ensureFiltersIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           filters_ = new java.util.ArrayList(filters_);
           bitField0_ |= 0x00000001;
-        }
+         }
       }
 
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          filtersBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> filtersBuilder_;
 
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -1982,8 +1852,6 @@ public java.util.List getFiltersList() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2022,8 +1890,6 @@ public int getFiltersCount() {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2062,8 +1928,6 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2094,7 +1958,8 @@ public com.google.bigtable.v2.RowFilter getFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder setFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2108,8 +1973,6 @@ public Builder setFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2152,8 +2015,6 @@ public Builder setFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2198,8 +2059,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2230,7 +2089,8 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
+      public Builder addFilters(
+          int index, com.google.bigtable.v2.RowFilter value) {
         if (filtersBuilder_ == null) {
           if (value == null) {
             throw new NullPointerException();
@@ -2244,8 +2104,6 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2276,7 +2134,8 @@ public Builder addFilters(int index, com.google.bigtable.v2.RowFilter value) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder addFilters(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
           filters_.add(builderForValue.build());
@@ -2287,8 +2146,6 @@ public Builder addFilters(com.google.bigtable.v2.RowFilter.Builder builderForVal
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2331,8 +2188,6 @@ public Builder addFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2367,7 +2222,8 @@ public Builder addAllFilters(
           java.lang.Iterable values) {
         if (filtersBuilder_ == null) {
           ensureFiltersIsMutable();
-          com.google.protobuf.AbstractMessageLite.Builder.addAll(values, filters_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, filters_);
           onChanged();
         } else {
           filtersBuilder_.addAllMessages(values);
@@ -2375,8 +2231,6 @@ public Builder addAllFilters(
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2418,8 +2272,6 @@ public Builder clearFilters() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2461,8 +2313,6 @@ public Builder removeFilters(int index) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2493,12 +2343,11 @@ public Builder removeFilters(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
+      public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(
+          int index) {
         return getFiltersFieldBuilder().getBuilder(index);
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2529,16 +2378,14 @@ public com.google.bigtable.v2.RowFilter.Builder getFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index) {
+      public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(
+          int index) {
         if (filtersBuilder_ == null) {
-          return filters_.get(index);
-        } else {
+          return filters_.get(index);  } else {
           return filtersBuilder_.getMessageOrBuilder(index);
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2569,8 +2416,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List
-          getFiltersOrBuilderList() {
+      public java.util.List 
+           getFiltersOrBuilderList() {
         if (filtersBuilder_ != null) {
           return filtersBuilder_.getMessageOrBuilderList();
         } else {
@@ -2578,8 +2425,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
         }
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2611,12 +2456,10 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFiltersOrBuilder(int index)
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
       public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
-        return getFiltersFieldBuilder()
-            .addBuilder(com.google.bigtable.v2.RowFilter.getDefaultInstance());
+        return getFiltersFieldBuilder().addBuilder(
+            com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2647,13 +2490,12 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder() {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
-        return getFiltersFieldBuilder()
-            .addBuilder(index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
+      public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(
+          int index) {
+        return getFiltersFieldBuilder().addBuilder(
+            index, com.google.bigtable.v2.RowFilter.getDefaultInstance());
       }
       /**
-       *
-       *
        * 
        * The elements of "filters" all process a copy of the input row, and the
        * results are pooled, sorted, and combined into a single output row.
@@ -2684,27 +2526,24 @@ public com.google.bigtable.v2.RowFilter.Builder addFiltersBuilder(int index) {
        *
        * repeated .google.bigtable.v2.RowFilter filters = 1;
        */
-      public java.util.List getFiltersBuilderList() {
+      public java.util.List 
+           getFiltersBuilderList() {
         return getFiltersFieldBuilder().getBuilderList();
       }
-
       private com.google.protobuf.RepeatedFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFiltersFieldBuilder() {
         if (filtersBuilder_ == null) {
-          filtersBuilder_ =
-              new com.google.protobuf.RepeatedFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  filters_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+          filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  filters_,
+                  ((bitField0_ & 0x00000001) != 0),
+                  getParentForChildren(),
+                  isClean());
           filters_ = null;
         }
         return filtersBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -2717,12 +2556,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Interleave)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Interleave)
     private static final com.google.bigtable.v2.RowFilter.Interleave DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Interleave();
     }
@@ -2731,28 +2570,27 @@ public static com.google.bigtable.v2.RowFilter.Interleave getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Interleave parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Interleave parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -2767,42 +2605,34 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Interleave getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
-  public interface ConditionOrBuilder
-      extends
+  public interface ConditionOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter.Condition)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ boolean hasPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ com.google.bigtable.v2.RowFilter getPredicateFilter(); /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2813,34 +2643,26 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ boolean hasTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ com.google.bigtable.v2.RowFilter getTrueFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -2851,8 +2673,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder();
 
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2860,13 +2680,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ boolean hasFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2874,13 +2691,10 @@ public interface ConditionOrBuilder
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ com.google.bigtable.v2.RowFilter getFalseFilter(); /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -2892,8 +2706,6 @@ public interface ConditionOrBuilder
     com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder();
   }
   /**
-   *
-   *
    * 
    * A RowFilter which evaluates one of two possible RowFilters, depending on
    * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -2906,51 +2718,47 @@ public interface ConditionOrBuilder
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
    */
-  public static final class Condition extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class Condition extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowFilter.Condition)
       ConditionOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use Condition.newBuilder() to construct.
     private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
-    private Condition() {}
+    private Condition() {
+    }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new Condition();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.Condition.class,
-              com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+              com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
     }
 
     public static final int PREDICATE_FILTER_FIELD_NUMBER = 1;
     private com.google.bigtable.v2.RowFilter predicateFilter_;
     /**
-     *
-     *
      * 
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ @java.lang.Override @@ -2958,26 +2766,19 @@ public boolean hasPredicateFilter() { return predicateFilter_ != null; } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
      * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getPredicateFilter() { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } /** - * - * *
      * If `predicate_filter` outputs any cells, then `true_filter` will be
      * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -2987,23 +2788,18 @@ public com.google.bigtable.v2.RowFilter getPredicateFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
-      return predicateFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : predicateFilter_;
+      return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
     }
 
     public static final int TRUE_FILTER_FIELD_NUMBER = 2;
     private com.google.bigtable.v2.RowFilter trueFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ @java.lang.Override @@ -3011,26 +2807,19 @@ public boolean hasTrueFilter() { return trueFilter_ != null; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
      * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getTrueFilter() { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` returns any
      * results. If not provided, no results will be returned in the true case.
@@ -3040,16 +2829,12 @@ public com.google.bigtable.v2.RowFilter getTrueFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
-      return trueFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : trueFilter_;
+      return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
     }
 
     public static final int FALSE_FILTER_FIELD_NUMBER = 3;
     private com.google.bigtable.v2.RowFilter falseFilter_;
     /**
-     *
-     *
      * 
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3057,7 +2842,6 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ @java.lang.Override @@ -3065,8 +2849,6 @@ public boolean hasFalseFilter() { return falseFilter_ != null; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3074,18 +2856,13 @@ public boolean hasFalseFilter() {
      * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ @java.lang.Override public com.google.bigtable.v2.RowFilter getFalseFilter() { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } /** - * - * *
      * The filter to apply to the input row if `predicate_filter` does not
      * return any results. If not provided, no results will be returned in the
@@ -3096,13 +2873,10 @@ public com.google.bigtable.v2.RowFilter getFalseFilter() {
      */
     @java.lang.Override
     public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
-      return falseFilter_ == null
-          ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-          : falseFilter_;
+      return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -3114,7 +2888,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    public void writeTo(com.google.protobuf.CodedOutputStream output)
+                        throws java.io.IOException {
       if (predicateFilter_ != null) {
         output.writeMessage(1, getPredicateFilter());
       }
@@ -3134,13 +2909,16 @@ public int getSerializedSize() {
 
       size = 0;
       if (predicateFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPredicateFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getPredicateFilter());
       }
       if (trueFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getTrueFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, getTrueFilter());
       }
       if (falseFilter_ != null) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getFalseFilter());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, getFalseFilter());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -3150,25 +2928,27 @@ public int getSerializedSize() {
     @java.lang.Override
     public boolean equals(final java.lang.Object obj) {
       if (obj == this) {
-        return true;
+       return true;
       }
       if (!(obj instanceof com.google.bigtable.v2.RowFilter.Condition)) {
         return super.equals(obj);
       }
-      com.google.bigtable.v2.RowFilter.Condition other =
-          (com.google.bigtable.v2.RowFilter.Condition) obj;
+      com.google.bigtable.v2.RowFilter.Condition other = (com.google.bigtable.v2.RowFilter.Condition) obj;
 
       if (hasPredicateFilter() != other.hasPredicateFilter()) return false;
       if (hasPredicateFilter()) {
-        if (!getPredicateFilter().equals(other.getPredicateFilter())) return false;
+        if (!getPredicateFilter()
+            .equals(other.getPredicateFilter())) return false;
       }
       if (hasTrueFilter() != other.hasTrueFilter()) return false;
       if (hasTrueFilter()) {
-        if (!getTrueFilter().equals(other.getTrueFilter())) return false;
+        if (!getTrueFilter()
+            .equals(other.getTrueFilter())) return false;
       }
       if (hasFalseFilter() != other.hasFalseFilter()) return false;
       if (hasFalseFilter()) {
-        if (!getFalseFilter().equals(other.getFalseFilter())) return false;
+        if (!getFalseFilter()
+            .equals(other.getFalseFilter())) return false;
       }
       if (!getUnknownFields().equals(other.getUnknownFields())) return false;
       return true;
@@ -3198,94 +2978,90 @@ public int hashCode() {
       return hash;
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.nio.ByteBuffer data)
+    public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
+        java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.nio.ByteBuffer data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition 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.v2.RowFilter.Condition parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        byte[] data,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(java.io.InputStream input)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
-    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.bigtable.v2.RowFilter.Condition parseDelimitedFrom(
-        java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        java.io.InputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
-        com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+        com.google.protobuf.CodedInputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.bigtable.v2.RowFilter.Condition parseFrom(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-          PARSER, input, extensionRegistry);
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input, extensionRegistry);
     }
 
     @java.lang.Override
-    public Builder newBuilderForType() {
-      return newBuilder();
-    }
-
+    public Builder newBuilderForType() { return newBuilder(); }
     public static Builder newBuilder() {
       return DEFAULT_INSTANCE.toBuilder();
     }
-
     public static Builder newBuilder(com.google.bigtable.v2.RowFilter.Condition prototype) {
       return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
     }
-
     @java.lang.Override
     public Builder toBuilder() {
-      return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+      return this == DEFAULT_INSTANCE
+          ? new Builder() : new Builder().mergeFrom(this);
     }
 
     @java.lang.Override
@@ -3295,8 +3071,6 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * A RowFilter which evaluates one of two possible RowFilters, depending on
      * whether or not a predicate RowFilter outputs any cells from the input row.
@@ -3309,33 +3083,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.bigtable.v2.RowFilter.Condition}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter.Condition)
         com.google.bigtable.v2.RowFilter.ConditionOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.bigtable.v2.RowFilter.Condition.class,
-                com.google.bigtable.v2.RowFilter.Condition.Builder.class);
+                com.google.bigtable.v2.RowFilter.Condition.class, com.google.bigtable.v2.RowFilter.Condition.Builder.class);
       }
 
       // Construct using com.google.bigtable.v2.RowFilter.Condition.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -3359,9 +3133,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.bigtable.v2.DataProto
-            .internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_Condition_descriptor;
       }
 
       @java.lang.Override
@@ -3380,11 +3154,8 @@ public com.google.bigtable.v2.RowFilter.Condition build() {
 
       @java.lang.Override
       public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
-        com.google.bigtable.v2.RowFilter.Condition result =
-            new com.google.bigtable.v2.RowFilter.Condition(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.bigtable.v2.RowFilter.Condition result = new com.google.bigtable.v2.RowFilter.Condition(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         onBuilt();
         return result;
       }
@@ -3392,16 +3163,19 @@ public com.google.bigtable.v2.RowFilter.Condition buildPartial() {
       private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
         int from_bitField0_ = bitField0_;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          result.predicateFilter_ =
-              predicateFilterBuilder_ == null ? predicateFilter_ : predicateFilterBuilder_.build();
+          result.predicateFilter_ = predicateFilterBuilder_ == null
+              ? predicateFilter_
+              : predicateFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000002) != 0)) {
-          result.trueFilter_ =
-              trueFilterBuilder_ == null ? trueFilter_ : trueFilterBuilder_.build();
+          result.trueFilter_ = trueFilterBuilder_ == null
+              ? trueFilter_
+              : trueFilterBuilder_.build();
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
-          result.falseFilter_ =
-              falseFilterBuilder_ == null ? falseFilter_ : falseFilterBuilder_.build();
+          result.falseFilter_ = falseFilterBuilder_ == null
+              ? falseFilter_
+              : falseFilterBuilder_.build();
         }
       }
 
@@ -3409,41 +3183,38 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter.Condition result) {
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.bigtable.v2.RowFilter.Condition) {
-          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition) other);
+          return mergeFrom((com.google.bigtable.v2.RowFilter.Condition)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -3487,32 +3258,33 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  input.readMessage(
-                      getPredicateFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 18:
-                {
-                  input.readMessage(getTrueFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000002;
-                  break;
-                } // case 18
-              case 26:
-                {
-                  input.readMessage(getFalseFilterFieldBuilder().getBuilder(), extensionRegistry);
-                  bitField0_ |= 0x00000004;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                input.readMessage(
+                    getPredicateFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 18: {
+                input.readMessage(
+                    getTrueFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+              case 26: {
+                input.readMessage(
+                    getFalseFilterFieldBuilder().getBuilder(),
+                    extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+              default: {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -3522,54 +3294,40 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int bitField0_;
 
       private com.google.bigtable.v2.RowFilter predicateFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          predicateFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> predicateFilterBuilder_;
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return Whether the predicateFilter field is set. */ public boolean hasPredicateFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
        * 
* * .google.bigtable.v2.RowFilter predicate_filter = 1; - * * @return The predicateFilter. */ public com.google.bigtable.v2.RowFilter getPredicateFilter() { if (predicateFilterBuilder_ == null) { - return predicateFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : predicateFilter_; + return predicateFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_; } else { return predicateFilterBuilder_.getMessage(); } } /** - * - * *
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3591,8 +3349,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3600,7 +3356,8 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
-      public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setPredicateFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (predicateFilterBuilder_ == null) {
           predicateFilter_ = builderForValue.build();
         } else {
@@ -3611,8 +3368,6 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3622,9 +3377,9 @@ public Builder setPredicateFilter(com.google.bigtable.v2.RowFilter.Builder build
        */
       public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         if (predicateFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && predicateFilter_ != null
-              && predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            predicateFilter_ != null &&
+            predicateFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getPredicateFilterBuilder().mergeFrom(value);
           } else {
             predicateFilter_ = value;
@@ -3637,8 +3392,6 @@ public Builder mergePredicateFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3657,8 +3410,6 @@ public Builder clearPredicateFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3672,8 +3423,6 @@ public com.google.bigtable.v2.RowFilter.Builder getPredicateFilterBuilder() {
         return getPredicateFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3685,14 +3434,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
         if (predicateFilterBuilder_ != null) {
           return predicateFilterBuilder_.getMessageOrBuilder();
         } else {
-          return predicateFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : predicateFilter_;
+          return predicateFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : predicateFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * If `predicate_filter` outputs any cells, then `true_filter` will be
        * evaluated on the input row. Otherwise, `false_filter` will be evaluated.
@@ -3701,17 +3447,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter predicate_filter = 1;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getPredicateFilterFieldBuilder() {
         if (predicateFilterBuilder_ == null) {
-          predicateFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getPredicateFilter(), getParentForChildren(), isClean());
+          predicateFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getPredicateFilter(),
+                  getParentForChildren(),
+                  isClean());
           predicateFilter_ = null;
         }
         return predicateFilterBuilder_;
@@ -3719,49 +3462,36 @@ public com.google.bigtable.v2.RowFilterOrBuilder getPredicateFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter trueFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          trueFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> trueFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return Whether the trueFilter field is set. */ public boolean hasTrueFilter() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
        * 
* * .google.bigtable.v2.RowFilter true_filter = 2; - * * @return The trueFilter. */ public com.google.bigtable.v2.RowFilter getTrueFilter() { if (trueFilterBuilder_ == null) { - return trueFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : trueFilter_; + return trueFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_; } else { return trueFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3783,8 +3513,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3792,7 +3520,8 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
-      public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setTrueFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (trueFilterBuilder_ == null) {
           trueFilter_ = builderForValue.build();
         } else {
@@ -3803,8 +3532,6 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3814,9 +3541,9 @@ public Builder setTrueFilter(com.google.bigtable.v2.RowFilter.Builder builderFor
        */
       public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         if (trueFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000002) != 0)
-              && trueFilter_ != null
-              && trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000002) != 0) &&
+            trueFilter_ != null &&
+            trueFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getTrueFilterBuilder().mergeFrom(value);
           } else {
             trueFilter_ = value;
@@ -3829,8 +3556,6 @@ public Builder mergeTrueFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3849,8 +3574,6 @@ public Builder clearTrueFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3864,8 +3587,6 @@ public com.google.bigtable.v2.RowFilter.Builder getTrueFilterBuilder() {
         return getTrueFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3877,14 +3598,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
         if (trueFilterBuilder_ != null) {
           return trueFilterBuilder_.getMessageOrBuilder();
         } else {
-          return trueFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : trueFilter_;
+          return trueFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : trueFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` returns any
        * results. If not provided, no results will be returned in the true case.
@@ -3893,17 +3611,14 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter true_filter = 2;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getTrueFilterFieldBuilder() {
         if (trueFilterBuilder_ == null) {
-          trueFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getTrueFilter(), getParentForChildren(), isClean());
+          trueFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getTrueFilter(),
+                  getParentForChildren(),
+                  isClean());
           trueFilter_ = null;
         }
         return trueFilterBuilder_;
@@ -3911,13 +3626,8 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
 
       private com.google.bigtable.v2.RowFilter falseFilter_;
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
-          falseFilterBuilder_;
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> falseFilterBuilder_;
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3925,15 +3635,12 @@ public com.google.bigtable.v2.RowFilterOrBuilder getTrueFilterOrBuilder() {
        * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return Whether the falseFilter field is set. */ public boolean hasFalseFilter() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3941,21 +3648,16 @@ public boolean hasFalseFilter() {
        * 
* * .google.bigtable.v2.RowFilter false_filter = 3; - * * @return The falseFilter. */ public com.google.bigtable.v2.RowFilter getFalseFilter() { if (falseFilterBuilder_ == null) { - return falseFilter_ == null - ? com.google.bigtable.v2.RowFilter.getDefaultInstance() - : falseFilter_; + return falseFilter_ == null ? com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_; } else { return falseFilterBuilder_.getMessage(); } } /** - * - * *
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3978,8 +3680,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -3988,7 +3688,8 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter value) {
        *
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
-      public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderForValue) {
+      public Builder setFalseFilter(
+          com.google.bigtable.v2.RowFilter.Builder builderForValue) {
         if (falseFilterBuilder_ == null) {
           falseFilter_ = builderForValue.build();
         } else {
@@ -3999,8 +3700,6 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4011,9 +3710,9 @@ public Builder setFalseFilter(com.google.bigtable.v2.RowFilter.Builder builderFo
        */
       public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         if (falseFilterBuilder_ == null) {
-          if (((bitField0_ & 0x00000004) != 0)
-              && falseFilter_ != null
-              && falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000004) != 0) &&
+            falseFilter_ != null &&
+            falseFilter_ != com.google.bigtable.v2.RowFilter.getDefaultInstance()) {
             getFalseFilterBuilder().mergeFrom(value);
           } else {
             falseFilter_ = value;
@@ -4026,8 +3725,6 @@ public Builder mergeFalseFilter(com.google.bigtable.v2.RowFilter value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4047,8 +3744,6 @@ public Builder clearFalseFilter() {
         return this;
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4063,8 +3758,6 @@ public com.google.bigtable.v2.RowFilter.Builder getFalseFilterBuilder() {
         return getFalseFilterFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4077,14 +3770,11 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
         if (falseFilterBuilder_ != null) {
           return falseFilterBuilder_.getMessageOrBuilder();
         } else {
-          return falseFilter_ == null
-              ? com.google.bigtable.v2.RowFilter.getDefaultInstance()
-              : falseFilter_;
+          return falseFilter_ == null ?
+              com.google.bigtable.v2.RowFilter.getDefaultInstance() : falseFilter_;
         }
       }
       /**
-       *
-       *
        * 
        * The filter to apply to the input row if `predicate_filter` does not
        * return any results. If not provided, no results will be returned in the
@@ -4094,22 +3784,18 @@ public com.google.bigtable.v2.RowFilterOrBuilder getFalseFilterOrBuilder() {
        * .google.bigtable.v2.RowFilter false_filter = 3;
        */
       private com.google.protobuf.SingleFieldBuilderV3<
-              com.google.bigtable.v2.RowFilter,
-              com.google.bigtable.v2.RowFilter.Builder,
-              com.google.bigtable.v2.RowFilterOrBuilder>
+          com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder> 
           getFalseFilterFieldBuilder() {
         if (falseFilterBuilder_ == null) {
-          falseFilterBuilder_ =
-              new com.google.protobuf.SingleFieldBuilderV3<
-                  com.google.bigtable.v2.RowFilter,
-                  com.google.bigtable.v2.RowFilter.Builder,
-                  com.google.bigtable.v2.RowFilterOrBuilder>(
-                  getFalseFilter(), getParentForChildren(), isClean());
+          falseFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+              com.google.bigtable.v2.RowFilter, com.google.bigtable.v2.RowFilter.Builder, com.google.bigtable.v2.RowFilterOrBuilder>(
+                  getFalseFilter(),
+                  getParentForChildren(),
+                  isClean());
           falseFilter_ = null;
         }
         return falseFilterBuilder_;
       }
-
       @java.lang.Override
       public final Builder setUnknownFields(
           final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -4122,12 +3808,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter.Condition)
     }
 
     // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter.Condition)
     private static final com.google.bigtable.v2.RowFilter.Condition DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter.Condition();
     }
@@ -4136,28 +3822,27 @@ public static com.google.bigtable.v2.RowFilter.Condition getDefaultInstance() {
       return DEFAULT_INSTANCE;
     }
 
-    private static final com.google.protobuf.Parser PARSER =
-        new com.google.protobuf.AbstractParser() {
-          @java.lang.Override
-          public Condition parsePartialFrom(
-              com.google.protobuf.CodedInputStream input,
-              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-              throws com.google.protobuf.InvalidProtocolBufferException {
-            Builder builder = newBuilder();
-            try {
-              builder.mergeFrom(input, extensionRegistry);
-            } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-              throw e.setUnfinishedMessage(builder.buildPartial());
-            } catch (com.google.protobuf.UninitializedMessageException e) {
-              throw e.asInvalidProtocolBufferException()
-                  .setUnfinishedMessage(builder.buildPartial());
-            } catch (java.io.IOException e) {
-              throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                  .setUnfinishedMessage(builder.buildPartial());
-            }
-            return builder.buildPartial();
-          }
-        };
+    private static final com.google.protobuf.Parser
+        PARSER = new com.google.protobuf.AbstractParser() {
+      @java.lang.Override
+      public Condition parsePartialFrom(
+          com.google.protobuf.CodedInputStream input,
+          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws com.google.protobuf.InvalidProtocolBufferException {
+        Builder builder = newBuilder();
+        try {
+          builder.mergeFrom(input, extensionRegistry);
+        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+          throw e.setUnfinishedMessage(builder.buildPartial());
+        } catch (com.google.protobuf.UninitializedMessageException e) {
+          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+        } catch (java.io.IOException e) {
+          throw new com.google.protobuf.InvalidProtocolBufferException(e)
+              .setUnfinishedMessage(builder.buildPartial());
+        }
+        return builder.buildPartial();
+      }
+    };
 
     public static com.google.protobuf.Parser parser() {
       return PARSER;
@@ -4172,16 +3857,14 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.bigtable.v2.RowFilter.Condition getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int filterCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object filter_;
-
   public enum FilterCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     CHAIN(1),
     INTERLEAVE(2),
@@ -4204,7 +3887,6 @@ public enum FilterCase
     APPLY_LABEL_TRANSFORMER(19),
     FILTER_NOT_SET(0);
     private final int value;
-
     private FilterCase(int value) {
       this.value = value;
     }
@@ -4220,71 +3902,48 @@ public static FilterCase valueOf(int value) {
 
     public static FilterCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return CHAIN;
-        case 2:
-          return INTERLEAVE;
-        case 3:
-          return CONDITION;
-        case 16:
-          return SINK;
-        case 17:
-          return PASS_ALL_FILTER;
-        case 18:
-          return BLOCK_ALL_FILTER;
-        case 4:
-          return ROW_KEY_REGEX_FILTER;
-        case 14:
-          return ROW_SAMPLE_FILTER;
-        case 5:
-          return FAMILY_NAME_REGEX_FILTER;
-        case 6:
-          return COLUMN_QUALIFIER_REGEX_FILTER;
-        case 7:
-          return COLUMN_RANGE_FILTER;
-        case 8:
-          return TIMESTAMP_RANGE_FILTER;
-        case 9:
-          return VALUE_REGEX_FILTER;
-        case 15:
-          return VALUE_RANGE_FILTER;
-        case 10:
-          return CELLS_PER_ROW_OFFSET_FILTER;
-        case 11:
-          return CELLS_PER_ROW_LIMIT_FILTER;
-        case 12:
-          return CELLS_PER_COLUMN_LIMIT_FILTER;
-        case 13:
-          return STRIP_VALUE_TRANSFORMER;
-        case 19:
-          return APPLY_LABEL_TRANSFORMER;
-        case 0:
-          return FILTER_NOT_SET;
-        default:
-          return null;
+        case 1: return CHAIN;
+        case 2: return INTERLEAVE;
+        case 3: return CONDITION;
+        case 16: return SINK;
+        case 17: return PASS_ALL_FILTER;
+        case 18: return BLOCK_ALL_FILTER;
+        case 4: return ROW_KEY_REGEX_FILTER;
+        case 14: return ROW_SAMPLE_FILTER;
+        case 5: return FAMILY_NAME_REGEX_FILTER;
+        case 6: return COLUMN_QUALIFIER_REGEX_FILTER;
+        case 7: return COLUMN_RANGE_FILTER;
+        case 8: return TIMESTAMP_RANGE_FILTER;
+        case 9: return VALUE_REGEX_FILTER;
+        case 15: return VALUE_RANGE_FILTER;
+        case 10: return CELLS_PER_ROW_OFFSET_FILTER;
+        case 11: return CELLS_PER_ROW_LIMIT_FILTER;
+        case 12: return CELLS_PER_COLUMN_LIMIT_FILTER;
+        case 13: return STRIP_VALUE_TRANSFORMER;
+        case 19: return APPLY_LABEL_TRANSFORMER;
+        case 0: return FILTER_NOT_SET;
+        default: return null;
       }
     }
-
     public int getNumber() {
       return this.value;
     }
   };
 
-  public FilterCase getFilterCase() {
-    return FilterCase.forNumber(filterCase_);
+  public FilterCase
+  getFilterCase() {
+    return FilterCase.forNumber(
+        filterCase_);
   }
 
   public static final int CHAIN_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -4292,27 +3951,22 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Chain getChain() { if (filterCase_ == 1) { - return (com.google.bigtable.v2.RowFilter.Chain) filter_; + return (com.google.bigtable.v2.RowFilter.Chain) filter_; } return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -4323,22 +3977,19 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     if (filterCase_ == 1) {
-      return (com.google.bigtable.v2.RowFilter.Chain) filter_;
+       return (com.google.bigtable.v2.RowFilter.Chain) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
   }
 
   public static final int INTERLEAVE_FIELD_NUMBER = 2;
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -4346,27 +3997,22 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { if (filterCase_ == 2) { - return (com.google.bigtable.v2.RowFilter.Interleave) filter_; + return (com.google.bigtable.v2.RowFilter.Interleave) filter_; } return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance(); } /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -4377,22 +4023,19 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder() {
     if (filterCase_ == 2) {
-      return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
+       return (com.google.bigtable.v2.RowFilter.Interleave) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
   }
 
   public static final int CONDITION_FIELD_NUMBER = 3;
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -4400,27 +4043,22 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override public com.google.bigtable.v2.RowFilter.Condition getCondition() { if (filterCase_ == 3) { - return (com.google.bigtable.v2.RowFilter.Condition) filter_; + return (com.google.bigtable.v2.RowFilter.Condition) filter_; } return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance(); } /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -4431,15 +4069,13 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() {
   @java.lang.Override
   public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder() {
     if (filterCase_ == 3) {
-      return (com.google.bigtable.v2.RowFilter.Condition) filter_;
+       return (com.google.bigtable.v2.RowFilter.Condition) filter_;
     }
     return com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
   }
 
   public static final int SINK_FIELD_NUMBER = 16;
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4503,7 +4139,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ @java.lang.Override @@ -4511,8 +4146,6 @@ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -4576,7 +4209,6 @@ public boolean hasSink() {
    * 
* * bool sink = 16; - * * @return The sink. */ @java.lang.Override @@ -4589,15 +4221,12 @@ public boolean getSink() { public static final int PASS_ALL_FILTER_FIELD_NUMBER = 17; /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ @java.lang.Override @@ -4605,15 +4234,12 @@ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ @java.lang.Override @@ -4626,15 +4252,12 @@ public boolean getPassAllFilter() { public static final int BLOCK_ALL_FILTER_FIELD_NUMBER = 18; /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ @java.lang.Override @@ -4642,15 +4265,12 @@ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ @java.lang.Override @@ -4663,8 +4283,6 @@ public boolean getBlockAllFilter() { public static final int ROW_KEY_REGEX_FILTER_FIELD_NUMBER = 4; /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4676,7 +4294,6 @@ public boolean getBlockAllFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ @java.lang.Override @@ -4684,8 +4301,6 @@ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -4697,7 +4312,6 @@ public boolean hasRowKeyRegexFilter() {
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ @java.lang.Override @@ -4710,15 +4324,12 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { public static final int ROW_SAMPLE_FILTER_FIELD_NUMBER = 14; /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ @java.lang.Override @@ -4726,15 +4337,12 @@ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ @java.lang.Override @@ -4747,8 +4355,6 @@ public double getRowSampleFilter() { public static final int FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER = 5; /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4759,15 +4365,12 @@ public double getRowSampleFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4778,7 +4381,6 @@ public boolean hasFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ public java.lang.String getFamilyNameRegexFilter() { @@ -4789,7 +4391,8 @@ public java.lang.String getFamilyNameRegexFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -4798,8 +4401,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -4810,17 +4411,18 @@ public java.lang.String getFamilyNameRegexFilter() {
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -4832,8 +4434,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { public static final int COLUMN_QUALIFIER_REGEX_FILTER_FIELD_NUMBER = 6; /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4844,7 +4444,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ @java.lang.Override @@ -4852,8 +4451,6 @@ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -4864,7 +4461,6 @@ public boolean hasColumnQualifierRegexFilter() {
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ @java.lang.Override @@ -4877,14 +4473,11 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { public static final int COLUMN_RANGE_FILTER_FIELD_NUMBER = 7; /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -4892,26 +4485,21 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -4921,21 +4509,18 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder() { if (filterCase_ == 7) { - return (com.google.bigtable.v2.ColumnRange) filter_; + return (com.google.bigtable.v2.ColumnRange) filter_; } return com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } public static final int TIMESTAMP_RANGE_FILTER_FIELD_NUMBER = 8; /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -4943,26 +4528,21 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -4972,15 +4552,13 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { @java.lang.Override public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder() { if (filterCase_ == 8) { - return (com.google.bigtable.v2.TimestampRange) filter_; + return (com.google.bigtable.v2.TimestampRange) filter_; } return com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } public static final int VALUE_REGEX_FILTER_FIELD_NUMBER = 9; /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -4990,7 +4568,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ @java.lang.Override @@ -4998,8 +4575,6 @@ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -5009,7 +4584,6 @@ public boolean hasValueRegexFilter() {
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ @java.lang.Override @@ -5022,14 +4596,11 @@ public com.google.protobuf.ByteString getValueRegexFilter() { public static final int VALUE_RANGE_FILTER_FIELD_NUMBER = 15; /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -5037,26 +4608,21 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override public com.google.bigtable.v2.ValueRange getValueRangeFilter() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -5066,15 +4632,13 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { @java.lang.Override public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() { if (filterCase_ == 15) { - return (com.google.bigtable.v2.ValueRange) filter_; + return (com.google.bigtable.v2.ValueRange) filter_; } return com.google.bigtable.v2.ValueRange.getDefaultInstance(); } public static final int CELLS_PER_ROW_OFFSET_FILTER_FIELD_NUMBER = 10; /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5082,7 +4646,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ @java.lang.Override @@ -5090,8 +4653,6 @@ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5099,7 +4660,6 @@ public boolean hasCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ @java.lang.Override @@ -5112,8 +4672,6 @@ public int getCellsPerRowOffsetFilter() { public static final int CELLS_PER_ROW_LIMIT_FILTER_FIELD_NUMBER = 11; /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5121,7 +4679,6 @@ public int getCellsPerRowOffsetFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ @java.lang.Override @@ -5129,8 +4686,6 @@ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -5138,7 +4693,6 @@ public boolean hasCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ @java.lang.Override @@ -5151,8 +4705,6 @@ public int getCellsPerRowLimitFilter() { public static final int CELLS_PER_COLUMN_LIMIT_FILTER_FIELD_NUMBER = 12; /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5163,7 +4715,6 @@ public int getCellsPerRowLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ @java.lang.Override @@ -5171,8 +4722,6 @@ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -5183,7 +4732,6 @@ public boolean hasCellsPerColumnLimitFilter() {
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ @java.lang.Override @@ -5196,14 +4744,11 @@ public int getCellsPerColumnLimitFilter() { public static final int STRIP_VALUE_TRANSFORMER_FIELD_NUMBER = 13; /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ @java.lang.Override @@ -5211,14 +4756,11 @@ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ @java.lang.Override @@ -5231,8 +4773,6 @@ public boolean getStripValueTransformer() { public static final int APPLY_LABEL_TRANSFORMER_FIELD_NUMBER = 19; /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5250,15 +4790,12 @@ public boolean getStripValueTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5276,7 +4813,6 @@ public boolean hasApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ public java.lang.String getApplyLabelTransformer() { @@ -5287,7 +4823,8 @@ public java.lang.String getApplyLabelTransformer() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -5296,8 +4833,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -5315,17 +4850,18 @@ public java.lang.String getApplyLabelTransformer() {
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -5336,7 +4872,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5348,7 +4883,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (filterCase_ == 1) { output.writeMessage(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } @@ -5359,13 +4895,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); } if (filterCase_ == 6) { - output.writeBytes(6, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { output.writeMessage(7, (com.google.bigtable.v2.ColumnRange) filter_); @@ -5374,34 +4912,43 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io output.writeMessage(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - output.writeBytes(9, (com.google.protobuf.ByteString) filter_); + output.writeBytes( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - output.writeInt32(10, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - output.writeInt32(11, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - output.writeInt32(12, (int) ((java.lang.Integer) filter_)); + output.writeInt32( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - output.writeBool(13, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - output.writeDouble(14, (double) ((java.lang.Double) filter_)); + output.writeDouble( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { output.writeMessage(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - output.writeBool(16, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - output.writeBool(17, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - output.writeBool(18, (boolean) ((java.lang.Boolean) filter_)); + output.writeBool( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, filter_); @@ -5416,92 +4963,86 @@ public int getSerializedSize() { size = 0; if (filterCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.bigtable.v2.RowFilter.Chain) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.bigtable.v2.RowFilter.Chain) filter_); } if (filterCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.bigtable.v2.RowFilter.Interleave) filter_); } if (filterCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.bigtable.v2.RowFilter.Condition) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.bigtable.v2.RowFilter.Condition) filter_); } if (filterCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); } if (filterCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 6, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 6, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.bigtable.v2.ColumnRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.bigtable.v2.ColumnRange) filter_); } if (filterCase_ == 8) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 8, (com.google.bigtable.v2.TimestampRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, (com.google.bigtable.v2.TimestampRange) filter_); } if (filterCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 9, (com.google.protobuf.ByteString) filter_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 9, (com.google.protobuf.ByteString) filter_); } if (filterCase_ == 10) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 10, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 10, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 11) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 11, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 11, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 12) { - size += - com.google.protobuf.CodedOutputStream.computeInt32Size( - 12, (int) ((java.lang.Integer) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size( + 12, (int)((java.lang.Integer) filter_)); } if (filterCase_ == 13) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 13, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 13, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 14) { - size += - com.google.protobuf.CodedOutputStream.computeDoubleSize( - 14, (double) ((java.lang.Double) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize( + 14, (double)((java.lang.Double) filter_)); } if (filterCase_ == 15) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 15, (com.google.bigtable.v2.ValueRange) filter_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(15, (com.google.bigtable.v2.ValueRange) filter_); } if (filterCase_ == 16) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 16, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 16, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 17) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 17, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 17, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 18) { - size += - com.google.protobuf.CodedOutputStream.computeBoolSize( - 18, (boolean) ((java.lang.Boolean) filter_)); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize( + 18, (boolean)((java.lang.Boolean) filter_)); } if (filterCase_ == 19) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, filter_); @@ -5514,7 +5055,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowFilter)) { return super.equals(obj); @@ -5524,63 +5065,81 @@ public boolean equals(final java.lang.Object obj) { if (!getFilterCase().equals(other.getFilterCase())) return false; switch (filterCase_) { case 1: - if (!getChain().equals(other.getChain())) return false; + if (!getChain() + .equals(other.getChain())) return false; break; case 2: - if (!getInterleave().equals(other.getInterleave())) return false; + if (!getInterleave() + .equals(other.getInterleave())) return false; break; case 3: - if (!getCondition().equals(other.getCondition())) return false; + if (!getCondition() + .equals(other.getCondition())) return false; break; case 16: - if (getSink() != other.getSink()) return false; + if (getSink() + != other.getSink()) return false; break; case 17: - if (getPassAllFilter() != other.getPassAllFilter()) return false; + if (getPassAllFilter() + != other.getPassAllFilter()) return false; break; case 18: - if (getBlockAllFilter() != other.getBlockAllFilter()) return false; + if (getBlockAllFilter() + != other.getBlockAllFilter()) return false; break; case 4: - if (!getRowKeyRegexFilter().equals(other.getRowKeyRegexFilter())) return false; + if (!getRowKeyRegexFilter() + .equals(other.getRowKeyRegexFilter())) return false; break; case 14: if (java.lang.Double.doubleToLongBits(getRowSampleFilter()) - != java.lang.Double.doubleToLongBits(other.getRowSampleFilter())) return false; + != java.lang.Double.doubleToLongBits( + other.getRowSampleFilter())) return false; break; case 5: - if (!getFamilyNameRegexFilter().equals(other.getFamilyNameRegexFilter())) return false; + if (!getFamilyNameRegexFilter() + .equals(other.getFamilyNameRegexFilter())) return false; break; case 6: - if (!getColumnQualifierRegexFilter().equals(other.getColumnQualifierRegexFilter())) - return false; + if (!getColumnQualifierRegexFilter() + .equals(other.getColumnQualifierRegexFilter())) return false; break; case 7: - if (!getColumnRangeFilter().equals(other.getColumnRangeFilter())) return false; + if (!getColumnRangeFilter() + .equals(other.getColumnRangeFilter())) return false; break; case 8: - if (!getTimestampRangeFilter().equals(other.getTimestampRangeFilter())) return false; + if (!getTimestampRangeFilter() + .equals(other.getTimestampRangeFilter())) return false; break; case 9: - if (!getValueRegexFilter().equals(other.getValueRegexFilter())) return false; + if (!getValueRegexFilter() + .equals(other.getValueRegexFilter())) return false; break; case 15: - if (!getValueRangeFilter().equals(other.getValueRangeFilter())) return false; + if (!getValueRangeFilter() + .equals(other.getValueRangeFilter())) return false; break; case 10: - if (getCellsPerRowOffsetFilter() != other.getCellsPerRowOffsetFilter()) return false; + if (getCellsPerRowOffsetFilter() + != other.getCellsPerRowOffsetFilter()) return false; break; case 11: - if (getCellsPerRowLimitFilter() != other.getCellsPerRowLimitFilter()) return false; + if (getCellsPerRowLimitFilter() + != other.getCellsPerRowLimitFilter()) return false; break; case 12: - if (getCellsPerColumnLimitFilter() != other.getCellsPerColumnLimitFilter()) return false; + if (getCellsPerColumnLimitFilter() + != other.getCellsPerColumnLimitFilter()) return false; break; case 13: - if (getStripValueTransformer() != other.getStripValueTransformer()) return false; + if (getStripValueTransformer() + != other.getStripValueTransformer()) return false; break; case 19: - if (!getApplyLabelTransformer().equals(other.getApplyLabelTransformer())) return false; + if (!getApplyLabelTransformer() + .equals(other.getApplyLabelTransformer())) return false; break; case 0: default: @@ -5611,15 +5170,18 @@ public int hashCode() { break; case 16: hash = (37 * hash) + SINK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getSink()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSink()); break; case 17: hash = (37 * hash) + PASS_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPassAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPassAllFilter()); break; case 18: hash = (37 * hash) + BLOCK_ALL_FILTER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBlockAllFilter()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBlockAllFilter()); break; case 4: hash = (37 * hash) + ROW_KEY_REGEX_FILTER_FIELD_NUMBER; @@ -5627,10 +5189,8 @@ public int hashCode() { break; case 14: hash = (37 * hash) + ROW_SAMPLE_FILTER_FIELD_NUMBER; - hash = - (53 * hash) - + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRowSampleFilter())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRowSampleFilter())); break; case 5: hash = (37 * hash) + FAMILY_NAME_REGEX_FILTER_FIELD_NUMBER; @@ -5670,7 +5230,8 @@ public int hashCode() { break; case 13: hash = (37 * hash) + STRIP_VALUE_TRANSFORMER_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getStripValueTransformer()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStripValueTransformer()); break; case 19: hash = (37 * hash) + APPLY_LABEL_TRANSFORMER_FIELD_NUMBER; @@ -5684,103 +5245,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowFilter parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowFilter parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter 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.v2.RowFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Takes a row as input and produces an alternate view of the row based on
    * specified rules. For example, a RowFilter might trim down a row to include
@@ -5819,32 +5376,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.RowFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowFilter)
       com.google.bigtable.v2.RowFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.RowFilter.class,
-              com.google.bigtable.v2.RowFilter.Builder.class);
+              com.google.bigtable.v2.RowFilter.class, com.google.bigtable.v2.RowFilter.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.RowFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5873,9 +5431,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_RowFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowFilter_descriptor;
     }
 
     @java.lang.Override
@@ -5895,9 +5453,7 @@ public com.google.bigtable.v2.RowFilter build() {
     @java.lang.Override
     public com.google.bigtable.v2.RowFilter buildPartial() {
       com.google.bigtable.v2.RowFilter result = new com.google.bigtable.v2.RowFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5910,22 +5466,28 @@ private void buildPartial0(com.google.bigtable.v2.RowFilter result) {
     private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
       result.filterCase_ = filterCase_;
       result.filter_ = this.filter_;
-      if (filterCase_ == 1 && chainBuilder_ != null) {
+      if (filterCase_ == 1 &&
+          chainBuilder_ != null) {
         result.filter_ = chainBuilder_.build();
       }
-      if (filterCase_ == 2 && interleaveBuilder_ != null) {
+      if (filterCase_ == 2 &&
+          interleaveBuilder_ != null) {
         result.filter_ = interleaveBuilder_.build();
       }
-      if (filterCase_ == 3 && conditionBuilder_ != null) {
+      if (filterCase_ == 3 &&
+          conditionBuilder_ != null) {
         result.filter_ = conditionBuilder_.build();
       }
-      if (filterCase_ == 7 && columnRangeFilterBuilder_ != null) {
+      if (filterCase_ == 7 &&
+          columnRangeFilterBuilder_ != null) {
         result.filter_ = columnRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 8 && timestampRangeFilterBuilder_ != null) {
+      if (filterCase_ == 8 &&
+          timestampRangeFilterBuilder_ != null) {
         result.filter_ = timestampRangeFilterBuilder_.build();
       }
-      if (filterCase_ == 15 && valueRangeFilterBuilder_ != null) {
+      if (filterCase_ == 15 &&
+          valueRangeFilterBuilder_ != null) {
         result.filter_ = valueRangeFilterBuilder_.build();
       }
     }
@@ -5934,39 +5496,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowFilter result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.RowFilter) {
-        return mergeFrom((com.google.bigtable.v2.RowFilter) other);
+        return mergeFrom((com.google.bigtable.v2.RowFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5976,109 +5537,89 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.bigtable.v2.RowFilter other) {
       if (other == com.google.bigtable.v2.RowFilter.getDefaultInstance()) return this;
       switch (other.getFilterCase()) {
-        case CHAIN:
-          {
-            mergeChain(other.getChain());
-            break;
-          }
-        case INTERLEAVE:
-          {
-            mergeInterleave(other.getInterleave());
-            break;
-          }
-        case CONDITION:
-          {
-            mergeCondition(other.getCondition());
-            break;
-          }
-        case SINK:
-          {
-            setSink(other.getSink());
-            break;
-          }
-        case PASS_ALL_FILTER:
-          {
-            setPassAllFilter(other.getPassAllFilter());
-            break;
-          }
-        case BLOCK_ALL_FILTER:
-          {
-            setBlockAllFilter(other.getBlockAllFilter());
-            break;
-          }
-        case ROW_KEY_REGEX_FILTER:
-          {
-            setRowKeyRegexFilter(other.getRowKeyRegexFilter());
-            break;
-          }
-        case ROW_SAMPLE_FILTER:
-          {
-            setRowSampleFilter(other.getRowSampleFilter());
-            break;
-          }
-        case FAMILY_NAME_REGEX_FILTER:
-          {
-            filterCase_ = 5;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case COLUMN_QUALIFIER_REGEX_FILTER:
-          {
-            setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
-            break;
-          }
-        case COLUMN_RANGE_FILTER:
-          {
-            mergeColumnRangeFilter(other.getColumnRangeFilter());
-            break;
-          }
-        case TIMESTAMP_RANGE_FILTER:
-          {
-            mergeTimestampRangeFilter(other.getTimestampRangeFilter());
-            break;
-          }
-        case VALUE_REGEX_FILTER:
-          {
-            setValueRegexFilter(other.getValueRegexFilter());
-            break;
-          }
-        case VALUE_RANGE_FILTER:
-          {
-            mergeValueRangeFilter(other.getValueRangeFilter());
-            break;
-          }
-        case CELLS_PER_ROW_OFFSET_FILTER:
-          {
-            setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
-            break;
-          }
-        case CELLS_PER_ROW_LIMIT_FILTER:
-          {
-            setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
-            break;
-          }
-        case CELLS_PER_COLUMN_LIMIT_FILTER:
-          {
-            setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
-            break;
-          }
-        case STRIP_VALUE_TRANSFORMER:
-          {
-            setStripValueTransformer(other.getStripValueTransformer());
-            break;
-          }
-        case APPLY_LABEL_TRANSFORMER:
-          {
-            filterCase_ = 19;
-            filter_ = other.filter_;
-            onChanged();
-            break;
-          }
-        case FILTER_NOT_SET:
-          {
-            break;
-          }
+        case CHAIN: {
+          mergeChain(other.getChain());
+          break;
+        }
+        case INTERLEAVE: {
+          mergeInterleave(other.getInterleave());
+          break;
+        }
+        case CONDITION: {
+          mergeCondition(other.getCondition());
+          break;
+        }
+        case SINK: {
+          setSink(other.getSink());
+          break;
+        }
+        case PASS_ALL_FILTER: {
+          setPassAllFilter(other.getPassAllFilter());
+          break;
+        }
+        case BLOCK_ALL_FILTER: {
+          setBlockAllFilter(other.getBlockAllFilter());
+          break;
+        }
+        case ROW_KEY_REGEX_FILTER: {
+          setRowKeyRegexFilter(other.getRowKeyRegexFilter());
+          break;
+        }
+        case ROW_SAMPLE_FILTER: {
+          setRowSampleFilter(other.getRowSampleFilter());
+          break;
+        }
+        case FAMILY_NAME_REGEX_FILTER: {
+          filterCase_ = 5;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case COLUMN_QUALIFIER_REGEX_FILTER: {
+          setColumnQualifierRegexFilter(other.getColumnQualifierRegexFilter());
+          break;
+        }
+        case COLUMN_RANGE_FILTER: {
+          mergeColumnRangeFilter(other.getColumnRangeFilter());
+          break;
+        }
+        case TIMESTAMP_RANGE_FILTER: {
+          mergeTimestampRangeFilter(other.getTimestampRangeFilter());
+          break;
+        }
+        case VALUE_REGEX_FILTER: {
+          setValueRegexFilter(other.getValueRegexFilter());
+          break;
+        }
+        case VALUE_RANGE_FILTER: {
+          mergeValueRangeFilter(other.getValueRangeFilter());
+          break;
+        }
+        case CELLS_PER_ROW_OFFSET_FILTER: {
+          setCellsPerRowOffsetFilter(other.getCellsPerRowOffsetFilter());
+          break;
+        }
+        case CELLS_PER_ROW_LIMIT_FILTER: {
+          setCellsPerRowLimitFilter(other.getCellsPerRowLimitFilter());
+          break;
+        }
+        case CELLS_PER_COLUMN_LIMIT_FILTER: {
+          setCellsPerColumnLimitFilter(other.getCellsPerColumnLimitFilter());
+          break;
+        }
+        case STRIP_VALUE_TRANSFORMER: {
+          setStripValueTransformer(other.getStripValueTransformer());
+          break;
+        }
+        case APPLY_LABEL_TRANSFORMER: {
+          filterCase_ = 19;
+          filter_ = other.filter_;
+          onChanged();
+          break;
+        }
+        case FILTER_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -6106,132 +5647,121 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getChainFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getInterleaveFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getConditionFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 3;
-                break;
-              } // case 26
-            case 34:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 4;
-                break;
-              } // case 34
-            case 42:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 5;
-                filter_ = s;
-                break;
-              } // case 42
-            case 50:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 6;
-                break;
-              } // case 50
-            case 58:
-              {
-                input.readMessage(
-                    getColumnRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                input.readMessage(
-                    getTimestampRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 8;
-                break;
-              } // case 66
-            case 74:
-              {
-                filter_ = input.readBytes();
-                filterCase_ = 9;
-                break;
-              } // case 74
-            case 80:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 10;
-                break;
-              } // case 80
-            case 88:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 11;
-                break;
-              } // case 88
-            case 96:
-              {
-                filter_ = input.readInt32();
-                filterCase_ = 12;
-                break;
-              } // case 96
-            case 104:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 13;
-                break;
-              } // case 104
-            case 113:
-              {
-                filter_ = input.readDouble();
-                filterCase_ = 14;
-                break;
-              } // case 113
-            case 122:
-              {
-                input.readMessage(
-                    getValueRangeFilterFieldBuilder().getBuilder(), extensionRegistry);
-                filterCase_ = 15;
-                break;
-              } // case 122
-            case 128:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 16;
-                break;
-              } // case 128
-            case 136:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 17;
-                break;
-              } // case 136
-            case 144:
-              {
-                filter_ = input.readBool();
-                filterCase_ = 18;
-                break;
-              } // case 144
-            case 154:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                filterCase_ = 19;
-                filter_ = s;
-                break;
-              } // case 154
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getChainFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getInterleaveFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getConditionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 3;
+              break;
+            } // case 26
+            case 34: {
+              filter_ = input.readBytes();
+              filterCase_ = 4;
+              break;
+            } // case 34
+            case 42: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 5;
+              filter_ = s;
+              break;
+            } // case 42
+            case 50: {
+              filter_ = input.readBytes();
+              filterCase_ = 6;
+              break;
+            } // case 50
+            case 58: {
+              input.readMessage(
+                  getColumnRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              input.readMessage(
+                  getTimestampRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 8;
+              break;
+            } // case 66
+            case 74: {
+              filter_ = input.readBytes();
+              filterCase_ = 9;
+              break;
+            } // case 74
+            case 80: {
+              filter_ = input.readInt32();
+              filterCase_ = 10;
+              break;
+            } // case 80
+            case 88: {
+              filter_ = input.readInt32();
+              filterCase_ = 11;
+              break;
+            } // case 88
+            case 96: {
+              filter_ = input.readInt32();
+              filterCase_ = 12;
+              break;
+            } // case 96
+            case 104: {
+              filter_ = input.readBool();
+              filterCase_ = 13;
+              break;
+            } // case 104
+            case 113: {
+              filter_ = input.readDouble();
+              filterCase_ = 14;
+              break;
+            } // case 113
+            case 122: {
+              input.readMessage(
+                  getValueRangeFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              filterCase_ = 15;
+              break;
+            } // case 122
+            case 128: {
+              filter_ = input.readBool();
+              filterCase_ = 16;
+              break;
+            } // case 128
+            case 136: {
+              filter_ = input.readBool();
+              filterCase_ = 17;
+              break;
+            } // case 136
+            case 144: {
+              filter_ = input.readBool();
+              filterCase_ = 18;
+              break;
+            } // case 144
+            case 154: {
+              java.lang.String s = input.readStringRequireUtf8();
+              filterCase_ = 19;
+              filter_ = s;
+              break;
+            } // case 154
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -6241,12 +5771,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int filterCase_ = 0;
     private java.lang.Object filter_;
-
-    public FilterCase getFilterCase() {
-      return FilterCase.forNumber(filterCase_);
+    public FilterCase
+        getFilterCase() {
+      return FilterCase.forNumber(
+          filterCase_);
     }
 
     public Builder clearFilter() {
@@ -6259,20 +5789,14 @@ public Builder clearFilter() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
-        chainBuilder_;
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> chainBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ @java.lang.Override @@ -6280,15 +5804,12 @@ public boolean hasChain() { return filterCase_ == 1; } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
      * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ @java.lang.Override @@ -6306,8 +5827,6 @@ public com.google.bigtable.v2.RowFilter.Chain getChain() { } } /** - * - * *
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6329,8 +5848,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6338,7 +5855,8 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain value) {
      *
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
-    public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
+    public Builder setChain(
+        com.google.bigtable.v2.RowFilter.Chain.Builder builderForValue) {
       if (chainBuilder_ == null) {
         filter_ = builderForValue.build();
         onChanged();
@@ -6349,8 +5867,6 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6360,13 +5876,10 @@ public Builder setChain(com.google.bigtable.v2.RowFilter.Chain.Builder builderFo
      */
     public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       if (chainBuilder_ == null) {
-        if (filterCase_ == 1
-            && filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Chain.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Chain) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 1 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Chain.newBuilder((com.google.bigtable.v2.RowFilter.Chain) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6382,8 +5895,6 @@ public Builder mergeChain(com.google.bigtable.v2.RowFilter.Chain value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6408,8 +5919,6 @@ public Builder clearChain() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6421,8 +5930,6 @@ public com.google.bigtable.v2.RowFilter.Chain.Builder getChainBuilder() {
       return getChainFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6442,8 +5949,6 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in sequence, progressively
      * narrowing the results.
@@ -6452,19 +5957,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
      * .google.bigtable.v2.RowFilter.Chain chain = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Chain,
-            com.google.bigtable.v2.RowFilter.Chain.Builder,
-            com.google.bigtable.v2.RowFilter.ChainOrBuilder>
+        com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder> 
         getChainFieldBuilder() {
       if (chainBuilder_ == null) {
         if (!(filterCase_ == 1)) {
           filter_ = com.google.bigtable.v2.RowFilter.Chain.getDefaultInstance();
         }
-        chainBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Chain,
-                com.google.bigtable.v2.RowFilter.Chain.Builder,
-                com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
+        chainBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Chain, com.google.bigtable.v2.RowFilter.Chain.Builder, com.google.bigtable.v2.RowFilter.ChainOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Chain) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6476,20 +5976,14 @@ public com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
-        interleaveBuilder_;
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> interleaveBuilder_;
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ @java.lang.Override @@ -6497,15 +5991,12 @@ public boolean hasInterleave() { return filterCase_ == 2; } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
      * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ @java.lang.Override @@ -6523,8 +6014,6 @@ public com.google.bigtable.v2.RowFilter.Interleave getInterleave() { } } /** - * - * *
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6546,8 +6035,6 @@ public Builder setInterleave(com.google.bigtable.v2.RowFilter.Interleave value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6567,8 +6054,6 @@ public Builder setInterleave(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6578,13 +6063,10 @@ public Builder setInterleave(
      */
     public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value) {
       if (interleaveBuilder_ == null) {
-        if (filterCase_ == 2
-            && filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Interleave.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Interleave) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 2 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Interleave.newBuilder((com.google.bigtable.v2.RowFilter.Interleave) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6600,8 +6082,6 @@ public Builder mergeInterleave(com.google.bigtable.v2.RowFilter.Interleave value
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6626,8 +6106,6 @@ public Builder clearInterleave() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6639,8 +6117,6 @@ public com.google.bigtable.v2.RowFilter.Interleave.Builder getInterleaveBuilder(
       return getInterleaveFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6660,8 +6136,6 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * Applies several RowFilters to the data in parallel and combines the
      * results.
@@ -6670,19 +6144,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
      * .google.bigtable.v2.RowFilter.Interleave interleave = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Interleave,
-            com.google.bigtable.v2.RowFilter.Interleave.Builder,
-            com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>
+        com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder> 
         getInterleaveFieldBuilder() {
       if (interleaveBuilder_ == null) {
         if (!(filterCase_ == 2)) {
           filter_ = com.google.bigtable.v2.RowFilter.Interleave.getDefaultInstance();
         }
-        interleaveBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Interleave,
-                com.google.bigtable.v2.RowFilter.Interleave.Builder,
-                com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
+        interleaveBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Interleave, com.google.bigtable.v2.RowFilter.Interleave.Builder, com.google.bigtable.v2.RowFilter.InterleaveOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Interleave) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6694,20 +6163,14 @@ public com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuild
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
-        conditionBuilder_;
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> conditionBuilder_;
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ @java.lang.Override @@ -6715,15 +6178,12 @@ public boolean hasCondition() { return filterCase_ == 3; } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
      * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ @java.lang.Override @@ -6741,8 +6201,6 @@ public com.google.bigtable.v2.RowFilter.Condition getCondition() { } } /** - * - * *
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6764,8 +6222,6 @@ public Builder setCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6785,8 +6241,6 @@ public Builder setCondition(
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6796,13 +6250,10 @@ public Builder setCondition(
      */
     public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value) {
       if (conditionBuilder_ == null) {
-        if (filterCase_ == 3
-            && filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
-          filter_ =
-              com.google.bigtable.v2.RowFilter.Condition.newBuilder(
-                      (com.google.bigtable.v2.RowFilter.Condition) filter_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (filterCase_ == 3 &&
+            filter_ != com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance()) {
+          filter_ = com.google.bigtable.v2.RowFilter.Condition.newBuilder((com.google.bigtable.v2.RowFilter.Condition) filter_)
+              .mergeFrom(value).buildPartial();
         } else {
           filter_ = value;
         }
@@ -6818,8 +6269,6 @@ public Builder mergeCondition(com.google.bigtable.v2.RowFilter.Condition value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6844,8 +6293,6 @@ public Builder clearCondition() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6857,8 +6304,6 @@ public com.google.bigtable.v2.RowFilter.Condition.Builder getConditionBuilder()
       return getConditionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6878,8 +6323,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * Applies one of two possible RowFilters to the data based on the output of
      * a predicate RowFilter.
@@ -6888,19 +6331,14 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * .google.bigtable.v2.RowFilter.Condition condition = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowFilter.Condition,
-            com.google.bigtable.v2.RowFilter.Condition.Builder,
-            com.google.bigtable.v2.RowFilter.ConditionOrBuilder>
+        com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder> 
         getConditionFieldBuilder() {
       if (conditionBuilder_ == null) {
         if (!(filterCase_ == 3)) {
           filter_ = com.google.bigtable.v2.RowFilter.Condition.getDefaultInstance();
         }
-        conditionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowFilter.Condition,
-                com.google.bigtable.v2.RowFilter.Condition.Builder,
-                com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
+        conditionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowFilter.Condition, com.google.bigtable.v2.RowFilter.Condition.Builder, com.google.bigtable.v2.RowFilter.ConditionOrBuilder>(
                 (com.google.bigtable.v2.RowFilter.Condition) filter_,
                 getParentForChildren(),
                 isClean());
@@ -6912,8 +6350,6 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
     }
 
     /**
-     *
-     *
      * 
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -6977,15 +6413,12 @@ public com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder
      * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ public boolean hasSink() { return filterCase_ == 16; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7049,7 +6482,6 @@ public boolean hasSink() {
      * 
* * bool sink = 16; - * * @return The sink. */ public boolean getSink() { @@ -7059,8 +6491,6 @@ public boolean getSink() { return false; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7124,7 +6554,6 @@ public boolean getSink() {
      * 
* * bool sink = 16; - * * @param value The sink to set. * @return This builder for chaining. */ @@ -7136,8 +6565,6 @@ public Builder setSink(boolean value) { return this; } /** - * - * *
      * ADVANCED USE ONLY.
      * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -7201,7 +6628,6 @@ public Builder setSink(boolean value) {
      * 
* * bool sink = 16; - * * @return This builder for chaining. */ public Builder clearSink() { @@ -7214,30 +6640,24 @@ public Builder clearSink() { } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ public boolean hasPassAllFilter() { return filterCase_ == 17; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ public boolean getPassAllFilter() { @@ -7247,15 +6667,12 @@ public boolean getPassAllFilter() { return false; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @param value The passAllFilter to set. * @return This builder for chaining. */ @@ -7267,15 +6684,12 @@ public Builder setPassAllFilter(boolean value) { return this; } /** - * - * *
      * Matches all cells, regardless of input. Functionally equivalent to
      * leaving `filter` unset, but included for completeness.
      * 
* * bool pass_all_filter = 17; - * * @return This builder for chaining. */ public Builder clearPassAllFilter() { @@ -7288,30 +6702,24 @@ public Builder clearPassAllFilter() { } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ public boolean hasBlockAllFilter() { return filterCase_ == 18; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ public boolean getBlockAllFilter() { @@ -7321,15 +6729,12 @@ public boolean getBlockAllFilter() { return false; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @param value The blockAllFilter to set. * @return This builder for chaining. */ @@ -7341,15 +6746,12 @@ public Builder setBlockAllFilter(boolean value) { return this; } /** - * - * *
      * Does not match any cells, regardless of input. Useful for temporarily
      * disabling just part of a filter.
      * 
* * bool block_all_filter = 18; - * * @return This builder for chaining. */ public Builder clearBlockAllFilter() { @@ -7362,8 +6764,6 @@ public Builder clearBlockAllFilter() { } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7375,15 +6775,12 @@ public Builder clearBlockAllFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ public boolean hasRowKeyRegexFilter() { return filterCase_ == 4; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7395,7 +6792,6 @@ public boolean hasRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ public com.google.protobuf.ByteString getRowKeyRegexFilter() { @@ -7405,8 +6801,6 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7418,22 +6812,17 @@ public com.google.protobuf.ByteString getRowKeyRegexFilter() {
      * 
* * bytes row_key_regex_filter = 4; - * * @param value The rowKeyRegexFilter to set. * @return This builder for chaining. */ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 4; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from rows whose keys satisfy the given RE2 regex. In
      * other words, passes through the entire row when the key matches, and
@@ -7445,7 +6834,6 @@ public Builder setRowKeyRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key_regex_filter = 4; - * * @return This builder for chaining. */ public Builder clearRowKeyRegexFilter() { @@ -7458,30 +6846,24 @@ public Builder clearRowKeyRegexFilter() { } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ public boolean hasRowSampleFilter() { return filterCase_ == 14; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ public double getRowSampleFilter() { @@ -7491,15 +6873,12 @@ public double getRowSampleFilter() { return 0D; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @param value The rowSampleFilter to set. * @return This builder for chaining. */ @@ -7511,15 +6890,12 @@ public Builder setRowSampleFilter(double value) { return this; } /** - * - * *
      * Matches all cells from a row with probability p, and matches no cells
      * from the row with probability 1-p.
      * 
* * double row_sample_filter = 14; - * * @return This builder for chaining. */ public Builder clearRowSampleFilter() { @@ -7532,8 +6908,6 @@ public Builder clearRowSampleFilter() { } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7544,7 +6918,6 @@ public Builder clearRowSampleFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ @java.lang.Override @@ -7552,8 +6925,6 @@ public boolean hasFamilyNameRegexFilter() { return filterCase_ == 5; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7564,7 +6935,6 @@ public boolean hasFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ @java.lang.Override @@ -7574,7 +6944,8 @@ public java.lang.String getFamilyNameRegexFilter() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 5) { filter_ = s; @@ -7585,8 +6956,6 @@ public java.lang.String getFamilyNameRegexFilter() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7597,18 +6966,19 @@ public java.lang.String getFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ @java.lang.Override - public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { + public com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes() { java.lang.Object ref = ""; if (filterCase_ == 5) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 5) { filter_ = b; } @@ -7618,8 +6988,6 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() { } } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7630,22 +6998,18 @@ public com.google.protobuf.ByteString getFamilyNameRegexFilterBytes() {
      * 
* * string family_name_regex_filter = 5; - * * @param value The familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 5; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7656,7 +7020,6 @@ public Builder setFamilyNameRegexFilter(java.lang.String value) {
      * 
* * string family_name_regex_filter = 5; - * * @return This builder for chaining. */ public Builder clearFamilyNameRegexFilter() { @@ -7668,8 +7031,6 @@ public Builder clearFamilyNameRegexFilter() { return this; } /** - * - * *
      * Matches only cells from columns whose families satisfy the given RE2
      * regex. For technical reasons, the regex must not contain the `:`
@@ -7680,14 +7041,12 @@ public Builder clearFamilyNameRegexFilter() {
      * 
* * string family_name_regex_filter = 5; - * * @param value The bytes for familyNameRegexFilter to set. * @return This builder for chaining. */ - public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFamilyNameRegexFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 5; filter_ = value; @@ -7696,8 +7055,6 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7708,15 +7065,12 @@ public Builder setFamilyNameRegexFilterBytes(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ public boolean hasColumnQualifierRegexFilter() { return filterCase_ == 6; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7727,7 +7081,6 @@ public boolean hasColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { @@ -7737,8 +7090,6 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7749,22 +7100,17 @@ public com.google.protobuf.ByteString getColumnQualifierRegexFilter() {
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @param value The columnQualifierRegexFilter to set. * @return This builder for chaining. */ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 6; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells from columns whose qualifiers satisfy the given RE2
      * regex.
@@ -7775,7 +7121,6 @@ public Builder setColumnQualifierRegexFilter(com.google.protobuf.ByteString valu
      * 
* * bytes column_qualifier_regex_filter = 6; - * * @return This builder for chaining. */ public Builder clearColumnQualifierRegexFilter() { @@ -7788,19 +7133,13 @@ public Builder clearColumnQualifierRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> - columnRangeFilterBuilder_; + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> columnRangeFilterBuilder_; /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ @java.lang.Override @@ -7808,14 +7147,11 @@ public boolean hasColumnRangeFilter() { return filterCase_ == 7; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ @java.lang.Override @@ -7833,8 +7169,6 @@ public com.google.bigtable.v2.ColumnRange getColumnRangeFilter() { } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7855,8 +7189,6 @@ public Builder setColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7875,8 +7207,6 @@ public Builder setColumnRangeFilter( return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7885,13 +7215,10 @@ public Builder setColumnRangeFilter( */ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) { if (columnRangeFilterBuilder_ == null) { - if (filterCase_ == 7 - && filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ColumnRange.newBuilder( - (com.google.bigtable.v2.ColumnRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 7 && + filter_ != com.google.bigtable.v2.ColumnRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ColumnRange.newBuilder((com.google.bigtable.v2.ColumnRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -7907,8 +7234,6 @@ public Builder mergeColumnRangeFilter(com.google.bigtable.v2.ColumnRange value) return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7932,8 +7257,6 @@ public Builder clearColumnRangeFilter() { return this; } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7944,8 +7267,6 @@ public com.google.bigtable.v2.ColumnRange.Builder getColumnRangeFilterBuilder() return getColumnRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7964,8 +7285,6 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } } /** - * - * *
      * Matches only cells from columns within the given range.
      * 
@@ -7973,20 +7292,17 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder * .google.bigtable.v2.ColumnRange column_range_filter = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder> + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder> getColumnRangeFilterFieldBuilder() { if (columnRangeFilterBuilder_ == null) { if (!(filterCase_ == 7)) { filter_ = com.google.bigtable.v2.ColumnRange.getDefaultInstance(); } - columnRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ColumnRange, - com.google.bigtable.v2.ColumnRange.Builder, - com.google.bigtable.v2.ColumnRangeOrBuilder>( - (com.google.bigtable.v2.ColumnRange) filter_, getParentForChildren(), isClean()); + columnRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ColumnRange, com.google.bigtable.v2.ColumnRange.Builder, com.google.bigtable.v2.ColumnRangeOrBuilder>( + (com.google.bigtable.v2.ColumnRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 7; @@ -7995,19 +7311,13 @@ public com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> - timestampRangeFilterBuilder_; + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> timestampRangeFilterBuilder_; /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ @java.lang.Override @@ -8015,14 +7325,11 @@ public boolean hasTimestampRangeFilter() { return filterCase_ == 8; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ @java.lang.Override @@ -8040,8 +7347,6 @@ public com.google.bigtable.v2.TimestampRange getTimestampRangeFilter() { } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8062,8 +7367,6 @@ public Builder setTimestampRangeFilter(com.google.bigtable.v2.TimestampRange val return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8082,8 +7385,6 @@ public Builder setTimestampRangeFilter( return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8092,13 +7393,10 @@ public Builder setTimestampRangeFilter( */ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange value) { if (timestampRangeFilterBuilder_ == null) { - if (filterCase_ == 8 - && filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.TimestampRange.newBuilder( - (com.google.bigtable.v2.TimestampRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 8 && + filter_ != com.google.bigtable.v2.TimestampRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.TimestampRange.newBuilder((com.google.bigtable.v2.TimestampRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8114,8 +7412,6 @@ public Builder mergeTimestampRangeFilter(com.google.bigtable.v2.TimestampRange v return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8139,8 +7435,6 @@ public Builder clearTimestampRangeFilter() { return this; } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8151,8 +7445,6 @@ public com.google.bigtable.v2.TimestampRange.Builder getTimestampRangeFilterBuil return getTimestampRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8171,8 +7463,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } } /** - * - * *
      * Matches only cells with timestamps within the given range.
      * 
@@ -8180,20 +7470,17 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder> + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder> getTimestampRangeFilterFieldBuilder() { if (timestampRangeFilterBuilder_ == null) { if (!(filterCase_ == 8)) { filter_ = com.google.bigtable.v2.TimestampRange.getDefaultInstance(); } - timestampRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.TimestampRange, - com.google.bigtable.v2.TimestampRange.Builder, - com.google.bigtable.v2.TimestampRangeOrBuilder>( - (com.google.bigtable.v2.TimestampRange) filter_, getParentForChildren(), isClean()); + timestampRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.TimestampRange, com.google.bigtable.v2.TimestampRange.Builder, com.google.bigtable.v2.TimestampRangeOrBuilder>( + (com.google.bigtable.v2.TimestampRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 8; @@ -8202,8 +7489,6 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8213,15 +7498,12 @@ public com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrB
      * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ public boolean hasValueRegexFilter() { return filterCase_ == 9; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8231,7 +7513,6 @@ public boolean hasValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ public com.google.protobuf.ByteString getValueRegexFilter() { @@ -8241,8 +7522,6 @@ public com.google.protobuf.ByteString getValueRegexFilter() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8252,22 +7531,17 @@ public com.google.protobuf.ByteString getValueRegexFilter() {
      * 
* * bytes value_regex_filter = 9; - * * @param value The valueRegexFilter to set. * @return This builder for chaining. */ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } filterCase_ = 9; filter_ = value; onChanged(); return this; } /** - * - * *
      * Matches only cells with values that satisfy the given regular expression.
      * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -8277,7 +7551,6 @@ public Builder setValueRegexFilter(com.google.protobuf.ByteString value) {
      * 
* * bytes value_regex_filter = 9; - * * @return This builder for chaining. */ public Builder clearValueRegexFilter() { @@ -8290,19 +7563,13 @@ public Builder clearValueRegexFilter() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> - valueRangeFilterBuilder_; + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> valueRangeFilterBuilder_; /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ @java.lang.Override @@ -8310,14 +7577,11 @@ public boolean hasValueRangeFilter() { return filterCase_ == 15; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ @java.lang.Override @@ -8335,8 +7599,6 @@ public com.google.bigtable.v2.ValueRange getValueRangeFilter() { } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8357,15 +7619,14 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; */ - public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder builderForValue) { + public Builder setValueRangeFilter( + com.google.bigtable.v2.ValueRange.Builder builderForValue) { if (valueRangeFilterBuilder_ == null) { filter_ = builderForValue.build(); onChanged(); @@ -8376,8 +7637,6 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8386,13 +7645,10 @@ public Builder setValueRangeFilter(com.google.bigtable.v2.ValueRange.Builder bui */ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { if (valueRangeFilterBuilder_ == null) { - if (filterCase_ == 15 - && filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { - filter_ = - com.google.bigtable.v2.ValueRange.newBuilder( - (com.google.bigtable.v2.ValueRange) filter_) - .mergeFrom(value) - .buildPartial(); + if (filterCase_ == 15 && + filter_ != com.google.bigtable.v2.ValueRange.getDefaultInstance()) { + filter_ = com.google.bigtable.v2.ValueRange.newBuilder((com.google.bigtable.v2.ValueRange) filter_) + .mergeFrom(value).buildPartial(); } else { filter_ = value; } @@ -8408,8 +7664,6 @@ public Builder mergeValueRangeFilter(com.google.bigtable.v2.ValueRange value) { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8433,8 +7687,6 @@ public Builder clearValueRangeFilter() { return this; } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8445,8 +7697,6 @@ public com.google.bigtable.v2.ValueRange.Builder getValueRangeFilterBuilder() { return getValueRangeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8465,8 +7715,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } } /** - * - * *
      * Matches only cells with values that fall within the given range.
      * 
@@ -8474,20 +7722,17 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() * .google.bigtable.v2.ValueRange value_range_filter = 15; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder> + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder> getValueRangeFilterFieldBuilder() { if (valueRangeFilterBuilder_ == null) { if (!(filterCase_ == 15)) { filter_ = com.google.bigtable.v2.ValueRange.getDefaultInstance(); } - valueRangeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.ValueRange, - com.google.bigtable.v2.ValueRange.Builder, - com.google.bigtable.v2.ValueRangeOrBuilder>( - (com.google.bigtable.v2.ValueRange) filter_, getParentForChildren(), isClean()); + valueRangeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.ValueRange, com.google.bigtable.v2.ValueRange.Builder, com.google.bigtable.v2.ValueRangeOrBuilder>( + (com.google.bigtable.v2.ValueRange) filter_, + getParentForChildren(), + isClean()); filter_ = null; } filterCase_ = 15; @@ -8496,8 +7741,6 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder() } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8505,15 +7748,12 @@ public com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder()
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ public boolean hasCellsPerRowOffsetFilter() { return filterCase_ == 10; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8521,7 +7761,6 @@ public boolean hasCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ public int getCellsPerRowOffsetFilter() { @@ -8531,8 +7770,6 @@ public int getCellsPerRowOffsetFilter() { return 0; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8540,7 +7777,6 @@ public int getCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @param value The cellsPerRowOffsetFilter to set. * @return This builder for chaining. */ @@ -8552,8 +7788,6 @@ public Builder setCellsPerRowOffsetFilter(int value) { return this; } /** - * - * *
      * Skips the first N cells of each row, matching all subsequent cells.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8561,7 +7795,6 @@ public Builder setCellsPerRowOffsetFilter(int value) {
      * 
* * int32 cells_per_row_offset_filter = 10; - * * @return This builder for chaining. */ public Builder clearCellsPerRowOffsetFilter() { @@ -8574,8 +7807,6 @@ public Builder clearCellsPerRowOffsetFilter() { } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8583,15 +7814,12 @@ public Builder clearCellsPerRowOffsetFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ public boolean hasCellsPerRowLimitFilter() { return filterCase_ == 11; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8599,7 +7827,6 @@ public boolean hasCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ public int getCellsPerRowLimitFilter() { @@ -8609,8 +7836,6 @@ public int getCellsPerRowLimitFilter() { return 0; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8618,7 +7843,6 @@ public int getCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @param value The cellsPerRowLimitFilter to set. * @return This builder for chaining. */ @@ -8630,8 +7854,6 @@ public Builder setCellsPerRowLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the first N cells of each row.
      * If duplicate cells are present, as is possible when using an Interleave,
@@ -8639,7 +7861,6 @@ public Builder setCellsPerRowLimitFilter(int value) {
      * 
* * int32 cells_per_row_limit_filter = 11; - * * @return This builder for chaining. */ public Builder clearCellsPerRowLimitFilter() { @@ -8652,8 +7873,6 @@ public Builder clearCellsPerRowLimitFilter() { } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8664,15 +7883,12 @@ public Builder clearCellsPerRowLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ public boolean hasCellsPerColumnLimitFilter() { return filterCase_ == 12; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8683,7 +7899,6 @@ public boolean hasCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ public int getCellsPerColumnLimitFilter() { @@ -8693,8 +7908,6 @@ public int getCellsPerColumnLimitFilter() { return 0; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8705,7 +7918,6 @@ public int getCellsPerColumnLimitFilter() {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @param value The cellsPerColumnLimitFilter to set. * @return This builder for chaining. */ @@ -8717,8 +7929,6 @@ public Builder setCellsPerColumnLimitFilter(int value) { return this; } /** - * - * *
      * Matches only the most recent N cells within each column. For example,
      * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -8729,7 +7939,6 @@ public Builder setCellsPerColumnLimitFilter(int value) {
      * 
* * int32 cells_per_column_limit_filter = 12; - * * @return This builder for chaining. */ public Builder clearCellsPerColumnLimitFilter() { @@ -8742,28 +7951,22 @@ public Builder clearCellsPerColumnLimitFilter() { } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ public boolean hasStripValueTransformer() { return filterCase_ == 13; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ public boolean getStripValueTransformer() { @@ -8773,14 +7976,11 @@ public boolean getStripValueTransformer() { return false; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @param value The stripValueTransformer to set. * @return This builder for chaining. */ @@ -8792,14 +7992,11 @@ public Builder setStripValueTransformer(boolean value) { return this; } /** - * - * *
      * Replaces each cell's value with the empty string.
      * 
* * bool strip_value_transformer = 13; - * * @return This builder for chaining. */ public Builder clearStripValueTransformer() { @@ -8812,8 +8009,6 @@ public Builder clearStripValueTransformer() { } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8831,7 +8026,6 @@ public Builder clearStripValueTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ @java.lang.Override @@ -8839,8 +8033,6 @@ public boolean hasApplyLabelTransformer() { return filterCase_ == 19; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8858,7 +8050,6 @@ public boolean hasApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ @java.lang.Override @@ -8868,7 +8059,8 @@ public java.lang.String getApplyLabelTransformer() { ref = filter_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (filterCase_ == 19) { filter_ = s; @@ -8879,8 +8071,6 @@ public java.lang.String getApplyLabelTransformer() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8898,18 +8088,19 @@ public java.lang.String getApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ @java.lang.Override - public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { + public com.google.protobuf.ByteString + getApplyLabelTransformerBytes() { java.lang.Object ref = ""; if (filterCase_ == 19) { ref = filter_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); if (filterCase_ == 19) { filter_ = b; } @@ -8919,8 +8110,6 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() { } } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8938,22 +8127,18 @@ public com.google.protobuf.ByteString getApplyLabelTransformerBytes() {
      * 
* * string apply_label_transformer = 19; - * * @param value The applyLabelTransformer to set. * @return This builder for chaining. */ - public Builder setApplyLabelTransformer(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformer( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filterCase_ = 19; filter_ = value; onChanged(); return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -8971,7 +8156,6 @@ public Builder setApplyLabelTransformer(java.lang.String value) {
      * 
* * string apply_label_transformer = 19; - * * @return This builder for chaining. */ public Builder clearApplyLabelTransformer() { @@ -8983,8 +8167,6 @@ public Builder clearApplyLabelTransformer() { return this; } /** - * - * *
      * Applies the given label to all cells in the output row. This allows
      * the client to determine which results were produced from which part of
@@ -9002,23 +8184,21 @@ public Builder clearApplyLabelTransformer() {
      * 
* * string apply_label_transformer = 19; - * * @param value The bytes for applyLabelTransformer to set. * @return This builder for chaining. */ - public Builder setApplyLabelTransformerBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setApplyLabelTransformerBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filterCase_ = 19; filter_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9028,12 +8208,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowFilter) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowFilter) private static final com.google.bigtable.v2.RowFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowFilter(); } @@ -9042,27 +8222,27 @@ public static com.google.bigtable.v2.RowFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9077,4 +8257,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java similarity index 94% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java index 70b8cdd308..696a699e3d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowFilterOrBuilder.java @@ -1,57 +1,33 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface RowFilterOrBuilder - extends +public interface RowFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return Whether the chain field is set. */ boolean hasChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
    * 
* * .google.bigtable.v2.RowFilter.Chain chain = 1; - * * @return The chain. */ com.google.bigtable.v2.RowFilter.Chain getChain(); /** - * - * *
    * Applies several RowFilters to the data in sequence, progressively
    * narrowing the results.
@@ -62,34 +38,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ChainOrBuilder getChainOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return Whether the interleave field is set. */ boolean hasInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
    * 
* * .google.bigtable.v2.RowFilter.Interleave interleave = 2; - * * @return The interleave. */ com.google.bigtable.v2.RowFilter.Interleave getInterleave(); /** - * - * *
    * Applies several RowFilters to the data in parallel and combines the
    * results.
@@ -100,34 +68,26 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.InterleaveOrBuilder getInterleaveOrBuilder();
 
   /**
-   *
-   *
    * 
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return Whether the condition field is set. */ boolean hasCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
    * 
* * .google.bigtable.v2.RowFilter.Condition condition = 3; - * * @return The condition. */ com.google.bigtable.v2.RowFilter.Condition getCondition(); /** - * - * *
    * Applies one of two possible RowFilters to the data based on the output of
    * a predicate RowFilter.
@@ -138,8 +98,6 @@ public interface RowFilterOrBuilder
   com.google.bigtable.v2.RowFilter.ConditionOrBuilder getConditionOrBuilder();
 
   /**
-   *
-   *
    * 
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -203,13 +161,10 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return Whether the sink field is set. */ boolean hasSink(); /** - * - * *
    * ADVANCED USE ONLY.
    * Hook for introspection into the RowFilter. Outputs all cells directly to
@@ -273,68 +228,53 @@ public interface RowFilterOrBuilder
    * 
* * bool sink = 16; - * * @return The sink. */ boolean getSink(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return Whether the passAllFilter field is set. */ boolean hasPassAllFilter(); /** - * - * *
    * Matches all cells, regardless of input. Functionally equivalent to
    * leaving `filter` unset, but included for completeness.
    * 
* * bool pass_all_filter = 17; - * * @return The passAllFilter. */ boolean getPassAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return Whether the blockAllFilter field is set. */ boolean hasBlockAllFilter(); /** - * - * *
    * Does not match any cells, regardless of input. Useful for temporarily
    * disabling just part of a filter.
    * 
* * bool block_all_filter = 18; - * * @return The blockAllFilter. */ boolean getBlockAllFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -346,13 +286,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return Whether the rowKeyRegexFilter field is set. */ boolean hasRowKeyRegexFilter(); /** - * - * *
    * Matches only cells from rows whose keys satisfy the given RE2 regex. In
    * other words, passes through the entire row when the key matches, and
@@ -364,41 +301,32 @@ public interface RowFilterOrBuilder
    * 
* * bytes row_key_regex_filter = 4; - * * @return The rowKeyRegexFilter. */ com.google.protobuf.ByteString getRowKeyRegexFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return Whether the rowSampleFilter field is set. */ boolean hasRowSampleFilter(); /** - * - * *
    * Matches all cells from a row with probability p, and matches no cells
    * from the row with probability 1-p.
    * 
* * double row_sample_filter = 14; - * * @return The rowSampleFilter. */ double getRowSampleFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -409,13 +337,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return Whether the familyNameRegexFilter field is set. */ boolean hasFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -426,13 +351,10 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The familyNameRegexFilter. */ java.lang.String getFamilyNameRegexFilter(); /** - * - * *
    * Matches only cells from columns whose families satisfy the given RE2
    * regex. For technical reasons, the regex must not contain the `:`
@@ -443,14 +365,12 @@ public interface RowFilterOrBuilder
    * 
* * string family_name_regex_filter = 5; - * * @return The bytes for familyNameRegexFilter. */ - com.google.protobuf.ByteString getFamilyNameRegexFilterBytes(); + com.google.protobuf.ByteString + getFamilyNameRegexFilterBytes(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -461,13 +381,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return Whether the columnQualifierRegexFilter field is set. */ boolean hasColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns whose qualifiers satisfy the given RE2
    * regex.
@@ -478,38 +395,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes column_qualifier_regex_filter = 6; - * * @return The columnQualifierRegexFilter. */ com.google.protobuf.ByteString getColumnQualifierRegexFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return Whether the columnRangeFilter field is set. */ boolean hasColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
* * .google.bigtable.v2.ColumnRange column_range_filter = 7; - * * @return The columnRangeFilter. */ com.google.bigtable.v2.ColumnRange getColumnRangeFilter(); /** - * - * *
    * Matches only cells from columns within the given range.
    * 
@@ -519,32 +427,24 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ColumnRangeOrBuilder getColumnRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return Whether the timestampRangeFilter field is set. */ boolean hasTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
* * .google.bigtable.v2.TimestampRange timestamp_range_filter = 8; - * * @return The timestampRangeFilter. */ com.google.bigtable.v2.TimestampRange getTimestampRangeFilter(); /** - * - * *
    * Matches only cells with timestamps within the given range.
    * 
@@ -554,8 +454,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.TimestampRangeOrBuilder getTimestampRangeFilterOrBuilder(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -565,13 +463,10 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return Whether the valueRegexFilter field is set. */ boolean hasValueRegexFilter(); /** - * - * *
    * Matches only cells with values that satisfy the given regular expression.
    * Note that, since cell values can contain arbitrary bytes, the `\C` escape
@@ -581,38 +476,29 @@ public interface RowFilterOrBuilder
    * 
* * bytes value_regex_filter = 9; - * * @return The valueRegexFilter. */ com.google.protobuf.ByteString getValueRegexFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return Whether the valueRangeFilter field is set. */ boolean hasValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
* * .google.bigtable.v2.ValueRange value_range_filter = 15; - * * @return The valueRangeFilter. */ com.google.bigtable.v2.ValueRange getValueRangeFilter(); /** - * - * *
    * Matches only cells with values that fall within the given range.
    * 
@@ -622,8 +508,6 @@ public interface RowFilterOrBuilder com.google.bigtable.v2.ValueRangeOrBuilder getValueRangeFilterOrBuilder(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -631,13 +515,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return Whether the cellsPerRowOffsetFilter field is set. */ boolean hasCellsPerRowOffsetFilter(); /** - * - * *
    * Skips the first N cells of each row, matching all subsequent cells.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -645,14 +526,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_offset_filter = 10; - * * @return The cellsPerRowOffsetFilter. */ int getCellsPerRowOffsetFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -660,13 +538,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return Whether the cellsPerRowLimitFilter field is set. */ boolean hasCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the first N cells of each row.
    * If duplicate cells are present, as is possible when using an Interleave,
@@ -674,14 +549,11 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_row_limit_filter = 11; - * * @return The cellsPerRowLimitFilter. */ int getCellsPerRowLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -692,13 +564,10 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return Whether the cellsPerColumnLimitFilter field is set. */ boolean hasCellsPerColumnLimitFilter(); /** - * - * *
    * Matches only the most recent N cells within each column. For example,
    * if N=2, this filter would match column `foo:bar` at timestamps 10 and 9,
@@ -709,39 +578,30 @@ public interface RowFilterOrBuilder
    * 
* * int32 cells_per_column_limit_filter = 12; - * * @return The cellsPerColumnLimitFilter. */ int getCellsPerColumnLimitFilter(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return Whether the stripValueTransformer field is set. */ boolean hasStripValueTransformer(); /** - * - * *
    * Replaces each cell's value with the empty string.
    * 
* * bool strip_value_transformer = 13; - * * @return The stripValueTransformer. */ boolean getStripValueTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -759,13 +619,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return Whether the applyLabelTransformer field is set. */ boolean hasApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -783,13 +640,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The applyLabelTransformer. */ java.lang.String getApplyLabelTransformer(); /** - * - * *
    * Applies the given label to all cells in the output row. This allows
    * the client to determine which results were produced from which part of
@@ -807,10 +661,10 @@ public interface RowFilterOrBuilder
    * 
* * string apply_label_transformer = 19; - * * @return The bytes for applyLabelTransformer. */ - com.google.protobuf.ByteString getApplyLabelTransformerBytes(); + com.google.protobuf.ByteString + getApplyLabelTransformerBytes(); com.google.bigtable.v2.RowFilter.FilterCase getFilterCase(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java index d471b84330..6909229c95 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface RowOrBuilder - extends +public interface RowOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.Row) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The unique key which identifies this row within its table. This is the same
    * key that's used to identify the row in, for example, a MutateRowRequest.
@@ -33,14 +15,11 @@ public interface RowOrBuilder
    * 
* * bytes key = 1; - * * @return The key. */ com.google.protobuf.ByteString getKey(); /** - * - * *
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -48,10 +27,9 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  java.util.List getFamiliesList();
+  java.util.List 
+      getFamiliesList();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -61,8 +39,6 @@ public interface RowOrBuilder
    */
   com.google.bigtable.v2.Family getFamilies(int index);
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -72,8 +48,6 @@ public interface RowOrBuilder
    */
   int getFamiliesCount();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -81,10 +55,9 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  java.util.List getFamiliesOrBuilderList();
+  java.util.List 
+      getFamiliesOrBuilderList();
   /**
-   *
-   *
    * 
    * May be empty, but only if the entire row is empty.
    * The mutual ordering of column families is not specified.
@@ -92,5 +65,6 @@ public interface RowOrBuilder
    *
    * repeated .google.bigtable.v2.Family families = 2;
    */
-  com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(int index);
+  com.google.bigtable.v2.FamilyOrBuilder getFamiliesOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
similarity index 70%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
index ed56161568..3aefa3f4c6 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRange.java
@@ -1,77 +1,57 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specifies a contiguous range of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ -public final class RowRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowRange) RowRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowRange.newBuilder() to construct. private RowRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private RowRange() {} + private RowRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } private int startKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startKey_; - public enum StartKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_KEY_CLOSED(1), START_KEY_OPEN(2), STARTKEY_NOT_SET(0); private final int value; - private StartKeyCase(int value) { this.value = value; } @@ -87,40 +67,33 @@ public static StartKeyCase valueOf(int value) { public static StartKeyCase forNumber(int value) { switch (value) { - case 1: - return START_KEY_CLOSED; - case 2: - return START_KEY_OPEN; - case 0: - return STARTKEY_NOT_SET; - default: - return null; + case 1: return START_KEY_CLOSED; + case 2: return START_KEY_OPEN; + case 0: return STARTKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } private int endKeyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endKey_; - public enum EndKeyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_KEY_OPEN(3), END_KEY_CLOSED(4), ENDKEY_NOT_SET(0); private final int value; - private EndKeyCase(int value) { this.value = value; } @@ -136,36 +109,30 @@ public static EndKeyCase valueOf(int value) { public static EndKeyCase forNumber(int value) { switch (value) { - case 3: - return END_KEY_OPEN; - case 4: - return END_KEY_CLOSED; - case 0: - return ENDKEY_NOT_SET; - default: - return null; + case 3: return END_KEY_OPEN; + case 4: return END_KEY_CLOSED; + case 0: return ENDKEY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public static final int START_KEY_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ @java.lang.Override @@ -173,14 +140,11 @@ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ @java.lang.Override @@ -193,14 +157,11 @@ public com.google.protobuf.ByteString getStartKeyClosed() { public static final int START_KEY_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ @java.lang.Override @@ -208,14 +169,11 @@ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ @java.lang.Override @@ -228,14 +186,11 @@ public com.google.protobuf.ByteString getStartKeyOpen() { public static final int END_KEY_OPEN_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ @java.lang.Override @@ -243,14 +198,11 @@ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ @java.lang.Override @@ -263,14 +215,11 @@ public com.google.protobuf.ByteString getEndKeyOpen() { public static final int END_KEY_CLOSED_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ @java.lang.Override @@ -278,14 +227,11 @@ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ @java.lang.Override @@ -297,7 +243,6 @@ public com.google.protobuf.ByteString getEndKeyClosed() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,18 +254,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startKeyCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startKey_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endKey_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endKey_); } getUnknownFields().writeTo(output); } @@ -332,24 +282,24 @@ public int getSerializedSize() { size = 0; if (startKeyCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startKey_); } if (startKeyCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startKey_); } if (endKeyCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endKey_); } if (endKeyCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endKey_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -359,7 +309,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowRange)) { return super.equals(obj); @@ -369,10 +319,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartKeyCase().equals(other.getStartKeyCase())) return false; switch (startKeyCase_) { case 1: - if (!getStartKeyClosed().equals(other.getStartKeyClosed())) return false; + if (!getStartKeyClosed() + .equals(other.getStartKeyClosed())) return false; break; case 2: - if (!getStartKeyOpen().equals(other.getStartKeyOpen())) return false; + if (!getStartKeyOpen() + .equals(other.getStartKeyOpen())) return false; break; case 0: default: @@ -380,10 +332,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndKeyCase().equals(other.getEndKeyCase())) return false; switch (endKeyCase_) { case 3: - if (!getEndKeyOpen().equals(other.getEndKeyOpen())) return false; + if (!getEndKeyOpen() + .equals(other.getEndKeyOpen())) return false; break; case 4: - if (!getEndKeyClosed().equals(other.getEndKeyClosed())) return false; + if (!getEndKeyClosed() + .equals(other.getEndKeyClosed())) return false; break; case 0: default: @@ -428,134 +382,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange 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.v2.RowRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.RowRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowRange) com.google.bigtable.v2.RowRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowRange.class, com.google.bigtable.v2.RowRange.Builder.class); } // Construct using com.google.bigtable.v2.RowRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -568,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowRange_descriptor; } @java.lang.Override @@ -590,9 +542,7 @@ public com.google.bigtable.v2.RowRange build() { @java.lang.Override public com.google.bigtable.v2.RowRange buildPartial() { com.google.bigtable.v2.RowRange result = new com.google.bigtable.v2.RowRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -613,39 +563,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.RowRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowRange) { - return mergeFrom((com.google.bigtable.v2.RowRange) other); + return mergeFrom((com.google.bigtable.v2.RowRange)other); } else { super.mergeFrom(other); return this; @@ -655,36 +604,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.RowRange other) { if (other == com.google.bigtable.v2.RowRange.getDefaultInstance()) return this; switch (other.getStartKeyCase()) { - case START_KEY_CLOSED: - { - setStartKeyClosed(other.getStartKeyClosed()); - break; - } - case START_KEY_OPEN: - { - setStartKeyOpen(other.getStartKeyOpen()); - break; - } - case STARTKEY_NOT_SET: - { - break; - } + case START_KEY_CLOSED: { + setStartKeyClosed(other.getStartKeyClosed()); + break; + } + case START_KEY_OPEN: { + setStartKeyOpen(other.getStartKeyOpen()); + break; + } + case STARTKEY_NOT_SET: { + break; + } } switch (other.getEndKeyCase()) { - case END_KEY_OPEN: - { - setEndKeyOpen(other.getEndKeyOpen()); - break; - } - case END_KEY_CLOSED: - { - setEndKeyClosed(other.getEndKeyClosed()); - break; - } - case ENDKEY_NOT_SET: - { - break; - } + case END_KEY_OPEN: { + setEndKeyOpen(other.getEndKeyOpen()); + break; + } + case END_KEY_CLOSED: { + setEndKeyClosed(other.getEndKeyClosed()); + break; + } + case ENDKEY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -712,37 +655,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startKey_ = input.readBytes(); - startKeyCase_ = 1; - break; - } // case 10 - case 18: - { - startKey_ = input.readBytes(); - startKeyCase_ = 2; - break; - } // case 18 - case 26: - { - endKey_ = input.readBytes(); - endKeyCase_ = 3; - break; - } // case 26 - case 34: - { - endKey_ = input.readBytes(); - endKeyCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startKey_ = input.readBytes(); + startKeyCase_ = 1; + break; + } // case 10 + case 18: { + startKey_ = input.readBytes(); + startKeyCase_ = 2; + break; + } // case 18 + case 26: { + endKey_ = input.readBytes(); + endKeyCase_ = 3; + break; + } // case 26 + case 34: { + endKey_ = input.readBytes(); + endKeyCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -752,12 +690,12 @@ public Builder mergeFrom( } // finally return this; } - private int startKeyCase_ = 0; private java.lang.Object startKey_; - - public StartKeyCase getStartKeyCase() { - return StartKeyCase.forNumber(startKeyCase_); + public StartKeyCase + getStartKeyCase() { + return StartKeyCase.forNumber( + startKeyCase_); } public Builder clearStartKey() { @@ -769,9 +707,10 @@ public Builder clearStartKey() { private int endKeyCase_ = 0; private java.lang.Object endKey_; - - public EndKeyCase getEndKeyCase() { - return EndKeyCase.forNumber(endKeyCase_); + public EndKeyCase + getEndKeyCase() { + return EndKeyCase.forNumber( + endKeyCase_); } public Builder clearEndKey() { @@ -784,28 +723,22 @@ public Builder clearEndKey() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ public boolean hasStartKeyClosed() { return startKeyCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ public com.google.protobuf.ByteString getStartKeyClosed() { @@ -815,35 +748,27 @@ public com.google.protobuf.ByteString getStartKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @param value The startKeyClosed to set. * @return This builder for chaining. */ public Builder setStartKeyClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 1; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_key_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartKeyClosed() { @@ -856,28 +781,22 @@ public Builder clearStartKeyClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ public boolean hasStartKeyOpen() { return startKeyCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ public com.google.protobuf.ByteString getStartKeyOpen() { @@ -887,35 +806,27 @@ public com.google.protobuf.ByteString getStartKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @param value The startKeyOpen to set. * @return This builder for chaining. */ public Builder setStartKeyOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startKeyCase_ = 2; startKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_key_open = 2; - * * @return This builder for chaining. */ public Builder clearStartKeyOpen() { @@ -928,28 +839,22 @@ public Builder clearStartKeyOpen() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ public boolean hasEndKeyOpen() { return endKeyCase_ == 3; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ public com.google.protobuf.ByteString getEndKeyOpen() { @@ -959,35 +864,27 @@ public com.google.protobuf.ByteString getEndKeyOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @param value The endKeyOpen to set. * @return This builder for chaining. */ public Builder setEndKeyOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 3; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_key_open = 3; - * * @return This builder for chaining. */ public Builder clearEndKeyOpen() { @@ -1000,28 +897,22 @@ public Builder clearEndKeyOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ public boolean hasEndKeyClosed() { return endKeyCase_ == 4; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ public com.google.protobuf.ByteString getEndKeyClosed() { @@ -1031,35 +922,27 @@ public com.google.protobuf.ByteString getEndKeyClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @param value The endKeyClosed to set. * @return This builder for chaining. */ public Builder setEndKeyClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endKeyCase_ = 4; endKey_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_key_closed = 4; - * * @return This builder for chaining. */ public Builder clearEndKeyClosed() { @@ -1070,9 +953,9 @@ public Builder clearEndKeyClosed() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1082,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowRange) private static final com.google.bigtable.v2.RowRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowRange(); } @@ -1096,27 +979,27 @@ public static com.google.bigtable.v2.RowRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1131,4 +1014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java index c61136e109..04cba2c1eb 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowRangeOrBuilder.java @@ -1,124 +1,84 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface RowRangeOrBuilder - extends +public interface RowRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return Whether the startKeyClosed field is set. */ boolean hasStartKeyClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_key_closed = 1; - * * @return The startKeyClosed. */ com.google.protobuf.ByteString getStartKeyClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return Whether the startKeyOpen field is set. */ boolean hasStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_key_open = 2; - * * @return The startKeyOpen. */ com.google.protobuf.ByteString getStartKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return Whether the endKeyOpen field is set. */ boolean hasEndKeyOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_key_open = 3; - * * @return The endKeyOpen. */ com.google.protobuf.ByteString getEndKeyOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return Whether the endKeyClosed field is set. */ boolean hasEndKeyClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_key_closed = 4; - * * @return The endKeyClosed. */ com.google.protobuf.ByteString getEndKeyClosed(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java index c6aa8a058e..b71ad542ae 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSet.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a non-contiguous set of rows.
  * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ -public final class RowSet extends com.google.protobuf.GeneratedMessageV3 - implements +public final class RowSet extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.RowSet) RowSetOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use RowSet.newBuilder() to construct. private RowSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RowSet() { rowKeys_ = java.util.Collections.emptyList(); rowRanges_ = java.util.Collections.emptyList(); @@ -44,65 +26,57 @@ private RowSet() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RowSet(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } public static final int ROW_KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List rowKeys_; /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ @java.lang.Override - public java.util.List getRowKeysList() { + public java.util.List + getRowKeysList() { return rowKeys_; } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -111,12 +85,9 @@ public com.google.protobuf.ByteString getRowKeys(int index) { } public static final int ROW_RANGES_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List rowRanges_; /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -128,8 +99,6 @@ public java.util.List getRowRangesList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -137,13 +106,11 @@ public java.util.List getRowRangesList() { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public java.util.List + public java.util.List getRowRangesOrBuilderList() { return rowRanges_; } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -155,8 +122,6 @@ public int getRowRangesCount() { return rowRanges_.size(); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -168,8 +133,6 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { return rowRanges_.get(index); } /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -177,12 +140,12 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ @java.lang.Override - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { return rowRanges_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -194,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < rowKeys_.size(); i++) { output.writeBytes(1, rowKeys_.get(i)); } @@ -213,13 +177,15 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < rowKeys_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(rowKeys_.get(i)); + dataSize += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(rowKeys_.get(i)); } size += dataSize; size += 1 * getRowKeysList().size(); } for (int i = 0; i < rowRanges_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, rowRanges_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, rowRanges_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -229,15 +195,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.RowSet)) { return super.equals(obj); } com.google.bigtable.v2.RowSet other = (com.google.bigtable.v2.RowSet) obj; - if (!getRowKeysList().equals(other.getRowKeysList())) return false; - if (!getRowRangesList().equals(other.getRowRangesList())) return false; + if (!getRowKeysList() + .equals(other.getRowKeysList())) return false; + if (!getRowRangesList() + .equals(other.getRowRangesList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -262,133 +230,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.RowSet parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.RowSet parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet 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.v2.RowSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.RowSet parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.RowSet parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.RowSet parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.bigtable.v2.RowSet parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.bigtable.v2.RowSet parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.RowSet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.RowSet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a non-contiguous set of rows.
    * 
* * Protobuf type {@code google.bigtable.v2.RowSet} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.RowSet) com.google.bigtable.v2.RowSetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_RowSet_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.bigtable.v2.RowSet.class, com.google.bigtable.v2.RowSet.Builder.class); } // Construct using com.google.bigtable.v2.RowSet.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -405,7 +372,8 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_RowSet_descriptor; } @@ -427,9 +395,7 @@ public com.google.bigtable.v2.RowSet build() { public com.google.bigtable.v2.RowSet buildPartial() { com.google.bigtable.v2.RowSet result = new com.google.bigtable.v2.RowSet(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -459,39 +425,38 @@ private void buildPartial0(com.google.bigtable.v2.RowSet result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.RowSet) { - return mergeFrom((com.google.bigtable.v2.RowSet) other); + return mergeFrom((com.google.bigtable.v2.RowSet)other); } else { super.mergeFrom(other); return this; @@ -528,10 +493,9 @@ public Builder mergeFrom(com.google.bigtable.v2.RowSet other) { rowRangesBuilder_ = null; rowRanges_ = other.rowRanges_; bitField0_ = (bitField0_ & ~0x00000002); - rowRangesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRowRangesFieldBuilder() - : null; + rowRangesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRowRangesFieldBuilder() : null; } else { rowRangesBuilder_.addAllMessages(other.rowRanges_); } @@ -563,32 +527,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.ByteString v = input.readBytes(); - ensureRowKeysIsMutable(); - rowKeys_.add(v); - break; - } // case 10 - case 18: - { - com.google.bigtable.v2.RowRange m = - input.readMessage(com.google.bigtable.v2.RowRange.parser(), extensionRegistry); - if (rowRangesBuilder_ == null) { - ensureRowRangesIsMutable(); - rowRanges_.add(m); - } else { - rowRangesBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.ByteString v = input.readBytes(); + ensureRowKeysIsMutable(); + rowKeys_.add(v); + break; + } // case 10 + case 18: { + com.google.bigtable.v2.RowRange m = + input.readMessage( + com.google.bigtable.v2.RowRange.parser(), + extensionRegistry); + if (rowRangesBuilder_ == null) { + ensureRowRangesIsMutable(); + rowRanges_.add(m); + } else { + rowRangesBuilder_.addMessage(m); + } + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -598,12 +561,9 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private java.util.List rowKeys_ = - java.util.Collections.emptyList(); - + private java.util.List rowKeys_ = java.util.Collections.emptyList(); private void ensureRowKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rowKeys_ = new java.util.ArrayList(rowKeys_); @@ -611,44 +571,35 @@ private void ensureRowKeysIsMutable() { } } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ - public java.util.List getRowKeysList() { - return ((bitField0_ & 0x00000001) != 0) - ? java.util.Collections.unmodifiableList(rowKeys_) - : rowKeys_; + public java.util.List + getRowKeysList() { + return ((bitField0_ & 0x00000001) != 0) ? + java.util.Collections.unmodifiableList(rowKeys_) : rowKeys_; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ public int getRowKeysCount() { return rowKeys_.size(); } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ @@ -656,76 +607,62 @@ public com.google.protobuf.ByteString getRowKeys(int index) { return rowKeys_.get(index); } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param index The index to set the value at. * @param value The rowKeys to set. * @return This builder for chaining. */ - public Builder setRowKeys(int index, com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setRowKeys( + int index, com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.set(index, value); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param value The rowKeys to add. * @return This builder for chaining. */ public Builder addRowKeys(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } ensureRowKeysIsMutable(); rowKeys_.add(value); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @param values The rowKeys to add. * @return This builder for chaining. */ public Builder addAllRowKeys( java.lang.Iterable values) { ensureRowKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowKeys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowKeys_); onChanged(); return this; } /** - * - * *
      * Single rows included in the set.
      * 
* * repeated bytes row_keys = 1; - * * @return This builder for chaining. */ public Builder clearRowKeys() { @@ -736,24 +673,18 @@ public Builder clearRowKeys() { } private java.util.List rowRanges_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRowRangesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { rowRanges_ = new java.util.ArrayList(rowRanges_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> - rowRangesBuilder_; + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangesBuilder_; /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -768,8 +699,6 @@ public java.util.List getRowRangesList() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -784,8 +713,6 @@ public int getRowRangesCount() { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -800,15 +727,14 @@ public com.google.bigtable.v2.RowRange getRowRanges(int index) { } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder setRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -822,8 +748,6 @@ public Builder setRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -842,8 +766,6 @@ public Builder setRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -864,15 +786,14 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { + public Builder addRowRanges( + int index, com.google.bigtable.v2.RowRange value) { if (rowRangesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -886,15 +807,14 @@ public Builder addRowRanges(int index, com.google.bigtable.v2.RowRange value) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForValue) { + public Builder addRowRanges( + com.google.bigtable.v2.RowRange.Builder builderForValue) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); rowRanges_.add(builderForValue.build()); @@ -905,8 +825,6 @@ public Builder addRowRanges(com.google.bigtable.v2.RowRange.Builder builderForVa return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -925,8 +843,6 @@ public Builder addRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -937,7 +853,8 @@ public Builder addAllRowRanges( java.lang.Iterable values) { if (rowRangesBuilder_ == null) { ensureRowRangesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rowRanges_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowRanges_); onChanged(); } else { rowRangesBuilder_.addAllMessages(values); @@ -945,8 +862,6 @@ public Builder addAllRowRanges( return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -964,8 +879,6 @@ public Builder clearRowRanges() { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -983,44 +896,39 @@ public Builder removeRowRanges(int index) { return this; } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder(int index) { + public com.google.bigtable.v2.RowRange.Builder getRowRangesBuilder( + int index) { return getRowRangesFieldBuilder().getBuilder(index); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) { + public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index) { if (rowRangesBuilder_ == null) { - return rowRanges_.get(index); - } else { + return rowRanges_.get(index); } else { return rowRangesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List - getRowRangesOrBuilderList() { + public java.util.List + getRowRangesOrBuilderList() { if (rowRangesBuilder_ != null) { return rowRangesBuilder_.getMessageOrBuilderList(); } else { @@ -1028,8 +936,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) } } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
@@ -1037,54 +943,49 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index) * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder() { - return getRowRangesFieldBuilder() - .addBuilder(com.google.bigtable.v2.RowRange.getDefaultInstance()); + return getRowRangesFieldBuilder().addBuilder( + com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder(int index) { - return getRowRangesFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.RowRange.getDefaultInstance()); + public com.google.bigtable.v2.RowRange.Builder addRowRangesBuilder( + int index) { + return getRowRangesFieldBuilder().addBuilder( + index, com.google.bigtable.v2.RowRange.getDefaultInstance()); } /** - * - * *
      * Contiguous row ranges included in the set.
      * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - public java.util.List getRowRangesBuilderList() { + public java.util.List + getRowRangesBuilderList() { return getRowRangesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder> + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> getRowRangesFieldBuilder() { if (rowRangesBuilder_ == null) { - rowRangesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.RowRange, - com.google.bigtable.v2.RowRange.Builder, - com.google.bigtable.v2.RowRangeOrBuilder>( - rowRanges_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + rowRangesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>( + rowRanges_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); rowRanges_ = null; } return rowRangesBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1094,12 +995,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.RowSet) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.RowSet) private static final com.google.bigtable.v2.RowSet DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.RowSet(); } @@ -1108,27 +1009,27 @@ public static com.google.bigtable.v2.RowSet getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RowSet parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RowSet parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1143,4 +1044,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.RowSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java index 5e71a057ae..5839ce968a 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RowSetOrBuilder.java @@ -1,79 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface RowSetOrBuilder - extends +public interface RowSetOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.RowSet) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return A list containing the rowKeys. */ java.util.List getRowKeysList(); /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @return The count of rowKeys. */ int getRowKeysCount(); /** - * - * *
    * Single rows included in the set.
    * 
* * repeated bytes row_keys = 1; - * * @param index The index of the element to return. * @return The rowKeys at the given index. */ com.google.protobuf.ByteString getRowKeys(int index); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - java.util.List getRowRangesList(); + java.util.List + getRowRangesList(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -82,8 +54,6 @@ public interface RowSetOrBuilder */ com.google.bigtable.v2.RowRange getRowRanges(int index); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
@@ -92,23 +62,21 @@ public interface RowSetOrBuilder */ int getRowRangesCount(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - java.util.List getRowRangesOrBuilderList(); + java.util.List + getRowRangesOrBuilderList(); /** - * - * *
    * Contiguous row ranges included in the set.
    * 
* * repeated .google.bigtable.v2.RowRange row_ranges = 2; */ - com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder(int index); + com.google.bigtable.v2.RowRangeOrBuilder getRowRangesOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java similarity index 66% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java index 1a9388a81c..66ad21cecf 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Request message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ -public final class SampleRowKeysRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysRequest) SampleRowKeysRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysRequest.newBuilder() to construct. private SampleRowKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysRequest() { tableName_ = ""; appProfileId_ = ""; @@ -44,42 +26,35 @@ private SampleRowKeysRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } public static final int TABLE_NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object tableName_ = ""; /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ @java.lang.Override @@ -88,33 +63,31 @@ public java.lang.String getTableName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; } } /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ @java.lang.Override - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -123,19 +96,15 @@ public com.google.protobuf.ByteString getTableNameBytes() { } public static final int APP_PROFILE_ID_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object appProfileId_ = ""; /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ @java.lang.Override @@ -144,30 +113,30 @@ public java.lang.String getAppProfileId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; } } /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ @java.lang.Override - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -176,7 +145,6 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -188,7 +156,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tableName_); } @@ -218,16 +187,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysRequest)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysRequest other = - (com.google.bigtable.v2.SampleRowKeysRequest) obj; + com.google.bigtable.v2.SampleRowKeysRequest other = (com.google.bigtable.v2.SampleRowKeysRequest) obj; - if (!getTableName().equals(other.getTableName())) return false; - if (!getAppProfileId().equals(other.getAppProfileId())) return false; + if (!getTableName() + .equals(other.getTableName())) return false; + if (!getAppProfileId() + .equals(other.getAppProfileId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -248,136 +218,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest 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.v2.SampleRowKeysRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysRequest) com.google.bigtable.v2.SampleRowKeysRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysRequest.class, - com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); + com.google.bigtable.v2.SampleRowKeysRequest.class, com.google.bigtable.v2.SampleRowKeysRequest.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -388,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; } @java.lang.Override @@ -409,11 +375,8 @@ public com.google.bigtable.v2.SampleRowKeysRequest build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysRequest buildPartial() { - com.google.bigtable.v2.SampleRowKeysRequest result = - new com.google.bigtable.v2.SampleRowKeysRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysRequest result = new com.google.bigtable.v2.SampleRowKeysRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -432,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysRequest) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysRequest)other); } else { super.mergeFrom(other); return this; @@ -509,25 +471,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - tableName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - appProfileId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + tableName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + appProfileId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,29 +496,24 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object tableName_ = ""; /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tableName_ = s; return s; @@ -568,25 +522,22 @@ public java.lang.String getTableName() { } } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - public com.google.protobuf.ByteString getTableNameBytes() { + public com.google.protobuf.ByteString + getTableNameBytes() { java.lang.Object ref = tableName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tableName_ = b; return b; } else { @@ -594,43 +545,32 @@ public com.google.protobuf.ByteString getTableNameBytes() { } } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The tableName to set. * @return This builder for chaining. */ - public Builder setTableName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } tableName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearTableName() { @@ -640,25 +580,19 @@ public Builder clearTableName() { return this; } /** - * - * *
      * Required. The unique name of the table from which to sample row keys.
      * Values are of the form
      * `projects/<project>/instances/<instance>/tables/<table>`.
      * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for tableName to set. * @return This builder for chaining. */ - public Builder setTableNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTableNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tableName_ = value; bitField0_ |= 0x00000001; @@ -668,21 +602,19 @@ public Builder setTableNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object appProfileId_ = ""; /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ public java.lang.String getAppProfileId() { java.lang.Object ref = appProfileId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); appProfileId_ = s; return s; @@ -691,22 +623,21 @@ public java.lang.String getAppProfileId() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - public com.google.protobuf.ByteString getAppProfileIdBytes() { + public com.google.protobuf.ByteString + getAppProfileIdBytes() { java.lang.Object ref = appProfileId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); appProfileId_ = b; return b; } else { @@ -714,37 +645,30 @@ public com.google.protobuf.ByteString getAppProfileIdBytes() { } } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @return This builder for chaining. */ public Builder clearAppProfileId() { @@ -754,31 +678,27 @@ public Builder clearAppProfileId() { return this; } /** - * - * *
      * This value specifies routing for replication. If not specified, the
      * "default" application profile will be used.
      * 
* * string app_profile_id = 2; - * * @param value The bytes for appProfileId to set. * @return This builder for chaining. */ - public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAppProfileIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -788,12 +708,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysRequest) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysRequest) private static final com.google.bigtable.v2.SampleRowKeysRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysRequest(); } @@ -802,27 +722,27 @@ public static com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,4 +757,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java index 7b99d0d0f2..0aa1c48e6e 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysRequestOrBuilder.java @@ -1,85 +1,55 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface SampleRowKeysRequestOrBuilder - extends +public interface SampleRowKeysRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.SampleRowKeysRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The tableName. */ java.lang.String getTableName(); /** - * - * *
    * Required. The unique name of the table from which to sample row keys.
    * Values are of the form
    * `projects/<project>/instances/<instance>/tables/<table>`.
    * 
* - * - * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for tableName. */ - com.google.protobuf.ByteString getTableNameBytes(); + com.google.protobuf.ByteString + getTableNameBytes(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The appProfileId. */ java.lang.String getAppProfileId(); /** - * - * *
    * This value specifies routing for replication. If not specified, the
    * "default" application profile will be used.
    * 
* * string app_profile_id = 2; - * * @return The bytes for appProfileId. */ - com.google.protobuf.ByteString getAppProfileIdBytes(); + com.google.protobuf.ByteString + getAppProfileIdBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java index 30a85459cf..be83159b89 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponse.java @@ -1,72 +1,51 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; /** - * - * *
  * Response message for Bigtable.SampleRowKeys.
  * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ -public final class SampleRowKeysResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class SampleRowKeysResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.SampleRowKeysResponse) SampleRowKeysResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use SampleRowKeysResponse.newBuilder() to construct. private SampleRowKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private SampleRowKeysResponse() { rowKey_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new SampleRowKeysResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } public static final int ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -78,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -89,8 +67,6 @@ public com.google.protobuf.ByteString getRowKey() { public static final int OFFSET_BYTES_FIELD_NUMBER = 2; private long offsetBytes_ = 0L; /** - * - * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -99,7 +75,6 @@ public com.google.protobuf.ByteString getRowKey() {
    * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -108,7 +83,6 @@ public long getOffsetBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,7 +94,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!rowKey_.isEmpty()) { output.writeBytes(1, rowKey_); } @@ -137,10 +112,12 @@ public int getSerializedSize() { size = 0; if (!rowKey_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, rowKey_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, rowKey_); } if (offsetBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, offsetBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, offsetBytes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -150,16 +127,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.SampleRowKeysResponse)) { return super.equals(obj); } - com.google.bigtable.v2.SampleRowKeysResponse other = - (com.google.bigtable.v2.SampleRowKeysResponse) obj; + com.google.bigtable.v2.SampleRowKeysResponse other = (com.google.bigtable.v2.SampleRowKeysResponse) obj; - if (!getRowKey().equals(other.getRowKey())) return false; - if (getOffsetBytes() != other.getOffsetBytes()) return false; + if (!getRowKey() + .equals(other.getRowKey())) return false; + if (getOffsetBytes() + != other.getOffsetBytes()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -174,142 +152,139 @@ public int hashCode() { hash = (37 * hash) + ROW_KEY_FIELD_NUMBER; hash = (53 * hash) + getRowKey().hashCode(); hash = (37 * hash) + OFFSET_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOffsetBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOffsetBytes()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse 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.v2.SampleRowKeysResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.SampleRowKeysResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.SampleRowKeysResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.SampleRowKeysResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response message for Bigtable.SampleRowKeys.
    * 
* * Protobuf type {@code google.bigtable.v2.SampleRowKeysResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.SampleRowKeysResponse) com.google.bigtable.v2.SampleRowKeysResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.SampleRowKeysResponse.class, - com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); + com.google.bigtable.v2.SampleRowKeysResponse.class, com.google.bigtable.v2.SampleRowKeysResponse.Builder.class); } // Construct using com.google.bigtable.v2.SampleRowKeysResponse.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -320,9 +295,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.BigtableProto - .internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.BigtableProto.internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; } @java.lang.Override @@ -341,11 +316,8 @@ public com.google.bigtable.v2.SampleRowKeysResponse build() { @java.lang.Override public com.google.bigtable.v2.SampleRowKeysResponse buildPartial() { - com.google.bigtable.v2.SampleRowKeysResponse result = - new com.google.bigtable.v2.SampleRowKeysResponse(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.SampleRowKeysResponse result = new com.google.bigtable.v2.SampleRowKeysResponse(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,39 +336,38 @@ private void buildPartial0(com.google.bigtable.v2.SampleRowKeysResponse result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.SampleRowKeysResponse) { - return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse) other); + return mergeFrom((com.google.bigtable.v2.SampleRowKeysResponse)other); } else { super.mergeFrom(other); return this; @@ -437,25 +408,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - rowKey_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - offsetBytes_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + rowKey_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + offsetBytes_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -465,13 +433,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.ByteString rowKey_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -483,7 +448,6 @@ public Builder mergeFrom(
      * 
* * bytes row_key = 1; - * * @return The rowKey. */ @java.lang.Override @@ -491,8 +455,6 @@ public com.google.protobuf.ByteString getRowKey() { return rowKey_; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -504,22 +466,17 @@ public com.google.protobuf.ByteString getRowKey() {
      * 
* * bytes row_key = 1; - * * @param value The rowKey to set. * @return This builder for chaining. */ public Builder setRowKey(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } rowKey_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Sorted streamed sequence of sample row keys in the table. The table might
      * have contents before the first row key in the list and after the last one,
@@ -531,7 +488,6 @@ public Builder setRowKey(com.google.protobuf.ByteString value) {
      * 
* * bytes row_key = 1; - * * @return This builder for chaining. */ public Builder clearRowKey() { @@ -541,10 +497,8 @@ public Builder clearRowKey() { return this; } - private long offsetBytes_; + private long offsetBytes_ ; /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -553,7 +507,6 @@ public Builder clearRowKey() {
      * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ @java.lang.Override @@ -561,8 +514,6 @@ public long getOffsetBytes() { return offsetBytes_; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -571,7 +522,6 @@ public long getOffsetBytes() {
      * 
* * int64 offset_bytes = 2; - * * @param value The offsetBytes to set. * @return This builder for chaining. */ @@ -583,8 +533,6 @@ public Builder setOffsetBytes(long value) { return this; } /** - * - * *
      * Approximate total storage space used by all rows in the table which precede
      * `row_key`. Buffering the contents of all rows between two subsequent
@@ -593,7 +541,6 @@ public Builder setOffsetBytes(long value) {
      * 
* * int64 offset_bytes = 2; - * * @return This builder for chaining. */ public Builder clearOffsetBytes() { @@ -602,9 +549,9 @@ public Builder clearOffsetBytes() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.SampleRowKeysResponse) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.SampleRowKeysResponse) private static final com.google.bigtable.v2.SampleRowKeysResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.SampleRowKeysResponse(); } @@ -628,27 +575,27 @@ public static com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SampleRowKeysResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SampleRowKeysResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +610,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.SampleRowKeysResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java similarity index 65% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java index 5ee4a7e9f4..09387cbab8 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/SampleRowKeysResponseOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto package com.google.bigtable.v2; -public interface SampleRowKeysResponseOrBuilder - extends +public interface SampleRowKeysResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.SampleRowKeysResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Sorted streamed sequence of sample row keys in the table. The table might
    * have contents before the first row key in the list and after the last one,
@@ -37,14 +19,11 @@ public interface SampleRowKeysResponseOrBuilder
    * 
* * bytes row_key = 1; - * * @return The rowKey. */ com.google.protobuf.ByteString getRowKey(); /** - * - * *
    * Approximate total storage space used by all rows in the table which precede
    * `row_key`. Buffering the contents of all rows between two subsequent
@@ -53,7 +32,6 @@ public interface SampleRowKeysResponseOrBuilder
    * 
* * int64 offset_bytes = 2; - * * @return The offsetBytes. */ long getOffsetBytes(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java similarity index 67% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java index 29ab2cc4c7..6d74a706df 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationToken.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from a
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
  */
-public final class StreamContinuationToken extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationToken extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationToken)
     StreamContinuationTokenOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationToken.newBuilder() to construct.
   private StreamContinuationToken(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationToken() {
     token_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationToken();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationToken.class,
-            com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+            com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
   }
 
   public static final int PARTITION_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.StreamPartition partition_;
   /**
-   *
-   *
    * 
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasPartition() { return partition_ != null; } /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ @java.lang.Override public com.google.bigtable.v2.StreamPartition getPartition() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } /** - * - * *
    * The partition that this token applies to.
    * 
@@ -109,24 +80,18 @@ public com.google.bigtable.v2.StreamPartition getPartition() { */ @java.lang.Override public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } public static final int TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object token_ = ""; /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ @java.lang.Override @@ -135,29 +100,29 @@ public java.lang.String getToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; } } /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ @java.lang.Override - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -166,7 +131,6 @@ public com.google.protobuf.ByteString getTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -178,7 +142,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (partition_ != null) { output.writeMessage(1, getPartition()); } @@ -195,7 +160,8 @@ public int getSerializedSize() { size = 0; if (partition_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartition()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getPartition()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); @@ -208,19 +174,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationToken)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationToken other = - (com.google.bigtable.v2.StreamContinuationToken) obj; + com.google.bigtable.v2.StreamContinuationToken other = (com.google.bigtable.v2.StreamContinuationToken) obj; if (hasPartition() != other.hasPartition()) return false; if (hasPartition()) { - if (!getPartition().equals(other.getPartition())) return false; + if (!getPartition() + .equals(other.getPartition())) return false; } - if (!getToken().equals(other.getToken())) return false; + if (!getToken() + .equals(other.getToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -243,104 +210,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationToken parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken 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.v2.StreamContinuationToken parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationToken parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationToken parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationToken prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from a
@@ -349,32 +311,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationToken}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationToken)
       com.google.bigtable.v2.StreamContinuationTokenOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationToken.class,
-              com.google.bigtable.v2.StreamContinuationToken.Builder.class);
+              com.google.bigtable.v2.StreamContinuationToken.class, com.google.bigtable.v2.StreamContinuationToken.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationToken.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -389,9 +352,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationToken_descriptor;
     }
 
     @java.lang.Override
@@ -410,11 +373,8 @@ public com.google.bigtable.v2.StreamContinuationToken build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
-      com.google.bigtable.v2.StreamContinuationToken result =
-          new com.google.bigtable.v2.StreamContinuationToken(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamContinuationToken result = new com.google.bigtable.v2.StreamContinuationToken(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -422,7 +382,9 @@ public com.google.bigtable.v2.StreamContinuationToken buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partition_ = partitionBuilder_ == null ? partition_ : partitionBuilder_.build();
+        result.partition_ = partitionBuilder_ == null
+            ? partition_
+            : partitionBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.token_ = token_;
@@ -433,39 +395,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationToken result
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationToken) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationToken)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -508,25 +469,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                token_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              token_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -536,52 +496,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.StreamPartition partition_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.StreamPartition,
-            com.google.bigtable.v2.StreamPartition.Builder,
-            com.google.bigtable.v2.StreamPartitionOrBuilder>
-        partitionBuilder_;
+        com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> partitionBuilder_;
     /**
-     *
-     *
      * 
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ public boolean hasPartition() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ public com.google.bigtable.v2.StreamPartition getPartition() { if (partitionBuilder_ == null) { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } else { return partitionBuilder_.getMessage(); } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -602,15 +548,14 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
* * .google.bigtable.v2.StreamPartition partition = 1; */ - public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder builderForValue) { + public Builder setPartition( + com.google.bigtable.v2.StreamPartition.Builder builderForValue) { if (partitionBuilder_ == null) { partition_ = builderForValue.build(); } else { @@ -621,8 +566,6 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -631,9 +574,9 @@ public Builder setPartition(com.google.bigtable.v2.StreamPartition.Builder build */ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { if (partitionBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && partition_ != null - && partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + partition_ != null && + partition_ != com.google.bigtable.v2.StreamPartition.getDefaultInstance()) { getPartitionBuilder().mergeFrom(value); } else { partition_ = value; @@ -646,8 +589,6 @@ public Builder mergePartition(com.google.bigtable.v2.StreamPartition value) { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -665,8 +606,6 @@ public Builder clearPartition() { return this; } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -679,8 +618,6 @@ public com.google.bigtable.v2.StreamPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -691,14 +628,11 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { if (partitionBuilder_ != null) { return partitionBuilder_.getMessageOrBuilder(); } else { - return partition_ == null - ? com.google.bigtable.v2.StreamPartition.getDefaultInstance() - : partition_; + return partition_ == null ? + com.google.bigtable.v2.StreamPartition.getDefaultInstance() : partition_; } } /** - * - * *
      * The partition that this token applies to.
      * 
@@ -706,17 +640,14 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { * .google.bigtable.v2.StreamPartition partition = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder> + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { - partitionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.bigtable.v2.StreamPartition, - com.google.bigtable.v2.StreamPartition.Builder, - com.google.bigtable.v2.StreamPartitionOrBuilder>( - getPartition(), getParentForChildren(), isClean()); + partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.bigtable.v2.StreamPartition, com.google.bigtable.v2.StreamPartition.Builder, com.google.bigtable.v2.StreamPartitionOrBuilder>( + getPartition(), + getParentForChildren(), + isClean()); partition_ = null; } return partitionBuilder_; @@ -724,20 +655,18 @@ public com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder() { private java.lang.Object token_ = ""; /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The token. */ public java.lang.String getToken() { java.lang.Object ref = token_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); token_ = s; return s; @@ -746,21 +675,20 @@ public java.lang.String getToken() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return The bytes for token. */ - public com.google.protobuf.ByteString getTokenBytes() { + public com.google.protobuf.ByteString + getTokenBytes() { java.lang.Object ref = token_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); token_ = b; return b; } else { @@ -768,35 +696,28 @@ public com.google.protobuf.ByteString getTokenBytes() { } } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The token to set. * @return This builder for chaining. */ - public Builder setToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @return This builder for chaining. */ public Builder clearToken() { @@ -806,30 +727,26 @@ public Builder clearToken() { return this; } /** - * - * *
      * An encoded position in the stream to restart reading from.
      * 
* * string token = 2; - * * @param value The bytes for token to set. * @return This builder for chaining. */ - public Builder setTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); token_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -839,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationToken) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationToken) private static final com.google.bigtable.v2.StreamContinuationToken DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationToken(); } @@ -853,27 +770,27 @@ public static com.google.bigtable.v2.StreamContinuationToken getDefaultInstance( return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationToken parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -888,4 +805,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationToken getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java similarity index 63% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java index c281f0450c..06b58ad23f 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokenOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokenOrBuilder - extends +public interface StreamContinuationTokenOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationToken) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return Whether the partition field is set. */ boolean hasPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
* * .google.bigtable.v2.StreamPartition partition = 1; - * * @return The partition. */ com.google.bigtable.v2.StreamPartition getPartition(); /** - * - * *
    * The partition that this token applies to.
    * 
@@ -59,27 +35,22 @@ public interface StreamContinuationTokenOrBuilder com.google.bigtable.v2.StreamPartitionOrBuilder getPartitionOrBuilder(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The token. */ java.lang.String getToken(); /** - * - * *
    * An encoded position in the stream to restart reading from.
    * 
* * string token = 2; - * * @return The bytes for token. */ - com.google.protobuf.ByteString getTokenBytes(); + com.google.protobuf.ByteString + getTokenBytes(); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java similarity index 70% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java index 5e88cabe1a..e69be94cd1 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokens.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * The information required to continue reading the data from multiple
@@ -29,48 +12,43 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
  */
-public final class StreamContinuationTokens extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamContinuationTokens extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamContinuationTokens)
     StreamContinuationTokensOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamContinuationTokens.newBuilder() to construct.
   private StreamContinuationTokens(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private StreamContinuationTokens() {
     tokens_ = java.util.Collections.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamContinuationTokens();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamContinuationTokens.class,
-            com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+            com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
   }
 
   public static final int TOKENS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List tokens_;
   /**
-   *
-   *
    * 
    * List of continuation tokens.
    * 
@@ -82,8 +60,6 @@ public java.util.List getTokensL return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -91,13 +67,11 @@ public java.util.List getTokensL * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTokensOrBuilderList() { return tokens_; } /** - * - * *
    * List of continuation tokens.
    * 
@@ -109,8 +83,6 @@ public int getTokensCount() { return tokens_.size(); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -122,8 +94,6 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { return tokens_.get(index); } /** - * - * *
    * List of continuation tokens.
    * 
@@ -131,12 +101,12 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ @java.lang.Override - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { return tokens_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -148,7 +118,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tokens_.size(); i++) { output.writeMessage(1, tokens_.get(i)); } @@ -162,7 +133,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tokens_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tokens_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tokens_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -172,15 +144,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.StreamContinuationTokens)) { return super.equals(obj); } - com.google.bigtable.v2.StreamContinuationTokens other = - (com.google.bigtable.v2.StreamContinuationTokens) obj; + com.google.bigtable.v2.StreamContinuationTokens other = (com.google.bigtable.v2.StreamContinuationTokens) obj; - if (!getTokensList().equals(other.getTokensList())) return false; + if (!getTokensList() + .equals(other.getTokensList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -201,104 +173,99 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens 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.v2.StreamContinuationTokens parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.StreamContinuationTokens parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.StreamContinuationTokens parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.StreamContinuationTokens prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * The information required to continue reading the data from multiple
@@ -307,32 +274,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamContinuationTokens}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamContinuationTokens)
       com.google.bigtable.v2.StreamContinuationTokensOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamContinuationTokens.class,
-              com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
+              com.google.bigtable.v2.StreamContinuationTokens.class, com.google.bigtable.v2.StreamContinuationTokens.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamContinuationTokens.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -348,9 +316,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor;
     }
 
     @java.lang.Override
@@ -369,18 +337,14 @@ public com.google.bigtable.v2.StreamContinuationTokens build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamContinuationTokens buildPartial() {
-      com.google.bigtable.v2.StreamContinuationTokens result =
-          new com.google.bigtable.v2.StreamContinuationTokens(this);
+      com.google.bigtable.v2.StreamContinuationTokens result = new com.google.bigtable.v2.StreamContinuationTokens(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.bigtable.v2.StreamContinuationTokens result) {
+    private void buildPartialRepeatedFields(com.google.bigtable.v2.StreamContinuationTokens result) {
       if (tokensBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           tokens_ = java.util.Collections.unmodifiableList(tokens_);
@@ -400,39 +364,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamContinuationTokens resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamContinuationTokens) {
-        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens) other);
+        return mergeFrom((com.google.bigtable.v2.StreamContinuationTokens)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -440,8 +403,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other) {
-      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance())
-        return this;
+      if (other == com.google.bigtable.v2.StreamContinuationTokens.getDefaultInstance()) return this;
       if (tokensBuilder_ == null) {
         if (!other.tokens_.isEmpty()) {
           if (tokens_.isEmpty()) {
@@ -460,10 +422,9 @@ public Builder mergeFrom(com.google.bigtable.v2.StreamContinuationTokens other)
             tokensBuilder_ = null;
             tokens_ = other.tokens_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            tokensBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getTokensFieldBuilder()
-                    : null;
+            tokensBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getTokensFieldBuilder() : null;
           } else {
             tokensBuilder_.addAllMessages(other.tokens_);
           }
@@ -495,26 +456,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.bigtable.v2.StreamContinuationToken m =
-                    input.readMessage(
-                        com.google.bigtable.v2.StreamContinuationToken.parser(), extensionRegistry);
-                if (tokensBuilder_ == null) {
-                  ensureTokensIsMutable();
-                  tokens_.add(m);
-                } else {
-                  tokensBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.bigtable.v2.StreamContinuationToken m =
+                  input.readMessage(
+                      com.google.bigtable.v2.StreamContinuationToken.parser(),
+                      extensionRegistry);
+              if (tokensBuilder_ == null) {
+                ensureTokensIsMutable();
+                tokens_.add(m);
+              } else {
+                tokensBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -524,28 +484,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List tokens_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureTokensIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         tokens_ = new java.util.ArrayList(tokens_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.bigtable.v2.StreamContinuationToken,
-            com.google.bigtable.v2.StreamContinuationToken.Builder,
-            com.google.bigtable.v2.StreamContinuationTokenOrBuilder>
-        tokensBuilder_;
+        com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> tokensBuilder_;
 
     /**
-     *
-     *
      * 
      * List of continuation tokens.
      * 
@@ -560,8 +513,6 @@ public java.util.List getTokensL } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -576,8 +527,6 @@ public int getTokensCount() { } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -592,15 +541,14 @@ public com.google.bigtable.v2.StreamContinuationToken getTokens(int index) { } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder setTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -614,8 +562,6 @@ public Builder setTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -634,8 +580,6 @@ public Builder setTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -656,15 +600,14 @@ public Builder addTokens(com.google.bigtable.v2.StreamContinuationToken value) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationToken value) { + public Builder addTokens( + int index, com.google.bigtable.v2.StreamContinuationToken value) { if (tokensBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -678,8 +621,6 @@ public Builder addTokens(int index, com.google.bigtable.v2.StreamContinuationTok return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -698,8 +639,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -718,8 +657,6 @@ public Builder addTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -730,7 +667,8 @@ public Builder addAllTokens( java.lang.Iterable values) { if (tokensBuilder_ == null) { ensureTokensIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tokens_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tokens_); onChanged(); } else { tokensBuilder_.addAllMessages(values); @@ -738,8 +676,6 @@ public Builder addAllTokens( return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -757,8 +693,6 @@ public Builder clearTokens() { return this; } /** - * - * *
      * List of continuation tokens.
      * 
@@ -776,44 +710,39 @@ public Builder removeTokens(int index) { return this; } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationToken.Builder getTokensBuilder( + int index) { return getTokensFieldBuilder().getBuilder(index); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index) { + public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index) { if (tokensBuilder_ == null) { - return tokens_.get(index); - } else { + return tokens_.get(index); } else { return tokensBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensOrBuilderList() { + public java.util.List + getTokensOrBuilderList() { if (tokensBuilder_ != null) { return tokensBuilder_.getMessageOrBuilderList(); } else { @@ -821,8 +750,6 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde } } /** - * - * *
      * List of continuation tokens.
      * 
@@ -830,55 +757,49 @@ public com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilde * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder() { - return getTokensFieldBuilder() - .addBuilder(com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + return getTokensFieldBuilder().addBuilder( + com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder(int index) { - return getTokensFieldBuilder() - .addBuilder(index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); + public com.google.bigtable.v2.StreamContinuationToken.Builder addTokensBuilder( + int index) { + return getTokensFieldBuilder().addBuilder( + index, com.google.bigtable.v2.StreamContinuationToken.getDefaultInstance()); } /** - * - * *
      * List of continuation tokens.
      * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - public java.util.List - getTokensBuilderList() { + public java.util.List + getTokensBuilderList() { return getTokensFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder> + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder> getTokensFieldBuilder() { if (tokensBuilder_ == null) { - tokensBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.bigtable.v2.StreamContinuationToken, - com.google.bigtable.v2.StreamContinuationToken.Builder, - com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( - tokens_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tokensBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.bigtable.v2.StreamContinuationToken, com.google.bigtable.v2.StreamContinuationToken.Builder, com.google.bigtable.v2.StreamContinuationTokenOrBuilder>( + tokens_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tokens_ = null; } return tokensBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -888,12 +809,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamContinuationTokens) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamContinuationTokens) private static final com.google.bigtable.v2.StreamContinuationTokens DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamContinuationTokens(); } @@ -902,27 +823,27 @@ public static com.google.bigtable.v2.StreamContinuationTokens getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StreamContinuationTokens parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StreamContinuationTokens parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -937,4 +858,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.StreamContinuationTokens getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java similarity index 64% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java index bdb440ac55..2b8350d5ee 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamContinuationTokensOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface StreamContinuationTokensOrBuilder - extends +public interface StreamContinuationTokensOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamContinuationTokens) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List getTokensList(); + java.util.List + getTokensList(); /** - * - * *
    * List of continuation tokens.
    * 
@@ -44,8 +25,6 @@ public interface StreamContinuationTokensOrBuilder */ com.google.bigtable.v2.StreamContinuationToken getTokens(int index); /** - * - * *
    * List of continuation tokens.
    * 
@@ -54,24 +33,21 @@ public interface StreamContinuationTokensOrBuilder */ int getTokensCount(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - java.util.List + java.util.List getTokensOrBuilderList(); /** - * - * *
    * List of continuation tokens.
    * 
* * repeated .google.bigtable.v2.StreamContinuationToken tokens = 1; */ - com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder(int index); + com.google.bigtable.v2.StreamContinuationTokenOrBuilder getTokensOrBuilder( + int index); } diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java similarity index 68% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java index eec47f6a71..d11c2a2108 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartition.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * NOTE: This API is intended to be used by Apache Beam BigtableIO.
  * A partition of a change stream.
@@ -28,51 +11,47 @@
  *
  * Protobuf type {@code google.bigtable.v2.StreamPartition}
  */
-public final class StreamPartition extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class StreamPartition extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.bigtable.v2.StreamPartition)
     StreamPartitionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use StreamPartition.newBuilder() to construct.
   private StreamPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private StreamPartition() {}
+  private StreamPartition() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new StreamPartition();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.bigtable.v2.DataProto
-        .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+    return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.bigtable.v2.StreamPartition.class,
-            com.google.bigtable.v2.StreamPartition.Builder.class);
+            com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
   }
 
   public static final int ROW_RANGE_FIELD_NUMBER = 1;
   private com.google.bigtable.v2.RowRange rowRange_;
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ @java.lang.Override @@ -80,15 +59,12 @@ public boolean hasRowRange() { return rowRange_ != null; } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ @java.lang.Override @@ -96,8 +72,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_; } /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
@@ -111,7 +85,6 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -123,7 +96,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (rowRange_ != null) {
       output.writeMessage(1, getRowRange());
     }
@@ -137,7 +111,8 @@ public int getSerializedSize() {
 
     size = 0;
     if (rowRange_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRowRange());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRowRange());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -147,7 +122,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.bigtable.v2.StreamPartition)) {
       return super.equals(obj);
@@ -156,7 +131,8 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasRowRange() != other.hasRowRange()) return false;
     if (hasRowRange()) {
-      if (!getRowRange().equals(other.getRowRange())) return false;
+      if (!getRowRange()
+          .equals(other.getRowRange())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -178,104 +154,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.bigtable.v2.StreamPartition parseFrom(java.nio.ByteBuffer data)
+  public static com.google.bigtable.v2.StreamPartition parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition 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.v2.StreamPartition parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.bigtable.v2.StreamPartition parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.bigtable.v2.StreamPartition parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.bigtable.v2.StreamPartition prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * NOTE: This API is intended to be used by Apache Beam BigtableIO.
    * A partition of a change stream.
@@ -283,32 +254,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.bigtable.v2.StreamPartition}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.bigtable.v2.StreamPartition)
       com.google.bigtable.v2.StreamPartitionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.bigtable.v2.StreamPartition.class,
-              com.google.bigtable.v2.StreamPartition.Builder.class);
+              com.google.bigtable.v2.StreamPartition.class, com.google.bigtable.v2.StreamPartition.Builder.class);
     }
 
     // Construct using com.google.bigtable.v2.StreamPartition.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -322,9 +294,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.bigtable.v2.DataProto
-          .internal_static_google_bigtable_v2_StreamPartition_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_StreamPartition_descriptor;
     }
 
     @java.lang.Override
@@ -343,11 +315,8 @@ public com.google.bigtable.v2.StreamPartition build() {
 
     @java.lang.Override
     public com.google.bigtable.v2.StreamPartition buildPartial() {
-      com.google.bigtable.v2.StreamPartition result =
-          new com.google.bigtable.v2.StreamPartition(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.bigtable.v2.StreamPartition result = new com.google.bigtable.v2.StreamPartition(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -355,7 +324,9 @@ public com.google.bigtable.v2.StreamPartition buildPartial() {
     private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.rowRange_ = rowRangeBuilder_ == null ? rowRange_ : rowRangeBuilder_.build();
+        result.rowRange_ = rowRangeBuilder_ == null
+            ? rowRange_
+            : rowRangeBuilder_.build();
       }
     }
 
@@ -363,39 +334,38 @@ private void buildPartial0(com.google.bigtable.v2.StreamPartition result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.bigtable.v2.StreamPartition) {
-        return mergeFrom((com.google.bigtable.v2.StreamPartition) other);
+        return mergeFrom((com.google.bigtable.v2.StreamPartition)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -433,19 +403,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getRowRangeFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getRowRangeFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -455,40 +425,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.bigtable.v2.RowRange rowRange_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
-        rowRangeBuilder_;
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> rowRangeBuilder_;
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ public boolean hasRowRange() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
      * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ public com.google.bigtable.v2.RowRange getRowRange() { @@ -499,8 +459,6 @@ public com.google.bigtable.v2.RowRange getRowRange() { } } /** - * - * *
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -522,8 +480,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -531,7 +487,8 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange value) {
      *
      * .google.bigtable.v2.RowRange row_range = 1;
      */
-    public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForValue) {
+    public Builder setRowRange(
+        com.google.bigtable.v2.RowRange.Builder builderForValue) {
       if (rowRangeBuilder_ == null) {
         rowRange_ = builderForValue.build();
       } else {
@@ -542,8 +499,6 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -553,9 +508,9 @@ public Builder setRowRange(com.google.bigtable.v2.RowRange.Builder builderForVal
      */
     public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       if (rowRangeBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && rowRange_ != null
-            && rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          rowRange_ != null &&
+          rowRange_ != com.google.bigtable.v2.RowRange.getDefaultInstance()) {
           getRowRangeBuilder().mergeFrom(value);
         } else {
           rowRange_ = value;
@@ -568,8 +523,6 @@ public Builder mergeRowRange(com.google.bigtable.v2.RowRange value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -588,8 +541,6 @@ public Builder clearRowRange() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -603,8 +554,6 @@ public com.google.bigtable.v2.RowRange.Builder getRowRangeBuilder() {
       return getRowRangeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -616,12 +565,11 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
       if (rowRangeBuilder_ != null) {
         return rowRangeBuilder_.getMessageOrBuilder();
       } else {
-        return rowRange_ == null ? com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
+        return rowRange_ == null ?
+            com.google.bigtable.v2.RowRange.getDefaultInstance() : rowRange_;
       }
     }
     /**
-     *
-     *
      * 
      * The row range covered by this partition and is specified by
      * [`start_key_closed`, `end_key_open`).
@@ -630,24 +578,21 @@ public com.google.bigtable.v2.RowRangeOrBuilder getRowRangeOrBuilder() {
      * .google.bigtable.v2.RowRange row_range = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.bigtable.v2.RowRange,
-            com.google.bigtable.v2.RowRange.Builder,
-            com.google.bigtable.v2.RowRangeOrBuilder>
+        com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder> 
         getRowRangeFieldBuilder() {
       if (rowRangeBuilder_ == null) {
-        rowRangeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.bigtable.v2.RowRange,
-                com.google.bigtable.v2.RowRange.Builder,
-                com.google.bigtable.v2.RowRangeOrBuilder>(
-                getRowRange(), getParentForChildren(), isClean());
+        rowRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.bigtable.v2.RowRange, com.google.bigtable.v2.RowRange.Builder, com.google.bigtable.v2.RowRangeOrBuilder>(
+                getRowRange(),
+                getParentForChildren(),
+                isClean());
         rowRange_ = null;
       }
       return rowRangeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -657,12 +602,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.bigtable.v2.StreamPartition)
   }
 
   // @@protoc_insertion_point(class_scope:google.bigtable.v2.StreamPartition)
   private static final com.google.bigtable.v2.StreamPartition DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.bigtable.v2.StreamPartition();
   }
@@ -671,27 +616,27 @@ public static com.google.bigtable.v2.StreamPartition getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public StreamPartition parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public StreamPartition parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -706,4 +651,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.bigtable.v2.StreamPartition getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
similarity index 61%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
index bc8fb502e8..b677f3325e 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/StreamPartitionOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/data.proto
 
 package com.google.bigtable.v2;
 
-public interface StreamPartitionOrBuilder
-    extends
+public interface StreamPartitionOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.bigtable.v2.StreamPartition)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return Whether the rowRange field is set. */ boolean hasRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
    * 
* * .google.bigtable.v2.RowRange row_range = 1; - * * @return The rowRange. */ com.google.bigtable.v2.RowRange getRowRange(); /** - * - * *
    * The row range covered by this partition and is specified by
    * [`start_key_closed`, `end_key_open`).
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
similarity index 100%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TableName.java
diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
similarity index 66%
rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
index 352dea7361..2952dc55e7 100644
--- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
+++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRange.java
@@ -1,76 +1,55 @@
-/*
- * Copyright 2023 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See 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/v2/data.proto
 
 package com.google.bigtable.v2;
 
 /**
- *
- *
  * 
  * Specified a contiguous range of microsecond timestamps.
  * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ -public final class TimestampRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class TimestampRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.TimestampRange) TimestampRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use TimestampRange.newBuilder() to construct. private TimestampRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private TimestampRange() {} + private TimestampRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new TimestampRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } public static final int START_TIMESTAMP_MICROS_FIELD_NUMBER = 1; private long startTimestampMicros_ = 0L; /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -81,14 +60,11 @@ public long getStartTimestampMicros() { public static final int END_TIMESTAMP_MICROS_FIELD_NUMBER = 2; private long endTimestampMicros_ = 0L; /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -97,7 +73,6 @@ public long getEndTimestampMicros() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -109,7 +84,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startTimestampMicros_ != 0L) { output.writeInt64(1, startTimestampMicros_); } @@ -126,10 +102,12 @@ public int getSerializedSize() { size = 0; if (startTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, startTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, startTimestampMicros_); } if (endTimestampMicros_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, endTimestampMicros_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, endTimestampMicros_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -139,15 +117,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.TimestampRange)) { return super.equals(obj); } com.google.bigtable.v2.TimestampRange other = (com.google.bigtable.v2.TimestampRange) obj; - if (getStartTimestampMicros() != other.getStartTimestampMicros()) return false; - if (getEndTimestampMicros() != other.getEndTimestampMicros()) return false; + if (getStartTimestampMicros() + != other.getStartTimestampMicros()) return false; + if (getEndTimestampMicros() + != other.getEndTimestampMicros()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,143 +140,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + START_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getStartTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTimestampMicros()); hash = (37 * hash) + END_TIMESTAMP_MICROS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndTimestampMicros()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTimestampMicros()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.TimestampRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.TimestampRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange 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.v2.TimestampRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.TimestampRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.TimestampRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.TimestampRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.TimestampRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specified a contiguous range of microsecond timestamps.
    * 
* * Protobuf type {@code google.bigtable.v2.TimestampRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.TimestampRange) com.google.bigtable.v2.TimestampRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.TimestampRange.class, - com.google.bigtable.v2.TimestampRange.Builder.class); + com.google.bigtable.v2.TimestampRange.class, com.google.bigtable.v2.TimestampRange.Builder.class); } // Construct using com.google.bigtable.v2.TimestampRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -307,9 +286,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_TimestampRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_TimestampRange_descriptor; } @java.lang.Override @@ -328,11 +307,8 @@ public com.google.bigtable.v2.TimestampRange build() { @java.lang.Override public com.google.bigtable.v2.TimestampRange buildPartial() { - com.google.bigtable.v2.TimestampRange result = - new com.google.bigtable.v2.TimestampRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.bigtable.v2.TimestampRange result = new com.google.bigtable.v2.TimestampRange(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -351,39 +327,38 @@ private void buildPartial0(com.google.bigtable.v2.TimestampRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.TimestampRange) { - return mergeFrom((com.google.bigtable.v2.TimestampRange) other); + return mergeFrom((com.google.bigtable.v2.TimestampRange)other); } else { super.mergeFrom(other); return this; @@ -424,25 +399,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - startTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - endTimestampMicros_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + startTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + endTimestampMicros_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -452,19 +424,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long startTimestampMicros_; + private long startTimestampMicros_ ; /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ @java.lang.Override @@ -472,14 +440,11 @@ public long getStartTimestampMicros() { return startTimestampMicros_; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @param value The startTimestampMicros to set. * @return This builder for chaining. */ @@ -491,14 +456,11 @@ public Builder setStartTimestampMicros(long value) { return this; } /** - * - * *
      * Inclusive lower bound. If left empty, interpreted as 0.
      * 
* * int64 start_timestamp_micros = 1; - * * @return This builder for chaining. */ public Builder clearStartTimestampMicros() { @@ -508,16 +470,13 @@ public Builder clearStartTimestampMicros() { return this; } - private long endTimestampMicros_; + private long endTimestampMicros_ ; /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ @java.lang.Override @@ -525,14 +484,11 @@ public long getEndTimestampMicros() { return endTimestampMicros_; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @param value The endTimestampMicros to set. * @return This builder for chaining. */ @@ -544,14 +500,11 @@ public Builder setEndTimestampMicros(long value) { return this; } /** - * - * *
      * Exclusive upper bound. If left empty, interpreted as infinity.
      * 
* * int64 end_timestamp_micros = 2; - * * @return This builder for chaining. */ public Builder clearEndTimestampMicros() { @@ -560,9 +513,9 @@ public Builder clearEndTimestampMicros() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -572,12 +525,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.TimestampRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.TimestampRange) private static final com.google.bigtable.v2.TimestampRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.TimestampRange(); } @@ -586,27 +539,27 @@ public static com.google.bigtable.v2.TimestampRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public TimestampRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TimestampRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -621,4 +574,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.TimestampRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java similarity index 51% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java index 30572c3e16..2e4edee88b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/TimestampRangeOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface TimestampRangeOrBuilder - extends +public interface TimestampRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.TimestampRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Inclusive lower bound. If left empty, interpreted as 0.
    * 
* * int64 start_timestamp_micros = 1; - * * @return The startTimestampMicros. */ long getStartTimestampMicros(); /** - * - * *
    * Exclusive upper bound. If left empty, interpreted as infinity.
    * 
* * int64 end_timestamp_micros = 2; - * * @return The endTimestampMicros. */ long getEndTimestampMicros(); diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java similarity index 69% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java index df1f931daf..f0aa909e9b 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRange.java @@ -1,79 +1,57 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; /** - * - * *
  * Specifies a contiguous range of raw byte values.
  * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ -public final class ValueRange extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ValueRange extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.bigtable.v2.ValueRange) ValueRangeOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ValueRange.newBuilder() to construct. private ValueRange(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ValueRange() {} + private ValueRange() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ValueRange(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } private int startValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object startValue_; - public enum StartValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { START_VALUE_CLOSED(1), START_VALUE_OPEN(2), STARTVALUE_NOT_SET(0); private final int value; - private StartValueCase(int value) { this.value = value; } @@ -89,40 +67,33 @@ public static StartValueCase valueOf(int value) { public static StartValueCase forNumber(int value) { switch (value) { - case 1: - return START_VALUE_CLOSED; - case 2: - return START_VALUE_OPEN; - case 0: - return STARTVALUE_NOT_SET; - default: - return null; + case 1: return START_VALUE_CLOSED; + case 2: return START_VALUE_OPEN; + case 0: return STARTVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } private int endValueCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object endValue_; - public enum EndValueCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { END_VALUE_CLOSED(3), END_VALUE_OPEN(4), ENDVALUE_NOT_SET(0); private final int value; - private EndValueCase(int value) { this.value = value; } @@ -138,36 +109,30 @@ public static EndValueCase valueOf(int value) { public static EndValueCase forNumber(int value) { switch (value) { - case 3: - return END_VALUE_CLOSED; - case 4: - return END_VALUE_OPEN; - case 0: - return ENDVALUE_NOT_SET; - default: - return null; + case 3: return END_VALUE_CLOSED; + case 4: return END_VALUE_OPEN; + case 0: return ENDVALUE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public static final int START_VALUE_CLOSED_FIELD_NUMBER = 1; /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ @java.lang.Override @@ -175,14 +140,11 @@ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ @java.lang.Override @@ -195,14 +157,11 @@ public com.google.protobuf.ByteString getStartValueClosed() { public static final int START_VALUE_OPEN_FIELD_NUMBER = 2; /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ @java.lang.Override @@ -210,14 +169,11 @@ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ @java.lang.Override @@ -230,14 +186,11 @@ public com.google.protobuf.ByteString getStartValueOpen() { public static final int END_VALUE_CLOSED_FIELD_NUMBER = 3; /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ @java.lang.Override @@ -245,14 +198,11 @@ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ @java.lang.Override @@ -265,14 +215,11 @@ public com.google.protobuf.ByteString getEndValueClosed() { public static final int END_VALUE_OPEN_FIELD_NUMBER = 4; /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ @java.lang.Override @@ -280,14 +227,11 @@ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ @java.lang.Override @@ -299,7 +243,6 @@ public com.google.protobuf.ByteString getEndValueOpen() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,18 +254,23 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (startValueCase_ == 1) { - output.writeBytes(1, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - output.writeBytes(2, (com.google.protobuf.ByteString) startValue_); + output.writeBytes( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - output.writeBytes(4, (com.google.protobuf.ByteString) endValue_); + output.writeBytes( + 4, (com.google.protobuf.ByteString) endValue_); } getUnknownFields().writeTo(output); } @@ -334,24 +282,24 @@ public int getSerializedSize() { size = 0; if (startValueCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 1, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 1, (com.google.protobuf.ByteString) startValue_); } if (startValueCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 2, (com.google.protobuf.ByteString) startValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 2, (com.google.protobuf.ByteString) startValue_); } if (endValueCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) endValue_); } if (endValueCase_ == 4) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 4, (com.google.protobuf.ByteString) endValue_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 4, (com.google.protobuf.ByteString) endValue_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -361,7 +309,7 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.bigtable.v2.ValueRange)) { return super.equals(obj); @@ -371,10 +319,12 @@ public boolean equals(final java.lang.Object obj) { if (!getStartValueCase().equals(other.getStartValueCase())) return false; switch (startValueCase_) { case 1: - if (!getStartValueClosed().equals(other.getStartValueClosed())) return false; + if (!getStartValueClosed() + .equals(other.getStartValueClosed())) return false; break; case 2: - if (!getStartValueOpen().equals(other.getStartValueOpen())) return false; + if (!getStartValueOpen() + .equals(other.getStartValueOpen())) return false; break; case 0: default: @@ -382,10 +332,12 @@ public boolean equals(final java.lang.Object obj) { if (!getEndValueCase().equals(other.getEndValueCase())) return false; switch (endValueCase_) { case 3: - if (!getEndValueClosed().equals(other.getEndValueClosed())) return false; + if (!getEndValueClosed() + .equals(other.getEndValueClosed())) return false; break; case 4: - if (!getEndValueOpen().equals(other.getEndValueOpen())) return false; + if (!getEndValueOpen() + .equals(other.getEndValueOpen())) return false; break; case 0: default: @@ -430,135 +382,132 @@ public int hashCode() { return hash; } - public static com.google.bigtable.v2.ValueRange parseFrom(java.nio.ByteBuffer data) + public static com.google.bigtable.v2.ValueRange parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.bigtable.v2.ValueRange parseFrom(com.google.protobuf.ByteString data) + public static com.google.bigtable.v2.ValueRange parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange 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.v2.ValueRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.bigtable.v2.ValueRange parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.bigtable.v2.ValueRange parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.bigtable.v2.ValueRange parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.bigtable.v2.ValueRange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.bigtable.v2.ValueRange prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Specifies a contiguous range of raw byte values.
    * 
* * Protobuf type {@code google.bigtable.v2.ValueRange} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.bigtable.v2.ValueRange) com.google.bigtable.v2.ValueRangeOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.bigtable.v2.ValueRange.class, - com.google.bigtable.v2.ValueRange.Builder.class); + com.google.bigtable.v2.ValueRange.class, com.google.bigtable.v2.ValueRange.Builder.class); } // Construct using com.google.bigtable.v2.ValueRange.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -571,9 +520,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.bigtable.v2.DataProto - .internal_static_google_bigtable_v2_ValueRange_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.bigtable.v2.DataProto.internal_static_google_bigtable_v2_ValueRange_descriptor; } @java.lang.Override @@ -593,9 +542,7 @@ public com.google.bigtable.v2.ValueRange build() { @java.lang.Override public com.google.bigtable.v2.ValueRange buildPartial() { com.google.bigtable.v2.ValueRange result = new com.google.bigtable.v2.ValueRange(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -616,39 +563,38 @@ private void buildPartialOneofs(com.google.bigtable.v2.ValueRange result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.bigtable.v2.ValueRange) { - return mergeFrom((com.google.bigtable.v2.ValueRange) other); + return mergeFrom((com.google.bigtable.v2.ValueRange)other); } else { super.mergeFrom(other); return this; @@ -658,36 +604,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.bigtable.v2.ValueRange other) { if (other == com.google.bigtable.v2.ValueRange.getDefaultInstance()) return this; switch (other.getStartValueCase()) { - case START_VALUE_CLOSED: - { - setStartValueClosed(other.getStartValueClosed()); - break; - } - case START_VALUE_OPEN: - { - setStartValueOpen(other.getStartValueOpen()); - break; - } - case STARTVALUE_NOT_SET: - { - break; - } + case START_VALUE_CLOSED: { + setStartValueClosed(other.getStartValueClosed()); + break; + } + case START_VALUE_OPEN: { + setStartValueOpen(other.getStartValueOpen()); + break; + } + case STARTVALUE_NOT_SET: { + break; + } } switch (other.getEndValueCase()) { - case END_VALUE_CLOSED: - { - setEndValueClosed(other.getEndValueClosed()); - break; - } - case END_VALUE_OPEN: - { - setEndValueOpen(other.getEndValueOpen()); - break; - } - case ENDVALUE_NOT_SET: - { - break; - } + case END_VALUE_CLOSED: { + setEndValueClosed(other.getEndValueClosed()); + break; + } + case END_VALUE_OPEN: { + setEndValueOpen(other.getEndValueOpen()); + break; + } + case ENDVALUE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -715,37 +655,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - startValue_ = input.readBytes(); - startValueCase_ = 1; - break; - } // case 10 - case 18: - { - startValue_ = input.readBytes(); - startValueCase_ = 2; - break; - } // case 18 - case 26: - { - endValue_ = input.readBytes(); - endValueCase_ = 3; - break; - } // case 26 - case 34: - { - endValue_ = input.readBytes(); - endValueCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + startValue_ = input.readBytes(); + startValueCase_ = 1; + break; + } // case 10 + case 18: { + startValue_ = input.readBytes(); + startValueCase_ = 2; + break; + } // case 18 + case 26: { + endValue_ = input.readBytes(); + endValueCase_ = 3; + break; + } // case 26 + case 34: { + endValue_ = input.readBytes(); + endValueCase_ = 4; + break; + } // case 34 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -755,12 +690,12 @@ public Builder mergeFrom( } // finally return this; } - private int startValueCase_ = 0; private java.lang.Object startValue_; - - public StartValueCase getStartValueCase() { - return StartValueCase.forNumber(startValueCase_); + public StartValueCase + getStartValueCase() { + return StartValueCase.forNumber( + startValueCase_); } public Builder clearStartValue() { @@ -772,9 +707,10 @@ public Builder clearStartValue() { private int endValueCase_ = 0; private java.lang.Object endValue_; - - public EndValueCase getEndValueCase() { - return EndValueCase.forNumber(endValueCase_); + public EndValueCase + getEndValueCase() { + return EndValueCase.forNumber( + endValueCase_); } public Builder clearEndValue() { @@ -787,28 +723,22 @@ public Builder clearEndValue() { private int bitField0_; /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ public boolean hasStartValueClosed() { return startValueCase_ == 1; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ public com.google.protobuf.ByteString getStartValueClosed() { @@ -818,35 +748,27 @@ public com.google.protobuf.ByteString getStartValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @param value The startValueClosed to set. * @return This builder for chaining. */ public Builder setStartValueClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 1; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive lower bound for the range.
      * 
* * bytes start_value_closed = 1; - * * @return This builder for chaining. */ public Builder clearStartValueClosed() { @@ -859,28 +781,22 @@ public Builder clearStartValueClosed() { } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ public boolean hasStartValueOpen() { return startValueCase_ == 2; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ public com.google.protobuf.ByteString getStartValueOpen() { @@ -890,35 +806,27 @@ public com.google.protobuf.ByteString getStartValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @param value The startValueOpen to set. * @return This builder for chaining. */ public Builder setStartValueOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startValueCase_ = 2; startValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive lower bound for the range.
      * 
* * bytes start_value_open = 2; - * * @return This builder for chaining. */ public Builder clearStartValueOpen() { @@ -931,28 +839,22 @@ public Builder clearStartValueOpen() { } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ public boolean hasEndValueClosed() { return endValueCase_ == 3; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ public com.google.protobuf.ByteString getEndValueClosed() { @@ -962,35 +864,27 @@ public com.google.protobuf.ByteString getEndValueClosed() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @param value The endValueClosed to set. * @return This builder for chaining. */ public Builder setEndValueClosed(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 3; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an inclusive upper bound for the range.
      * 
* * bytes end_value_closed = 3; - * * @return This builder for chaining. */ public Builder clearEndValueClosed() { @@ -1003,28 +897,22 @@ public Builder clearEndValueClosed() { } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ public boolean hasEndValueOpen() { return endValueCase_ == 4; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ public com.google.protobuf.ByteString getEndValueOpen() { @@ -1034,35 +922,27 @@ public com.google.protobuf.ByteString getEndValueOpen() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @param value The endValueOpen to set. * @return This builder for chaining. */ public Builder setEndValueOpen(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endValueCase_ = 4; endValue_ = value; onChanged(); return this; } /** - * - * *
      * Used when giving an exclusive upper bound for the range.
      * 
* * bytes end_value_open = 4; - * * @return This builder for chaining. */ public Builder clearEndValueOpen() { @@ -1073,9 +953,9 @@ public Builder clearEndValueOpen() { } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1085,12 +965,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.bigtable.v2.ValueRange) } // @@protoc_insertion_point(class_scope:google.bigtable.v2.ValueRange) private static final com.google.bigtable.v2.ValueRange DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.bigtable.v2.ValueRange(); } @@ -1099,27 +979,27 @@ public static com.google.bigtable.v2.ValueRange getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ValueRange parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ValueRange parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,4 +1014,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.bigtable.v2.ValueRange getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java similarity index 74% rename from proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java index 1a3d701575..0fff71fb24 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java +++ b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ValueRangeOrBuilder.java @@ -1,124 +1,84 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto package com.google.bigtable.v2; -public interface ValueRangeOrBuilder - extends +public interface ValueRangeOrBuilder extends // @@protoc_insertion_point(interface_extends:google.bigtable.v2.ValueRange) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return Whether the startValueClosed field is set. */ boolean hasStartValueClosed(); /** - * - * *
    * Used when giving an inclusive lower bound for the range.
    * 
* * bytes start_value_closed = 1; - * * @return The startValueClosed. */ com.google.protobuf.ByteString getStartValueClosed(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return Whether the startValueOpen field is set. */ boolean hasStartValueOpen(); /** - * - * *
    * Used when giving an exclusive lower bound for the range.
    * 
* * bytes start_value_open = 2; - * * @return The startValueOpen. */ com.google.protobuf.ByteString getStartValueOpen(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return Whether the endValueClosed field is set. */ boolean hasEndValueClosed(); /** - * - * *
    * Used when giving an inclusive upper bound for the range.
    * 
* * bytes end_value_closed = 3; - * * @return The endValueClosed. */ com.google.protobuf.ByteString getEndValueClosed(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return Whether the endValueOpen field is set. */ boolean hasEndValueOpen(); /** - * - * *
    * Used when giving an exclusive upper bound for the range.
    * 
* * bytes end_value_open = 4; - * * @return The endValueOpen. */ com.google.protobuf.ByteString getEndValueOpen(); diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/data.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/feature_flags.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/request_stats.proto diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto b/owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto similarity index 100% rename from proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto rename to owl-bot-staging/v2/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/response_params.proto diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java deleted file mode 100644 index 39edd95aac..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableInstanceAdminProto.java +++ /dev/null @@ -1,665 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public final class BigtableInstanceAdminProto { - private BigtableInstanceAdminProto() {} - - 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_CreateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/bigtable/admin/v2/bigtable_inst" - + "ance_admin.proto\022\030google.bigtable.admin." - + "v2\032\034google/api/annotations.proto\032\027google" - + "/api/client.proto\032\037google/api/field_beha" - + "vior.proto\032\031google/api/resource.proto\032\'g" - + "oogle/bigtable/admin/v2/instance.proto\032\036" - + "google/iam/v1/iam_policy.proto\032\032google/i" - + "am/v1/policy.proto\032#google/longrunning/o" - + "perations.proto\032\033google/protobuf/empty.p" - + "roto\032 google/protobuf/field_mask.proto\032\037" - + "google/protobuf/timestamp.proto\"\337\002\n\025Crea" - + "teInstanceRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372" - + "A-\n+cloudresourcemanager.googleapis.com/" - + "Project\022\031\n\013instance_id\030\002 \001(\tB\004\342A\001\002\022:\n\010in" - + "stance\030\003 \001(\0132\".google.bigtable.admin.v2." - + "InstanceB\004\342A\001\002\022U\n\010clusters\030\004 \003(\0132=.googl" - + "e.bigtable.admin.v2.CreateInstanceReques" - + "t.ClustersEntryB\004\342A\001\002\032R\n\rClustersEntry\022\013" - + "\n\003key\030\001 \001(\t\0220\n\005value\030\002 \001(\0132!.google.bigt" - + "able.admin.v2.Cluster:\0028\001\"R\n\022GetInstance" - + "Request\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtable" - + "admin.googleapis.com/Instance\"p\n\024ListIns" - + "tancesRequest\022D\n\006parent\030\001 \001(\tB4\342A\001\002\372A-\n+" - + "cloudresourcemanager.googleapis.com/Proj" - + "ect\022\022\n\npage_token\030\002 \001(\t\"\201\001\n\025ListInstance" - + "sResponse\0225\n\tinstances\030\001 \003(\0132\".google.bi" - + "gtable.admin.v2.Instance\022\030\n\020failed_locat" - + "ions\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t\"\221\001\n\034" - + "PartialUpdateInstanceRequest\022:\n\010instance" - + "\030\001 \001(\0132\".google.bigtable.admin.v2.Instan" - + "ceB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\002\"U\n\025DeleteInstanc" - + "eRequest\022<\n\004name\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtabl" - + "eadmin.googleapis.com/Instance\"\252\001\n\024Creat" - + "eClusterRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'" - + "\n%bigtableadmin.googleapis.com/Instance\022" - + "\030\n\ncluster_id\030\002 \001(\tB\004\342A\001\002\0228\n\007cluster\030\003 \001" - + "(\0132!.google.bigtable.admin.v2.ClusterB\004\342" - + "A\001\002\"P\n\021GetClusterRequest\022;\n\004name\030\001 \001(\tB-" - + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" - + "uster\"i\n\023ListClustersRequest\022>\n\006parent\030\001" - + " \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis." - + "com/Instance\022\022\n\npage_token\030\002 \001(\t\"~\n\024List" - + "ClustersResponse\0223\n\010clusters\030\001 \003(\0132!.goo" - + "gle.bigtable.admin.v2.Cluster\022\030\n\020failed_" - + "locations\030\002 \003(\t\022\027\n\017next_page_token\030\003 \001(\t" - + "\"S\n\024DeleteClusterRequest\022;\n\004name\030\001 \001(\tB-" - + "\342A\001\002\372A&\n$bigtableadmin.googleapis.com/Cl" - + "uster\"\306\001\n\026CreateInstanceMetadata\022I\n\020orig" - + "inal_request\030\001 \001(\0132/.google.bigtable.adm" - + "in.v2.CreateInstanceRequest\0220\n\014request_t" - + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\022/\n" - + "\013finish_time\030\003 \001(\0132\032.google.protobuf.Tim" - + "estamp\"\315\001\n\026UpdateInstanceMetadata\022P\n\020ori" - + "ginal_request\030\001 \001(\01326.google.bigtable.ad" - + "min.v2.PartialUpdateInstanceRequest\0220\n\014r" - + "equest_time\030\002 \001(\0132\032.google.protobuf.Time" - + "stamp\022/\n\013finish_time\030\003 \001(\0132\032.google.prot" - + "obuf.Timestamp\"\373\004\n\025CreateClusterMetadata" - + "\022H\n\020original_request\030\001 \001(\0132..google.bigt" - + "able.admin.v2.CreateClusterRequest\0220\n\014re" - + "quest_time\030\002 \001(\0132\032.google.protobuf.Times" - + "tamp\022/\n\013finish_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\022K\n\006tables\030\004 \003(\0132;.google.b" - + "igtable.admin.v2.CreateClusterMetadata.T" - + "ablesEntry\032\371\001\n\rTableProgress\022\034\n\024estimate" - + "d_size_bytes\030\002 \001(\003\022\036\n\026estimated_copied_b" - + "ytes\030\003 \001(\003\022R\n\005state\030\004 \001(\0162C.google.bigta" - + "ble.admin.v2.CreateClusterMetadata.Table" - + "Progress.State\"V\n\005State\022\025\n\021STATE_UNSPECI" - + "FIED\020\000\022\013\n\007PENDING\020\001\022\013\n\007COPYING\020\002\022\r\n\tCOMP" - + "LETED\020\003\022\r\n\tCANCELLED\020\004\032l\n\013TablesEntry\022\013\n" - + "\003key\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.google.bigta" - + "ble.admin.v2.CreateClusterMetadata.Table" - + "Progress:\0028\001\"\267\001\n\025UpdateClusterMetadata\022;" - + "\n\020original_request\030\001 \001(\0132!.google.bigtab" - + "le.admin.v2.Cluster\0220\n\014request_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022/\n\013finish_" - + "time\030\003 \001(\0132\032.google.protobuf.Timestamp\"\322" - + "\001\n\034PartialUpdateClusterMetadata\0220\n\014reque" - + "st_time\030\001 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013finish_time\030\002 \001(\0132\032.google.protobuf" - + ".Timestamp\022O\n\020original_request\030\003 \001(\01325.g" - + "oogle.bigtable.admin.v2.PartialUpdateClu" - + "sterRequest\"\216\001\n\033PartialUpdateClusterRequ" - + "est\0228\n\007cluster\030\001 \001(\0132!.google.bigtable.a" - + "dmin.v2.ClusterB\004\342A\001\002\0225\n\013update_mask\030\002 \001" - + "(\0132\032.google.protobuf.FieldMaskB\004\342A\001\002\"\321\001\n" - + "\027CreateAppProfileRequest\022>\n\006parent\030\001 \001(\t" - + "B.\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/" - + "Instance\022\034\n\016app_profile_id\030\002 \001(\tB\004\342A\001\002\022?" - + "\n\013app_profile\030\003 \001(\0132$.google.bigtable.ad" - + "min.v2.AppProfileB\004\342A\001\002\022\027\n\017ignore_warnin" - + "gs\030\004 \001(\010\"V\n\024GetAppProfileRequest\022>\n\004name" - + "\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadmin.googleapi" - + "s.com/AppProfile\"\177\n\026ListAppProfilesReque" - + "st\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadm" - + "in.googleapis.com/Instance\022\021\n\tpage_size\030" - + "\003 \001(\005\022\022\n\npage_token\030\002 \001(\t\"\210\001\n\027ListAppPro" - + "filesResponse\022:\n\014app_profiles\030\001 \003(\0132$.go" - + "ogle.bigtable.admin.v2.AppProfile\022\027\n\017nex" - + "t_page_token\030\002 \001(\t\022\030\n\020failed_locations\030\003" - + " \003(\t\"\252\001\n\027UpdateAppProfileRequest\022?\n\013app_" - + "profile\030\001 \001(\0132$.google.bigtable.admin.v2" - + ".AppProfileB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032" - + ".google.protobuf.FieldMaskB\004\342A\001\002\022\027\n\017igno" - + "re_warnings\030\003 \001(\010\"x\n\027DeleteAppProfileReq" - + "uest\022>\n\004name\030\001 \001(\tB0\342A\001\002\372A)\n\'bigtableadm" - + "in.googleapis.com/AppProfile\022\035\n\017ignore_w" - + "arnings\030\002 \001(\010B\004\342A\001\002\"\032\n\030UpdateAppProfileM" - + "etadata\"\333\001\n\025ListHotTabletsRequest\022=\n\006par" - + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" - + "apis.com/Cluster\022.\n\nstart_time\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\022,\n\010end_time\030\003 \001" - + "(\0132\032.google.protobuf.Timestamp\022\021\n\tpage_s" - + "ize\030\004 \001(\005\022\022\n\npage_token\030\005 \001(\t\"k\n\026ListHot" - + "TabletsResponse\0228\n\013hot_tablets\030\001 \003(\0132#.g" - + "oogle.bigtable.admin.v2.HotTablet\022\027\n\017nex" - + "t_page_token\030\002 \001(\t2\313!\n\025BigtableInstanceA" - + "dmin\022\332\001\n\016CreateInstance\022/.google.bigtabl" - + "e.admin.v2.CreateInstanceRequest\032\035.googl" - + "e.longrunning.Operation\"x\312A\"\n\010Instance\022\026" - + "CreateInstanceMetadata\332A$parent,instance" - + "_id,instance,clusters\202\323\344\223\002&\"!/v2/{parent" - + "=projects/*}/instances:\001*\022\221\001\n\013GetInstanc" - + "e\022,.google.bigtable.admin.v2.GetInstance" - + "Request\032\".google.bigtable.admin.v2.Insta" - + "nce\"0\332A\004name\202\323\344\223\002#\022!/v2/{name=projects/*" - + "/instances/*}\022\244\001\n\rListInstances\022..google" - + ".bigtable.admin.v2.ListInstancesRequest\032" - + "/.google.bigtable.admin.v2.ListInstances" - + "Response\"2\332A\006parent\202\323\344\223\002#\022!/v2/{parent=p" - + "rojects/*}/instances\022\206\001\n\016UpdateInstance\022" - + "\".google.bigtable.admin.v2.Instance\032\".go" - + "ogle.bigtable.admin.v2.Instance\",\202\323\344\223\002&\032" - + "!/v2/{name=projects/*/instances/*}:\001*\022\350\001" - + "\n\025PartialUpdateInstance\0226.google.bigtabl" - + "e.admin.v2.PartialUpdateInstanceRequest\032" - + "\035.google.longrunning.Operation\"x\312A\"\n\010Ins" - + "tance\022\026UpdateInstanceMetadata\332A\024instance" - + ",update_mask\202\323\344\223\00262*/v2/{instance.name=p" - + "rojects/*/instances/*}:\010instance\022\213\001\n\016Del" - + "eteInstance\022/.google.bigtable.admin.v2.D" - + "eleteInstanceRequest\032\026.google.protobuf.E" - + "mpty\"0\332A\004name\202\323\344\223\002#*!/v2/{name=projects/" - + "*/instances/*}\022\334\001\n\rCreateCluster\022..googl" - + "e.bigtable.admin.v2.CreateClusterRequest" - + "\032\035.google.longrunning.Operation\"|\312A \n\007Cl" - + "uster\022\025CreateClusterMetadata\332A\031parent,cl" - + "uster_id,cluster\202\323\344\223\0027\",/v2/{parent=proj" - + "ects/*/instances/*}/clusters:\007cluster\022\231\001" - + "\n\nGetCluster\022+.google.bigtable.admin.v2." - + "GetClusterRequest\032!.google.bigtable.admi" - + "n.v2.Cluster\";\332A\004name\202\323\344\223\002.\022,/v2/{name=p" - + "rojects/*/instances/*/clusters/*}\022\254\001\n\014Li" - + "stClusters\022-.google.bigtable.admin.v2.Li" - + "stClustersRequest\032..google.bigtable.admi" - + "n.v2.ListClustersResponse\"=\332A\006parent\202\323\344\223" - + "\002.\022,/v2/{parent=projects/*/instances/*}/" - + "clusters\022\255\001\n\rUpdateCluster\022!.google.bigt" - + "able.admin.v2.Cluster\032\035.google.longrunni" - + "ng.Operation\"Z\312A \n\007Cluster\022\025UpdateCluste" - + "rMetadata\202\323\344\223\0021\032,/v2/{name=projects/*/in" - + "stances/*/clusters/*}:\001*\022\364\001\n\024PartialUpda" - + "teCluster\0225.google.bigtable.admin.v2.Par" - + "tialUpdateClusterRequest\032\035.google.longru" - + "nning.Operation\"\205\001\312A\'\n\007Cluster\022\034PartialU" - + "pdateClusterMetadata\332A\023cluster,update_ma" - + "sk\202\323\344\223\002?24/v2/{cluster.name=projects/*/i" - + "nstances/*/clusters/*}:\007cluster\022\224\001\n\rDele" - + "teCluster\022..google.bigtable.admin.v2.Del" - + "eteClusterRequest\032\026.google.protobuf.Empt" - + "y\";\332A\004name\202\323\344\223\002.*,/v2/{name=projects/*/i" - + "nstances/*/clusters/*}\022\325\001\n\020CreateAppProf" - + "ile\0221.google.bigtable.admin.v2.CreateApp" - + "ProfileRequest\032$.google.bigtable.admin.v" - + "2.AppProfile\"h\332A!parent,app_profile_id,a" - + "pp_profile\202\323\344\223\002>\"//v2/{parent=projects/*" - + "/instances/*}/appProfiles:\013app_profile\022\245" - + "\001\n\rGetAppProfile\022..google.bigtable.admin" - + ".v2.GetAppProfileRequest\032$.google.bigtab" - + "le.admin.v2.AppProfile\">\332A\004name\202\323\344\223\0021\022//" - + "v2/{name=projects/*/instances/*/appProfi" - + "les/*}\022\270\001\n\017ListAppProfiles\0220.google.bigt" - + "able.admin.v2.ListAppProfilesRequest\0321.g" - + "oogle.bigtable.admin.v2.ListAppProfilesR" - + "esponse\"@\332A\006parent\202\323\344\223\0021\022//v2/{parent=pr" - + "ojects/*/instances/*}/appProfiles\022\372\001\n\020Up" - + "dateAppProfile\0221.google.bigtable.admin.v" - + "2.UpdateAppProfileRequest\032\035.google.longr" - + "unning.Operation\"\223\001\312A&\n\nAppProfile\022\030Upda" - + "teAppProfileMetadata\332A\027app_profile,updat" - + "e_mask\202\323\344\223\002J2;/v2/{app_profile.name=proj" - + "ects/*/instances/*/appProfiles/*}:\013app_p" - + "rofile\022\235\001\n\020DeleteAppProfile\0221.google.big" - + "table.admin.v2.DeleteAppProfileRequest\032\026" - + ".google.protobuf.Empty\">\332A\004name\202\323\344\223\0021*//" - + "v2/{name=projects/*/instances/*/appProfi" - + "les/*}\022\223\001\n\014GetIamPolicy\022\".google.iam.v1." - + "GetIamPolicyRequest\032\025.google.iam.v1.Poli" - + "cy\"H\332A\010resource\202\323\344\223\0027\"2/v2/{resource=pro" - + "jects/*/instances/*}:getIamPolicy:\001*\022\232\001\n" - + "\014SetIamPolicy\022\".google.iam.v1.SetIamPoli" - + "cyRequest\032\025.google.iam.v1.Policy\"O\332A\017res" - + "ource,policy\202\323\344\223\0027\"2/v2/{resource=projec" - + "ts/*/instances/*}:setIamPolicy:\001*\022\305\001\n\022Te" - + "stIamPermissions\022(.google.iam.v1.TestIam" - + "PermissionsRequest\032).google.iam.v1.TestI" - + "amPermissionsResponse\"Z\332A\024resource,permi" - + "ssions\202\323\344\223\002=\"8/v2/{resource=projects/*/i" - + "nstances/*}:testIamPermissions:\001*\022\277\001\n\016Li" - + "stHotTablets\022/.google.bigtable.admin.v2." - + "ListHotTabletsRequest\0320.google.bigtable." - + "admin.v2.ListHotTabletsResponse\"J\332A\006pare" - + "nt\202\323\344\223\002;\0229/v2/{parent=projects/*/instanc" - + "es/*/clusters/*}/hotTablets\032\232\003\312A\034bigtabl" - + "eadmin.googleapis.com\322A\367\002https://www.goo" - + "gleapis.com/auth/bigtable.admin,https://" - + "www.googleapis.com/auth/bigtable.admin.c" - + "luster,https://www.googleapis.com/auth/b" - + "igtable.admin.instance,https://www.googl" - + "eapis.com/auth/cloud-bigtable.admin,http" - + "s://www.googleapis.com/auth/cloud-bigtab" - + "le.admin.cluster,https://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\342\001\n\034com.google.bigtable.admin.v2B\032Bigta" - + "bleInstanceAdminProtoP\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" - }; - 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.InstanceProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor, - new java.lang.String[] { - "Parent", "InstanceId", "Instance", "Clusters", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceRequest_ClustersEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_GetInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_ListInstancesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ListInstancesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListInstancesResponse_descriptor, - new java.lang.String[] { - "Instances", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateInstanceRequest_descriptor, - new java.lang.String[] { - "Instance", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteInstanceRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_CreateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterRequest_descriptor, - new java.lang.String[] { - "Parent", "ClusterId", "Cluster", - }); - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_GetClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_ListClustersRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersRequest_descriptor, - new java.lang.String[] { - "Parent", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_admin_v2_ListClustersResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListClustersResponse_descriptor, - new java.lang.String[] { - "Clusters", "FailedLocations", "NextPageToken", - }); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteClusterRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateInstanceMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", "Tables", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TableProgress_descriptor, - new java.lang.String[] { - "EstimatedSizeBytes", "EstimatedCopiedBytes", "State", - }); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor = - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateClusterMetadata_TablesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateClusterMetadata_descriptor, - new java.lang.String[] { - "OriginalRequest", "RequestTime", "FinishTime", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterMetadata_descriptor, - new java.lang.String[] { - "RequestTime", "FinishTime", "OriginalRequest", - }); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_PartialUpdateClusterRequest_descriptor, - new java.lang.String[] { - "Cluster", "UpdateMask", - }); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_CreateAppProfileRequest_descriptor, - new java.lang.String[] { - "Parent", "AppProfileId", "AppProfile", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GetAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListAppProfilesResponse_descriptor, - new java.lang.String[] { - "AppProfiles", "NextPageToken", "FailedLocations", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileRequest_descriptor, - new java.lang.String[] { - "AppProfile", "UpdateMask", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_DeleteAppProfileRequest_descriptor, - new java.lang.String[] { - "Name", "IgnoreWarnings", - }); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_UpdateAppProfileMetadata_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsRequest_descriptor, - new java.lang.String[] { - "Parent", "StartTime", "EndTime", "PageSize", "PageToken", - }); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ListHotTabletsResponse_descriptor, - new java.lang.String[] { - "HotTablets", "NextPageToken", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.InstanceProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} 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 deleted file mode 100644 index 3c575dd878..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/BigtableTableAdminProto.java +++ /dev/null @@ -1,822 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 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); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_RestoreTableRequest_descriptor; - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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() { - return 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\"\263\001\n\023RestoreTableRequest" - + "\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin" - + ".googleapis.com/Instance\022\026\n\010table_id\030\002 \001" - + "(\tB\004\342A\001\002\022:\n\006backup\030\003 \001(\tB(\372A%\n#bigtablea" - + "dmin.googleapis.com/BackupH\000B\010\n\006source\"\230" - + "\002\n\024RestoreTableMetadata\022\014\n\004name\030\001 \001(\t\022@\n" - + "\013source_type\030\002 \001(\0162+.google.bigtable.adm" - + "in.v2.RestoreSourceType\022;\n\013backup_info\030\003" - + " \001(\0132$.google.bigtable.admin.v2.BackupIn" - + "foH\000\022%\n\035optimize_table_operation_name\030\004 " - + "\001(\t\022=\n\010progress\030\005 \001(\0132+.google.bigtable." - + "admin.v2.OperationProgressB\r\n\013source_inf" - + "o\"l\n\035OptimizeRestoredTableMetadata\022\014\n\004na" - + "me\030\001 \001(\t\022=\n\010progress\030\002 \001(\0132+.google.bigt" - + "able.admin.v2.OperationProgress\"\204\002\n\022Crea" - + "teTableRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n" - + "%bigtableadmin.googleapis.com/Instance\022\026" - + "\n\010table_id\030\002 \001(\tB\004\342A\001\002\0224\n\005table\030\003 \001(\0132\037." - + "google.bigtable.admin.v2.TableB\004\342A\001\002\022J\n\016" - + "initial_splits\030\004 \003(\01322.google.bigtable.a" - + "dmin.v2.CreateTableRequest.Split\032\024\n\005Spli" - + "t\022\013\n\003key\030\001 \001(\014\"\301\001\n\036CreateTableFromSnapsh" - + "otRequest\022>\n\006parent\030\001 \001(\tB.\342A\001\002\372A\'\n%bigt" - + "ableadmin.googleapis.com/Instance\022\026\n\010tab" - + "le_id\030\002 \001(\tB\004\342A\001\002\022G\n\017source_snapshot\030\003 \001" - + "(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.co" - + "m/Snapshot\"\232\001\n\023DropRowRangeRequest\0229\n\004na" - + "me\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googlea" - + "pis.com/Table\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\"\256\001\n\021ListTablesRequest\022>\n\006parent\030" - + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" - + ".com/Instance\0222\n\004view\030\002 \001(\0162$.google.big" - + "table.admin.v2.Table.View\022\021\n\tpage_size\030\004" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"^\n\022ListTablesRe" - + "sponse\022/\n\006tables\030\001 \003(\0132\037.google.bigtable" - + ".admin.v2.Table\022\027\n\017next_page_token\030\002 \001(\t" - + "\"\200\001\n\017GetTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" - + "\372A$\n\"bigtableadmin.googleapis.com/Table\022" - + "2\n\004view\030\002 \001(\0162$.google.bigtable.admin.v2" - + ".Table.View\"\201\001\n\022UpdateTableRequest\0224\n\005ta" - + "ble\030\001 \001(\0132\037.google.bigtable.admin.v2.Tab" - + "leB\004\342A\001\002\0225\n\013update_mask\030\002 \001(\0132\032.google.p" - + "rotobuf.FieldMaskB\004\342A\001\002\"\201\001\n\023UpdateTableM" - + "etadata\022\014\n\004name\030\001 \001(\t\022.\n\nstart_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\003 \001(\0132\032.google.protobuf.Timestamp\"O\n\022D" - + "eleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$" - + "\n\"bigtableadmin.googleapis.com/Table\"Q\n\024" - + "UndeleteTableRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002" - + "\372A$\n\"bigtableadmin.googleapis.com/Table\"" - + "\203\001\n\025UndeleteTableMetadata\022\014\n\004name\030\001 \001(\t\022" - + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022,\n\010end_time\030\003 \001(\0132\032.google.proto" - + "buf.Timestamp\"\341\002\n\033ModifyColumnFamiliesRe" - + "quest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtablead" - + "min.googleapis.com/Table\022_\n\rmodification" - + "s\030\002 \003(\0132B.google.bigtable.admin.v2.Modif" - + "yColumnFamiliesRequest.ModificationB\004\342A\001" - + "\002\032\245\001\n\014Modification\022\n\n\002id\030\001 \001(\t\0228\n\006create" - + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" - + "FamilyH\000\0228\n\006update\030\003 \001(\0132&.google.bigtab" - + "le.admin.v2.ColumnFamilyH\000\022\016\n\004drop\030\004 \001(\010" - + "H\000B\005\n\003mod\"\\\n\037GenerateConsistencyTokenReq" - + "uest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadm" - + "in.googleapis.com/Table\"=\n GenerateConsi" - + "stencyTokenResponse\022\031\n\021consistency_token" - + "\030\001 \001(\t\"u\n\027CheckConsistencyRequest\0229\n\004nam" - + "e\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.googleap" - + "is.com/Table\022\037\n\021consistency_token\030\002 \001(\tB" - + "\004\342A\001\002\".\n\030CheckConsistencyResponse\022\022\n\ncon" - + "sistent\030\001 \001(\010\"\351\001\n\024SnapshotTableRequest\0229" - + "\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goo" - + "gleapis.com/Table\022>\n\007cluster\030\002 \001(\tB-\342A\001\002" - + "\372A&\n$bigtableadmin.googleapis.com/Cluste" - + "r\022\031\n\013snapshot_id\030\003 \001(\tB\004\342A\001\002\022&\n\003ttl\030\004 \001(" - + "\0132\031.google.protobuf.Duration\022\023\n\013descript" - + "ion\030\005 \001(\t\"R\n\022GetSnapshotRequest\022<\n\004name\030" - + "\001 \001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis" - + ".com/Snapshot\"|\n\024ListSnapshotsRequest\022=\n" - + "\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.go" - + "ogleapis.com/Cluster\022\021\n\tpage_size\030\002 \001(\005\022" - + "\022\n\npage_token\030\003 \001(\t\"g\n\025ListSnapshotsResp" - + "onse\0225\n\tsnapshots\030\001 \003(\0132\".google.bigtabl" - + "e.admin.v2.Snapshot\022\027\n\017next_page_token\030\002" - + " \001(\t\"U\n\025DeleteSnapshotRequest\022<\n\004name\030\001 " - + "\001(\tB.\342A\001\002\372A\'\n%bigtableadmin.googleapis.c" - + "om/Snapshot\"\304\001\n\025SnapshotTableMetadata\022H\n" - + "\020original_request\030\001 \001(\0132..google.bigtabl" - + "e.admin.v2.SnapshotTableRequest\0220\n\014reque" - + "st_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013finish_time\030\003 \001(\0132\032.google.protobuf" - + ".Timestamp\"\330\001\n\037CreateTableFromSnapshotMe" - + "tadata\022R\n\020original_request\030\001 \001(\01328.googl" - + "e.bigtable.admin.v2.CreateTableFromSnaps" - + "hotRequest\0220\n\014request_time\030\002 \001(\0132\032.googl" - + "e.protobuf.Timestamp\022/\n\013finish_time\030\003 \001(" - + "\0132\032.google.protobuf.Timestamp\"\245\001\n\023Create" - + "BackupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$" - + "bigtableadmin.googleapis.com/Cluster\022\027\n\t" - + "backup_id\030\002 \001(\tB\004\342A\001\002\0226\n\006backup\030\003 \001(\0132 ." - + "google.bigtable.admin.v2.BackupB\004\342A\001\002\"\230\001" - + "\n\024CreateBackupMetadata\022\014\n\004name\030\001 \001(\t\022\024\n\014" - + "source_table\030\002 \001(\t\022.\n\nstart_time\030\003 \001(\0132\032" - + ".google.protobuf.Timestamp\022,\n\010end_time\030\004" - + " \001(\0132\032.google.protobuf.Timestamp\"\204\001\n\023Upd" - + "ateBackupRequest\0226\n\006backup\030\001 \001(\0132 .googl" - + "e.bigtable.admin.v2.BackupB\004\342A\001\002\0225\n\013upda" - + "te_mask\030\002 \001(\0132\032.google.protobuf.FieldMas" - + "kB\004\342A\001\002\"N\n\020GetBackupRequest\022:\n\004name\030\001 \001(" - + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" - + "/Backup\"Q\n\023DeleteBackupRequest\022:\n\004name\030\001" - + " \001(\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis." - + "com/Backup\"\234\001\n\022ListBackupsRequest\022=\n\006par" - + "ent\030\001 \001(\tB-\342A\001\002\372A&\n$bigtableadmin.google" - + "apis.com/Cluster\022\016\n\006filter\030\002 \001(\t\022\020\n\010orde" - + "r_by\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_to" - + "ken\030\005 \001(\t\"a\n\023ListBackupsResponse\0221\n\007back" - + "ups\030\001 \003(\0132 .google.bigtable.admin.v2.Bac" - + "kup\022\027\n\017next_page_token\030\002 \001(\t\"\347\001\n\021CopyBac" - + "kupRequest\022=\n\006parent\030\001 \001(\tB-\342A\001\002\372A&\n$big" - + "tableadmin.googleapis.com/Cluster\022\027\n\tbac" - + "kup_id\030\002 \001(\tB\004\342A\001\002\022C\n\rsource_backup\030\003 \001(" - + "\tB,\342A\001\002\372A%\n#bigtableadmin.googleapis.com" - + "/Backup\0225\n\013expire_time\030\004 \001(\0132\032.google.pr" - + "otobuf.TimestampB\004\342A\001\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\332A\025parent," - + "table_id,table\202\323\344\223\002/\"*/v2/{parent=projec" - + "ts/*/instances/*}/tables:\001*\022\212\002\n\027CreateTa" - + "bleFromSnapshot\0228.google.bigtable.admin." - + "v2.CreateTableFromSnapshotRequest\032\035.goog" - + "le.longrunning.Operation\"\225\001\312A(\n\005Table\022\037C" - + "reateTableFromSnapshotMetadata\332A\037parent," - + "table_id,source_snapshot\202\323\344\223\002B\"=/v2/{par" - + "ent=projects/*/instances/*}/tables:creat" - + "eFromSnapshot:\001*\022\244\001\n\nListTables\022+.google" - + ".bigtable.admin.v2.ListTablesRequest\032,.g" - + "oogle.bigtable.admin.v2.ListTablesRespon" - + "se\";\332A\006parent\202\323\344\223\002,\022*/v2/{parent=project" - + "s/*/instances/*}/tables\022\221\001\n\010GetTable\022).g" - + "oogle.bigtable.admin.v2.GetTableRequest\032" - + "\037.google.bigtable.admin.v2.Table\"9\332A\004nam" - + "e\202\323\344\223\002,\022*/v2/{name=projects/*/instances/" - + "*/tables/*}\022\316\001\n\013UpdateTable\022,.google.big" - + "table.admin.v2.UpdateTableRequest\032\035.goog" - + "le.longrunning.Operation\"r\312A\034\n\005Table\022\023Up" - + "dateTableMetadata\332A\021table,update_mask\202\323\344" - + "\223\002920/v2/{table.name=projects/*/instance" - + "s/*/tables/*}:\005table\022\216\001\n\013DeleteTable\022,.g" - + "oogle.bigtable.admin.v2.DeleteTableReque" - + "st\032\026.google.protobuf.Empty\"9\332A\004name\202\323\344\223\002" - + ",**/v2/{name=projects/*/instances/*/tabl" - + "es/*}\022\306\001\n\rUndeleteTable\022..google.bigtabl" - + "e.admin.v2.UndeleteTableRequest\032\035.google" - + ".longrunning.Operation\"f\312A\036\n\005Table\022\025Unde" - + "leteTableMetadata\332A\004name\202\323\344\223\0028\"3/v2/{nam" - + "e=projects/*/instances/*/tables/*}:undel" - + "ete:\001*\022\317\001\n\024ModifyColumnFamilies\0225.google" - + ".bigtable.admin.v2.ModifyColumnFamiliesR" - + "equest\032\037.google.bigtable.admin.v2.Table\"" - + "_\332A\022name,modifications\202\323\344\223\002D\"?/v2/{name=" - + "projects/*/instances/*/tables/*}:modifyC" - + "olumnFamilies:\001*\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\332A\004name\202\323\344\223\002H\"C/v2/{name=projects/*/in" - + "stances/*/tables/*}:generateConsistencyT" - + "oken:\001*\022\332\001\n\020CheckConsistency\0221.google.bi" - + "gtable.admin.v2.CheckConsistencyRequest\032" - + "2.google.bigtable.admin.v2.CheckConsiste" - + "ncyResponse\"_\332A\026name,consistency_token\202\323" - + "\344\223\002@\";/v2/{name=projects/*/instances/*/t" - + "ables/*}:checkConsistency:\001*\022\352\001\n\rSnapsho" - + "tTable\022..google.bigtable.admin.v2.Snapsh" - + "otTableRequest\032\035.google.longrunning.Oper" - + "ation\"\211\001\312A!\n\010Snapshot\022\025SnapshotTableMeta" - + "data\332A$name,cluster,snapshot_id,descript" - + "ion\202\323\344\223\0028\"3/v2/{name=projects/*/instance" - + "s/*/tables/*}:snapshot:\001*\022\250\001\n\013GetSnapsho" - + "t\022,.google.bigtable.admin.v2.GetSnapshot" - + "Request\032\".google.bigtable.admin.v2.Snaps" - + "hot\"G\332A\004name\202\323\344\223\002:\0228/v2/{name=projects/*" - + "/instances/*/clusters/*/snapshots/*}\022\273\001\n" - + "\rListSnapshots\022..google.bigtable.admin.v" - + "2.ListSnapshotsRequest\032/.google.bigtable" - + ".admin.v2.ListSnapshotsResponse\"I\332A\006pare" - + "nt\202\323\344\223\002:\0228/v2/{parent=projects/*/instanc" - + "es/*/clusters/*}/snapshots\022\242\001\n\016DeleteSna" - + "pshot\022/.google.bigtable.admin.v2.DeleteS" - + "napshotRequest\032\026.google.protobuf.Empty\"G" - + "\332A\004name\202\323\344\223\002:*8/v2/{name=projects/*/inst" - + "ances/*/clusters/*/snapshots/*}\022\340\001\n\014Crea" - + "teBackup\022-.google.bigtable.admin.v2.Crea" - + "teBackupRequest\032\035.google.longrunning.Ope" - + "ration\"\201\001\312A\036\n\006Backup\022\024CreateBackupMetada" - + "ta\332A\027parent,backup_id,backup\202\323\344\223\002@\"6/v2/" - + "{parent=projects/*/instances/*/clusters/" - + "*}/backups:\006backup\022\240\001\n\tGetBackup\022*.googl" - + "e.bigtable.admin.v2.GetBackupRequest\032 .g" - + "oogle.bigtable.admin.v2.Backup\"E\332A\004name\202" - + "\323\344\223\0028\0226/v2/{name=projects/*/instances/*/" - + "clusters/*/backups/*}\022\303\001\n\014UpdateBackup\022-" - + ".google.bigtable.admin.v2.UpdateBackupRe" - + "quest\032 .google.bigtable.admin.v2.Backup\"" - + "b\332A\022backup,update_mask\202\323\344\223\002G2=/v2/{backu" - + "p.name=projects/*/instances/*/clusters/*" - + "/backups/*}:\006backup\022\234\001\n\014DeleteBackup\022-.g" - + "oogle.bigtable.admin.v2.DeleteBackupRequ" - + "est\032\026.google.protobuf.Empty\"E\332A\004name\202\323\344\223" - + "\0028*6/v2/{name=projects/*/instances/*/clu" - + "sters/*/backups/*}\022\263\001\n\013ListBackups\022,.goo" - + "gle.bigtable.admin.v2.ListBackupsRequest" - + "\032-.google.bigtable.admin.v2.ListBackupsR" - + "esponse\"G\332A\006parent\202\323\344\223\0028\0226/v2/{parent=pr" - + "ojects/*/instances/*/clusters/*}/backups" - + "\022\273\001\n\014RestoreTable\022-.google.bigtable.admi" - + "n.v2.RestoreTableRequest\032\035.google.longru" - + "nning.Operation\"]\312A\035\n\005Table\022\024RestoreTabl" - + "eMetadata\202\323\344\223\0027\"2/v2/{parent=projects/*/" - + "instances/*}/tables:restore:\001*\022\355\001\n\nCopyB" - + "ackup\022+.google.bigtable.admin.v2.CopyBac" - + "kupRequest\032\035.google.longrunning.Operatio" - + "n\"\222\001\312A\034\n\006Backup\022\022CopyBackupMetadata\332A*pa" - + "rent,backup_id,source_backup,expire_time" - + "\202\323\344\223\002@\";/v2/{parent=projects/*/instances" - + "/*/clusters/*}/backups:copy:\001*\022\354\001\n\014GetIa" - + "mPolicy\022\".google.iam.v1.GetIamPolicyRequ" - + "est\032\025.google.iam.v1.Policy\"\240\001\332A\010resource" - + "\202\323\344\223\002\216\001\";/v2/{resource=projects/*/instan" - + "ces/*/tables/*}:getIamPolicy:\001*ZL\"G/v2/{" - + "resource=projects/*/instances/*/clusters" - + "/*/backups/*}:getIamPolicy:\001*\022\363\001\n\014SetIam" - + "Policy\022\".google.iam.v1.SetIamPolicyReque" - + "st\032\025.google.iam.v1.Policy\"\247\001\332A\017resource," - + "policy\202\323\344\223\002\216\001\";/v2/{resource=projects/*/" - + "instances/*/tables/*}:setIamPolicy:\001*ZL\"" - + "G/v2/{resource=projects/*/instances/*/cl" - + "usters/*/backups/*}:setIamPolicy:\001*\022\244\002\n\022" - + "TestIamPermissions\022(.google.iam.v1.TestI" - + "amPermissionsRequest\032).google.iam.v1.Tes" - + "tIamPermissionsResponse\"\270\001\332A\024resource,pe" - + "rmissions\202\323\344\223\002\232\001\"A/v2/{resource=projects" - + "/*/instances/*/tables/*}:testIamPermissi" - + "ons:\001*ZR\"M/v2/{resource=projects/*/insta" - + "nces/*/clusters/*/backups/*}:testIamPerm" - + "issions:\001*\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" - }; - 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(), - }); - 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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.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(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java deleted file mode 100644 index 3b76878193..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CheckConsistencyResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 CheckConsistencyResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.CheckConsistencyResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * True only if the token is consistent. A token is consistent if replication
-   * has caught up with the restrictions specified in the request.
-   * 
- * - * bool consistent = 1; - * - * @return The consistent. - */ - boolean getConsistent(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java deleted file mode 100644 index 7cb9e5099f..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/CommonProto.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/common.proto - -package com.google.bigtable.admin.v2; - -public final class CommonProto { - private CommonProto() {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} - - public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { - registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); - } - - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n%google/bigtable/admin/v2/common.proto\022" - + "\030google.bigtable.admin.v2\032\037google/protob" - + "uf/timestamp.proto\"\213\001\n\021OperationProgress" - + "\022\030\n\020progress_percent\030\001 \001(\005\022.\n\nstart_time" - + "\030\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010en" - + "d_time\030\003 \001(\0132\032.google.protobuf.Timestamp" - + "*=\n\013StorageType\022\034\n\030STORAGE_TYPE_UNSPECIF" - + "IED\020\000\022\007\n\003SSD\020\001\022\007\n\003HDD\020\002B\323\001\n\034com.google.b" - + "igtable.admin.v2B\013CommonProtoP\001Z=google." - + "golang.org/genproto/googleapis/bigtable/" - + "admin/v2;admin\252\002\036Google.Cloud.Bigtable.A" - + "dmin.V2\312\002\036Google\\Cloud\\Bigtable\\Admin\\V2" - + "\352\002\"Google::Cloud::Bigtable::Admin::V2b\006p" - + "roto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_OperationProgress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_OperationProgress_descriptor, - new java.lang.String[] { - "ProgressPercent", "StartTime", "EndTime", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java deleted file mode 100644 index 50a22d0974..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteBackupRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 DeleteBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup to delete.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java deleted file mode 100644 index 73b88667fa..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteClusterRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface DeleteClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the cluster to be deleted. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the cluster to be deleted. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java deleted file mode 100644 index 5e243bfdb2..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteInstanceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface DeleteInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the instance to be deleted.
-   * Values are of the form `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the instance to be deleted.
-   * Values are of the form `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java deleted file mode 100644 index fefaaac550..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 DeleteSnapshotRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteSnapshotRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the snapshot to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the snapshot to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java deleted file mode 100644 index 7dd3d8ec74..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/DeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 DeleteTableRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.DeleteTableRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the table to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the table to be deleted.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java deleted file mode 100644 index 12e7741b0b..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 GenerateConsistencyTokenRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * 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, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * 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, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java deleted file mode 100644 index efe7e2fac8..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GenerateConsistencyTokenResponseOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 GenerateConsistencyTokenResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GenerateConsistencyTokenResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The generated consistency token.
-   * 
- * - * string consistency_token = 1; - * - * @return The consistencyToken. - */ - java.lang.String getConsistencyToken(); - /** - * - * - *
-   * The generated consistency token.
-   * 
- * - * string consistency_token = 1; - * - * @return The bytes for consistencyToken. - */ - com.google.protobuf.ByteString getConsistencyTokenBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java deleted file mode 100644 index c625183c81..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetAppProfileRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface GetAppProfileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetAppProfileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested app profile. Values are of the form
-   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested app profile. Values are of the form
-   * `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java deleted file mode 100644 index 4e7d660d96..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetBackupRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 GetBackupRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetBackupRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the backup.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java deleted file mode 100644 index 6c68b5f29f..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetClusterRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface GetClusterRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetClusterRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested cluster. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested cluster. Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java deleted file mode 100644 index a0ccf2086d..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetInstanceRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface GetInstanceRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetInstanceRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested instance. Values are of the form
-   * `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested instance. Values are of the form
-   * `projects/{project}/instances/{instance}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java deleted file mode 100644 index bf33c7e89a..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/GetSnapshotRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 GetSnapshotRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.GetSnapshotRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the requested snapshot.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the requested snapshot.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java deleted file mode 100644 index 67a601d639..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/InstanceProto.java +++ /dev/null @@ -1,314 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/instance.proto - -package com.google.bigtable.admin.v2; - -public final class InstanceProto { - private InstanceProto() {} - - 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_Instance_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_HotTablet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\'google/bigtable/admin/v2/instance.prot" - + "o\022\030google.bigtable.admin.v2\032\037google/api/" - + "field_behavior.proto\032\031google/api/resourc" - + "e.proto\032%google/bigtable/admin/v2/common" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\311\004\n\010Instance\022\014\n\004name\030\001 \001(\t\022\032\n\014display_na" - + "me\030\002 \001(\tB\004\342A\001\002\0227\n\005state\030\003 \001(\0162(.google.b" - + "igtable.admin.v2.Instance.State\0225\n\004type\030" - + "\004 \001(\0162\'.google.bigtable.admin.v2.Instanc" - + "e.Type\022>\n\006labels\030\005 \003(\0132..google.bigtable" - + ".admin.v2.Instance.LabelsEntry\0225\n\013create" - + "_time\030\007 \001(\0132\032.google.protobuf.TimestampB" - + "\004\342A\001\003\022 \n\rsatisfies_pzs\030\010 \001(\010B\004\342A\001\003H\000\210\001\001\032" - + "-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" - + "(\t:\0028\001\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" - + "READY\020\001\022\014\n\010CREATING\020\002\"=\n\004Type\022\024\n\020TYPE_UN" - + "SPECIFIED\020\000\022\016\n\nPRODUCTION\020\001\022\017\n\013DEVELOPME" - + "NT\020\002:S\352AP\n%bigtableadmin.googleapis.com/" - + "Instance\022\'projects/{project}/instances/{" - + "instance}B\020\n\016_satisfies_pzs\"_\n\022Autoscali" - + "ngTargets\022\037\n\027cpu_utilization_percent\030\002 \001" - + "(\005\022(\n storage_utilization_gib_per_node\030\003" - + " \001(\005\"Q\n\021AutoscalingLimits\022\035\n\017min_serve_n" - + "odes\030\001 \001(\005B\004\342A\001\002\022\035\n\017max_serve_nodes\030\002 \001(" - + "\005B\004\342A\001\002\"\327\007\n\007Cluster\022\014\n\004name\030\001 \001(\t\022<\n\010loc" - + "ation\030\002 \001(\tB*\342A\001\005\372A#\n!locations.googleap" - + "is.com/Location\022<\n\005state\030\003 \001(\0162\'.google." - + "bigtable.admin.v2.Cluster.StateB\004\342A\001\003\022\023\n" - + "\013serve_nodes\030\004 \001(\005\022I\n\016cluster_config\030\007 \001" - + "(\0132/.google.bigtable.admin.v2.Cluster.Cl" - + "usterConfigH\000\022I\n\024default_storage_type\030\005 " - + "\001(\0162%.google.bigtable.admin.v2.StorageTy" - + "peB\004\342A\001\005\022S\n\021encryption_config\030\006 \001(\01322.go" - + "ogle.bigtable.admin.v2.Cluster.Encryptio" - + "nConfigB\004\342A\001\005\032\272\001\n\030ClusterAutoscalingConf" - + "ig\022M\n\022autoscaling_limits\030\001 \001(\0132+.google." - + "bigtable.admin.v2.AutoscalingLimitsB\004\342A\001" - + "\002\022O\n\023autoscaling_targets\030\002 \001(\0132,.google." - + "bigtable.admin.v2.AutoscalingTargetsB\004\342A" - + "\001\002\032o\n\rClusterConfig\022^\n\032cluster_autoscali" - + "ng_config\030\001 \001(\0132:.google.bigtable.admin." - + "v2.Cluster.ClusterAutoscalingConfig\032P\n\020E" - + "ncryptionConfig\022<\n\014kms_key_name\030\001 \001(\tB&\372" - + "A#\n!cloudkms.googleapis.com/CryptoKey\"Q\n" - + "\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005READY\020\001\022\014" - + "\n\010CREATING\020\002\022\014\n\010RESIZING\020\003\022\014\n\010DISABLED\020\004" - + ":e\352Ab\n$bigtableadmin.googleapis.com/Clus" - + "ter\022:projects/{project}/instances/{insta" - + "nce}/clusters/{cluster}B\010\n\006config\"\210\004\n\nAp" - + "pProfile\022\014\n\004name\030\001 \001(\t\022\014\n\004etag\030\002 \001(\t\022\023\n\013" - + "description\030\003 \001(\t\022g\n\035multi_cluster_routi" - + "ng_use_any\030\005 \001(\0132>.google.bigtable.admin" - + ".v2.AppProfile.MultiClusterRoutingUseAny" - + "H\000\022[\n\026single_cluster_routing\030\006 \001(\01329.goo" - + "gle.bigtable.admin.v2.AppProfile.SingleC" - + "lusterRoutingH\000\0320\n\031MultiClusterRoutingUs" - + "eAny\022\023\n\013cluster_ids\030\001 \003(\t\032N\n\024SingleClust" - + "erRouting\022\022\n\ncluster_id\030\001 \001(\t\022\"\n\032allow_t" - + "ransactional_writes\030\002 \001(\010:o\352Al\n\'bigtable" - + "admin.googleapis.com/AppProfile\022Aproject" - + "s/{project}/instances/{instance}/appProf" - + "iles/{app_profile}B\020\n\016routing_policy\"\213\003\n" - + "\tHotTablet\022\014\n\004name\030\001 \001(\t\022;\n\ntable_name\030\002" - + " \001(\tB\'\372A$\n\"bigtableadmin.googleapis.com/" - + "Table\0224\n\nstart_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\004 \001(\0132\032." - + "google.protobuf.TimestampB\004\342A\001\003\022\021\n\tstart" - + "_key\030\005 \001(\t\022\017\n\007end_key\030\006 \001(\t\022$\n\026node_cpu_" - + "usage_percent\030\007 \001(\002B\004\342A\001\003:\177\352A|\n&bigtable" - + "admin.googleapis.com/HotTablet\022Rprojects" - + "/{project}/instances/{instance}/clusters" - + "/{cluster}/hotTablets/{hot_tablet}B\320\002\n\034c" - + "om.google.bigtable.admin.v2B\rInstancePro" - + "toP\001Z=google.golang.org/genproto/googlea" - + "pis/bigtable/admin/v2;admin\252\002\036Google.Clo" - + "ud.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigt" - + "able\\Admin\\V2\352\002\"Google::Cloud::Bigtable:" - + ":Admin::V2\352Ax\n!cloudkms.googleapis.com/C" - + "ryptoKey\022Sprojects/{project}/locations/{" - + "location}/keyRings/{key_ring}/cryptoKeys" - + "/{crypto_key}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.bigtable.admin.v2.CommonProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_Instance_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_descriptor, - new java.lang.String[] { - "Name", - "DisplayName", - "State", - "Type", - "Labels", - "CreateTime", - "SatisfiesPzs", - "SatisfiesPzs", - }); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor = - internal_static_google_bigtable_admin_v2_Instance_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Instance_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_AutoscalingTargets_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingTargets_descriptor, - new java.lang.String[] { - "CpuUtilizationPercent", "StorageUtilizationGibPerNode", - }); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_AutoscalingLimits_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AutoscalingLimits_descriptor, - new java.lang.String[] { - "MinServeNodes", "MaxServeNodes", - }); - internal_static_google_bigtable_admin_v2_Cluster_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_Cluster_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_descriptor, - new java.lang.String[] { - "Name", - "Location", - "State", - "ServeNodes", - "ClusterConfig", - "DefaultStorageType", - "EncryptionConfig", - "Config", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterAutoscalingConfig_descriptor, - new java.lang.String[] { - "AutoscalingLimits", "AutoscalingTargets", - }); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_ClusterConfig_descriptor, - new java.lang.String[] { - "ClusterAutoscalingConfig", - }); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor = - internal_static_google_bigtable_admin_v2_Cluster_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Cluster_EncryptionConfig_descriptor, - new java.lang.String[] { - "KmsKeyName", - }); - internal_static_google_bigtable_admin_v2_AppProfile_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_AppProfile_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_descriptor, - new java.lang.String[] { - "Name", - "Etag", - "Description", - "MultiClusterRoutingUseAny", - "SingleClusterRouting", - "RoutingPolicy", - }); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_MultiClusterRoutingUseAny_descriptor, - new java.lang.String[] { - "ClusterIds", - }); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor = - internal_static_google_bigtable_admin_v2_AppProfile_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_AppProfile_SingleClusterRouting_descriptor, - new java.lang.String[] { - "ClusterId", "AllowTransactionalWrites", - }); - internal_static_google_bigtable_admin_v2_HotTablet_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_HotTablet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_HotTablet_descriptor, - new java.lang.String[] { - "Name", - "TableName", - "StartTime", - "EndTime", - "StartKey", - "EndKey", - "NodeCpuUsagePercent", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.bigtable.admin.v2.CommonProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java deleted file mode 100644 index 736bd750eb..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/TableProto.java +++ /dev/null @@ -1,359 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/table.proto - -package com.google.bigtable.admin.v2; - -public final class TableProto { - private TableProto() {} - - 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_RestoreInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Snapshot_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_Backup_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n$google/bigtable/admin/v2/table.proto\022\030" - + "google.bigtable.admin.v2\032\037google/api/fie" - + "ld_behavior.proto\032\031google/api/resource.p" - + "roto\032\036google/protobuf/duration.proto\032\037go" - + "ogle/protobuf/timestamp.proto\032\027google/rp" - + "c/status.proto\"\233\001\n\013RestoreInfo\022@\n\013source" - + "_type\030\001 \001(\0162+.google.bigtable.admin.v2.R" - + "estoreSourceType\022;\n\013backup_info\030\002 \001(\0132$." - + "google.bigtable.admin.v2.BackupInfoH\000B\r\n" - + "\013source_info\"I\n\022ChangeStreamConfig\0223\n\020re" - + "tention_period\030\001 \001(\0132\031.google.protobuf.D" - + "uration\"\337\t\n\005Table\022\014\n\004name\030\001 \001(\t\022P\n\016clust" - + "er_states\030\002 \003(\01322.google.bigtable.admin." - + "v2.Table.ClusterStatesEntryB\004\342A\001\003\022L\n\017col" - + "umn_families\030\003 \003(\01323.google.bigtable.adm" - + "in.v2.Table.ColumnFamiliesEntry\022O\n\013granu" - + "larity\030\004 \001(\01624.google.bigtable.admin.v2." - + "Table.TimestampGranularityB\004\342A\001\005\022A\n\014rest" - + "ore_info\030\006 \001(\0132%.google.bigtable.admin.v" - + "2.RestoreInfoB\004\342A\001\003\022J\n\024change_stream_con" - + "fig\030\010 \001(\0132,.google.bigtable.admin.v2.Cha" - + "ngeStreamConfig\022\033\n\023deletion_protection\030\t" - + " \001(\010\032\310\002\n\014ClusterState\022^\n\021replication_sta" - + "te\030\001 \001(\0162=.google.bigtable.admin.v2.Tabl" - + "e.ClusterState.ReplicationStateB\004\342A\001\003\022G\n" - + "\017encryption_info\030\002 \003(\0132(.google.bigtable" - + ".admin.v2.EncryptionInfoB\004\342A\001\003\"\216\001\n\020Repli" - + "cationState\022\023\n\017STATE_NOT_KNOWN\020\000\022\020\n\014INIT" - + "IALIZING\020\001\022\027\n\023PLANNED_MAINTENANCE\020\002\022\031\n\025U" - + "NPLANNED_MAINTENANCE\020\003\022\t\n\005READY\020\004\022\024\n\020REA" - + "DY_OPTIMIZING\020\005\032b\n\022ClusterStatesEntry\022\013\n" - + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.bigta" - + "ble.admin.v2.Table.ClusterState:\0028\001\032]\n\023C" - + "olumnFamiliesEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value" - + "\030\002 \001(\0132&.google.bigtable.admin.v2.Column" - + "Family:\0028\001\"I\n\024TimestampGranularity\022%\n!TI" - + "MESTAMP_GRANULARITY_UNSPECIFIED\020\000\022\n\n\006MIL" - + "LIS\020\001\"q\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\r\n\tN" - + "AME_ONLY\020\001\022\017\n\013SCHEMA_VIEW\020\002\022\024\n\020REPLICATI" - + "ON_VIEW\020\003\022\023\n\017ENCRYPTION_VIEW\020\005\022\010\n\004FULL\020\004" - + ":_\352A\\\n\"bigtableadmin.googleapis.com/Tabl" - + "e\0226projects/{project}/instances/{instanc" - + "e}/tables/{table}\"A\n\014ColumnFamily\0221\n\007gc_" - + "rule\030\001 \001(\0132 .google.bigtable.admin.v2.Gc" - + "Rule\"\325\002\n\006GcRule\022\032\n\020max_num_versions\030\001 \001(" - + "\005H\000\022,\n\007max_age\030\002 \001(\0132\031.google.protobuf.D" - + "urationH\000\022E\n\014intersection\030\003 \001(\0132-.google" - + ".bigtable.admin.v2.GcRule.IntersectionH\000" - + "\0227\n\005union\030\004 \001(\0132&.google.bigtable.admin." - + "v2.GcRule.UnionH\000\032?\n\014Intersection\022/\n\005rul" - + "es\030\001 \003(\0132 .google.bigtable.admin.v2.GcRu" - + "le\0328\n\005Union\022/\n\005rules\030\001 \003(\0132 .google.bigt" - + "able.admin.v2.GcRuleB\006\n\004rule\"\334\002\n\016Encrypt" - + "ionInfo\022V\n\017encryption_type\030\003 \001(\01627.googl" - + "e.bigtable.admin.v2.EncryptionInfo.Encry" - + "ptionTypeB\004\342A\001\003\0223\n\021encryption_status\030\004 \001" - + "(\0132\022.google.rpc.StatusB\004\342A\001\003\022J\n\017kms_key_" - + "version\030\002 \001(\tB1\342A\001\003\372A*\n(cloudkms.googlea" - + "pis.com/CryptoKeyVersion\"q\n\016EncryptionTy" - + "pe\022\037\n\033ENCRYPTION_TYPE_UNSPECIFIED\020\000\022\035\n\031G" - + "OOGLE_DEFAULT_ENCRYPTION\020\001\022\037\n\033CUSTOMER_M" - + "ANAGED_ENCRYPTION\020\002\"\344\003\n\010Snapshot\022\014\n\004name" - + "\030\001 \001(\t\022;\n\014source_table\030\002 \001(\0132\037.google.bi" - + "gtable.admin.v2.TableB\004\342A\001\003\022\035\n\017data_size" - + "_bytes\030\003 \001(\003B\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132" - + "\032.google.protobuf.TimestampB\004\342A\001\003\022/\n\013del" - + "ete_time\030\005 \001(\0132\032.google.protobuf.Timesta" - + "mp\022=\n\005state\030\006 \001(\0162(.google.bigtable.admi" - + "n.v2.Snapshot.StateB\004\342A\001\003\022\023\n\013description" - + "\030\007 \001(\t\"5\n\005State\022\023\n\017STATE_NOT_KNOWN\020\000\022\t\n\005" - + "READY\020\001\022\014\n\010CREATING\020\002:{\352Ax\n%bigtableadmi" - + "n.googleapis.com/Snapshot\022Oprojects/{pro" - + "ject}/instances/{instance}/clusters/{clu" - + "ster}/snapshots/{snapshot}\"\301\004\n\006Backup\022\014\n" - + "\004name\030\001 \001(\t\022\033\n\014source_table\030\002 \001(\tB\005\342A\002\005\002" - + "\022\033\n\rsource_backup\030\n \001(\tB\004\342A\001\003\0225\n\013expire_" - + "time\030\003 \001(\0132\032.google.protobuf.TimestampB\004" - + "\342A\001\002\0224\n\nstart_time\030\004 \001(\0132\032.google.protob" - + "uf.TimestampB\004\342A\001\003\0222\n\010end_time\030\005 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\004\342A\001\003\022\030\n\nsize_b" - + "ytes\030\006 \001(\003B\004\342A\001\003\022;\n\005state\030\007 \001(\0162&.google" - + ".bigtable.admin.v2.Backup.StateB\004\342A\001\003\022G\n" - + "\017encryption_info\030\t \001(\0132(.google.bigtable" - + ".admin.v2.EncryptionInfoB\004\342A\001\003\"7\n\005State\022" - + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\t\n\005" - + "READY\020\002:u\352Ar\n#bigtableadmin.googleapis.c" - + "om/Backup\022Kprojects/{project}/instances/" - + "{instance}/clusters/{cluster}/backups/{b" - + "ackup}\"\305\001\n\nBackupInfo\022\024\n\006backup\030\001 \001(\tB\004\342" - + "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\004\342A\001\003\022\032\n\014source_" - + "table\030\004 \001(\tB\004\342A\001\003\022\033\n\rsource_backup\030\n \001(\t" - + "B\004\342A\001\003*D\n\021RestoreSourceType\022#\n\037RESTORE_S" - + "OURCE_TYPE_UNSPECIFIED\020\000\022\n\n\006BACKUP\020\001B\374\002\n" - + "\034com.google.bigtable.admin.v2B\nTableProt" - + "oP\001Z=google.golang.org/genproto/googleap" - + "is/bigtable/admin/v2;admin\252\002\036Google.Clou" - + "d.Bigtable.Admin.V2\312\002\036Google\\Cloud\\Bigta" - + "ble\\Admin\\V2\352\002\"Google::Cloud::Bigtable::" - + "Admin::V2\352A\246\001\n(cloudkms.googleapis.com/C" - + "ryptoKeyVersion\022zprojects/{project}/loca" - + "tions/{location}/keyRings/{key_ring}/cry" - + "ptoKeys/{crypto_key}/cryptoKeyVersions/{" - + "crypto_key_version}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_admin_v2_RestoreInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_RestoreInfo_descriptor, - new java.lang.String[] { - "SourceType", "BackupInfo", "SourceInfo", - }); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ChangeStreamConfig_descriptor, - new java.lang.String[] { - "RetentionPeriod", - }); - internal_static_google_bigtable_admin_v2_Table_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_descriptor, - new java.lang.String[] { - "Name", - "ClusterStates", - "ColumnFamilies", - "Granularity", - "RestoreInfo", - "ChangeStreamConfig", - "DeletionProtection", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_Table_ClusterState_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterState_descriptor, - new java.lang.String[] { - "ReplicationState", "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ClusterStatesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor = - internal_static_google_bigtable_admin_v2_Table_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Table_ColumnFamiliesEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_admin_v2_ColumnFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_ColumnFamily_descriptor, - new java.lang.String[] { - "GcRule", - }); - internal_static_google_bigtable_admin_v2_GcRule_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_admin_v2_GcRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_descriptor, - new java.lang.String[] { - "MaxNumVersions", "MaxAge", "Intersection", "Union", "Rule", - }); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_admin_v2_GcRule_Intersection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Intersection_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor = - internal_static_google_bigtable_admin_v2_GcRule_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_admin_v2_GcRule_Union_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_GcRule_Union_descriptor, - new java.lang.String[] { - "Rules", - }); - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_admin_v2_EncryptionInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_EncryptionInfo_descriptor, - new java.lang.String[] { - "EncryptionType", "EncryptionStatus", "KmsKeyVersion", - }); - internal_static_google_bigtable_admin_v2_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_admin_v2_Snapshot_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Snapshot_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "DataSizeBytes", - "CreateTime", - "DeleteTime", - "State", - "Description", - }); - internal_static_google_bigtable_admin_v2_Backup_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_admin_v2_Backup_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_Backup_descriptor, - new java.lang.String[] { - "Name", - "SourceTable", - "SourceBackup", - "ExpireTime", - "StartTime", - "EndTime", - "SizeBytes", - "State", - "EncryptionInfo", - }); - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_admin_v2_BackupInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_admin_v2_BackupInfo_descriptor, - new java.lang.String[] { - "Backup", "StartTime", "EndTime", "SourceTable", "SourceBackup", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java deleted file mode 100644 index 579e65586e..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UndeleteTableRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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 UndeleteTableRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UndeleteTableRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The unique name of the table to be restored.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The unique name of the table to be restored.
-   * Values are of the form
-   * `projects/{project}/instances/{instance}/tables/{table}`.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java b/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java deleted file mode 100644 index 97a0c38b7e..0000000000 --- a/proto-google-cloud-bigtable-admin-v2/src/main/java/com/google/bigtable/admin/v2/UpdateAppProfileMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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_instance_admin.proto - -package com.google.bigtable.admin.v2; - -public interface UpdateAppProfileMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.admin.v2.UpdateAppProfileMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java deleted file mode 100644 index eb00bb822d..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/BigtableProto.java +++ /dev/null @@ -1,660 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto - -package com.google.bigtable.v2; - -public final class BigtableProto { - private BigtableProto() {} - - 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_v2_ReadRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RateLimitInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n!google/bigtable/v2/bigtable.proto\022\022goo" - + "gle.bigtable.v2\032\034google/api/annotations." - + "proto\032\027google/api/client.proto\032\037google/a" - + "pi/field_behavior.proto\032\031google/api/reso" - + "urce.proto\032\030google/api/routing.proto\032\035go" - + "ogle/bigtable/v2/data.proto\032&google/bigt" - + "able/v2/request_stats.proto\032\036google/prot" - + "obuf/duration.proto\032\037google/protobuf/tim" - + "estamp.proto\032\036google/protobuf/wrappers.p" - + "roto\032\027google/rpc/status.proto\"\243\003\n\017ReadRo" - + "wsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"" - + "bigtableadmin.googleapis.com/Table\022\026\n\016ap" - + "p_profile_id\030\005 \001(\t\022(\n\004rows\030\002 \001(\0132\032.googl" - + "e.bigtable.v2.RowSet\022-\n\006filter\030\003 \001(\0132\035.g" - + "oogle.bigtable.v2.RowFilter\022\022\n\nrows_limi" - + "t\030\004 \001(\003\022P\n\022request_stats_view\030\006 \001(\01624.go" - + "ogle.bigtable.v2.ReadRowsRequest.Request" - + "StatsView\022\020\n\010reversed\030\007 \001(\010\"f\n\020RequestSt" - + "atsView\022\"\n\036REQUEST_STATS_VIEW_UNSPECIFIE" - + "D\020\000\022\026\n\022REQUEST_STATS_NONE\020\001\022\026\n\022REQUEST_S" - + "TATS_FULL\020\002\"\261\003\n\020ReadRowsResponse\022>\n\006chun" - + "ks\030\001 \003(\0132..google.bigtable.v2.ReadRowsRe" - + "sponse.CellChunk\022\034\n\024last_scanned_row_key" - + "\030\002 \001(\014\0227\n\rrequest_stats\030\003 \001(\0132 .google.b" - + "igtable.v2.RequestStats\032\205\002\n\tCellChunk\022\017\n" - + "\007row_key\030\001 \001(\014\0221\n\013family_name\030\002 \001(\0132\034.go" - + "ogle.protobuf.StringValue\022.\n\tqualifier\030\003" - + " \001(\0132\033.google.protobuf.BytesValue\022\030\n\020tim" - + "estamp_micros\030\004 \001(\003\022\016\n\006labels\030\005 \003(\t\022\r\n\005v" - + "alue\030\006 \001(\014\022\022\n\nvalue_size\030\007 \001(\005\022\023\n\treset_" - + "row\030\010 \001(\010H\000\022\024\n\ncommit_row\030\t \001(\010H\000B\014\n\nrow" - + "_status\"o\n\024SampleRowKeysRequest\022?\n\ntable" - + "_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.goog" - + "leapis.com/Table\022\026\n\016app_profile_id\030\002 \001(\t" - + "\">\n\025SampleRowKeysResponse\022\017\n\007row_key\030\001 \001" - + "(\014\022\024\n\014offset_bytes\030\002 \001(\003\"\271\001\n\020MutateRowRe" - + "quest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigt" - + "ableadmin.googleapis.com/Table\022\026\n\016app_pr" - + "ofile_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\0225\n" - + "\tmutations\030\003 \003(\0132\034.google.bigtable.v2.Mu" - + "tationB\004\342A\001\002\"\023\n\021MutateRowResponse\"\201\002\n\021Mu" - + "tateRowsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" - + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" - + "\022\026\n\016app_profile_id\030\003 \001(\t\022B\n\007entries\030\002 \003(" - + "\0132+.google.bigtable.v2.MutateRowsRequest" - + ".EntryB\004\342A\001\002\032O\n\005Entry\022\017\n\007row_key\030\001 \001(\014\0225" - + "\n\tmutations\030\002 \003(\0132\034.google.bigtable.v2.M" - + "utationB\004\342A\001\002\"\344\001\n\022MutateRowsResponse\022=\n\007" - + "entries\030\001 \003(\0132,.google.bigtable.v2.Mutat" - + "eRowsResponse.Entry\022?\n\017rate_limit_info\030\003" - + " \001(\0132!.google.bigtable.v2.RateLimitInfoH" - + "\000\210\001\001\032:\n\005Entry\022\r\n\005index\030\001 \001(\003\022\"\n\006status\030\002" - + " \001(\0132\022.google.rpc.StatusB\022\n\020_rate_limit_" - + "info\"J\n\rRateLimitInfo\022)\n\006period\030\001 \001(\0132\031." - + "google.protobuf.Duration\022\016\n\006factor\030\002 \001(\001" - + "\"\260\002\n\030CheckAndMutateRowRequest\022?\n\ntable_n" - + "ame\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmin.google" - + "apis.com/Table\022\026\n\016app_profile_id\030\007 \001(\t\022\025" - + "\n\007row_key\030\002 \001(\014B\004\342A\001\002\0227\n\020predicate_filte" - + "r\030\006 \001(\0132\035.google.bigtable.v2.RowFilter\0224" - + "\n\016true_mutations\030\004 \003(\0132\034.google.bigtable" - + ".v2.Mutation\0225\n\017false_mutations\030\005 \003(\0132\034." - + "google.bigtable.v2.Mutation\"6\n\031CheckAndM" - + "utateRowResponse\022\031\n\021predicate_matched\030\001 " - + "\001(\010\"j\n\022PingAndWarmRequest\022<\n\004name\030\001 \001(\tB" - + ".\342A\001\002\372A\'\n%bigtableadmin.googleapis.com/I" - + "nstance\022\026\n\016app_profile_id\030\002 \001(\t\"\025\n\023PingA" - + "ndWarmResponse\"\311\001\n\031ReadModifyWriteRowReq" - + "uest\022?\n\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigta" - + "bleadmin.googleapis.com/Table\022\026\n\016app_pro" - + "file_id\030\004 \001(\t\022\025\n\007row_key\030\002 \001(\014B\004\342A\001\002\022<\n\005" - + "rules\030\003 \003(\0132\'.google.bigtable.v2.ReadMod" - + "ifyWriteRuleB\004\342A\001\002\"B\n\032ReadModifyWriteRow" - + "Response\022$\n\003row\030\001 \001(\0132\027.google.bigtable." - + "v2.Row\"\207\001\n,GenerateInitialChangeStreamPa" - + "rtitionsRequest\022?\n\ntable_name\030\001 \001(\tB+\342A\001" - + "\002\372A$\n\"bigtableadmin.googleapis.com/Table" - + "\022\026\n\016app_profile_id\030\002 \001(\t\"g\n-GenerateInit" - + "ialChangeStreamPartitionsResponse\0226\n\tpar" - + "tition\030\001 \001(\0132#.google.bigtable.v2.Stream" - + "Partition\"\234\003\n\027ReadChangeStreamRequest\022?\n" - + "\ntable_name\030\001 \001(\tB+\342A\001\002\372A$\n\"bigtableadmi" - + "n.googleapis.com/Table\022\026\n\016app_profile_id" - + "\030\002 \001(\t\0226\n\tpartition\030\003 \001(\0132#.google.bigta" - + "ble.v2.StreamPartition\0220\n\nstart_time\030\004 \001" - + "(\0132\032.google.protobuf.TimestampH\000\022K\n\023cont" - + "inuation_tokens\030\006 \001(\0132,.google.bigtable." - + "v2.StreamContinuationTokensH\000\022,\n\010end_tim" - + "e\030\005 \001(\0132\032.google.protobuf.Timestamp\0225\n\022h" - + "eartbeat_duration\030\007 \001(\0132\031.google.protobu" - + "f.DurationB\014\n\nstart_from\"\251\n\n\030ReadChangeS" - + "treamResponse\022N\n\013data_change\030\001 \001(\01327.goo" - + "gle.bigtable.v2.ReadChangeStreamResponse" - + ".DataChangeH\000\022K\n\theartbeat\030\002 \001(\01326.googl" - + "e.bigtable.v2.ReadChangeStreamResponse.H" - + "eartbeatH\000\022P\n\014close_stream\030\003 \001(\01328.googl" - + "e.bigtable.v2.ReadChangeStreamResponse.C" - + "loseStreamH\000\032\364\001\n\rMutationChunk\022X\n\nchunk_" - + "info\030\001 \001(\0132D.google.bigtable.v2.ReadChan" - + "geStreamResponse.MutationChunk.ChunkInfo" - + "\022.\n\010mutation\030\002 \001(\0132\034.google.bigtable.v2." - + "Mutation\032Y\n\tChunkInfo\022\032\n\022chunked_value_s" - + "ize\030\001 \001(\005\022\034\n\024chunked_value_offset\030\002 \001(\005\022" - + "\022\n\nlast_chunk\030\003 \001(\010\032\306\003\n\nDataChange\022J\n\004ty" - + "pe\030\001 \001(\0162<.google.bigtable.v2.ReadChange" - + "StreamResponse.DataChange.Type\022\031\n\021source" - + "_cluster_id\030\002 \001(\t\022\017\n\007row_key\030\003 \001(\014\0224\n\020co" - + "mmit_timestamp\030\004 \001(\0132\032.google.protobuf.T" - + "imestamp\022\022\n\ntiebreaker\030\005 \001(\005\022J\n\006chunks\030\006" - + " \003(\0132:.google.bigtable.v2.ReadChangeStre" - + "amResponse.MutationChunk\022\014\n\004done\030\010 \001(\010\022\r" - + "\n\005token\030\t \001(\t\022;\n\027estimated_low_watermark" - + "\030\n \001(\0132\032.google.protobuf.Timestamp\"P\n\004Ty" - + "pe\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004USER\020\001\022\026\n\022GA" - + "RBAGE_COLLECTION\020\002\022\020\n\014CONTINUATION\020\003\032\221\001\n" - + "\tHeartbeat\022G\n\022continuation_token\030\001 \001(\0132+" - + ".google.bigtable.v2.StreamContinuationTo" - + "ken\022;\n\027estimated_low_watermark\030\002 \001(\0132\032.g" - + "oogle.protobuf.Timestamp\032\270\001\n\013CloseStream" - + "\022\"\n\006status\030\001 \001(\0132\022.google.rpc.Status\022H\n\023" - + "continuation_tokens\030\002 \003(\0132+.google.bigta" - + "ble.v2.StreamContinuationToken\022;\n\016new_pa" - + "rtitions\030\003 \003(\0132#.google.bigtable.v2.Stre" - + "amPartitionB\017\n\rstream_record2\327\030\n\010Bigtabl" - + "e\022\233\002\n\010ReadRows\022#.google.bigtable.v2.Read" - + "RowsRequest\032$.google.bigtable.v2.ReadRow" - + "sResponse\"\301\001\332A\ntable_name\332A\031table_name,a" - + "pp_profile_id\202\323\344\223\002>\"9/v2/{table_name=pro" - + "jects/*/instances/*/tables/*}:readRows:\001" - + "*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=proje" - + "cts/*/instances/*/tables/*}\022\020\n\016app_profi" - + "le_id0\001\022\254\002\n\rSampleRowKeys\022(.google.bigta" - + "ble.v2.SampleRowKeysRequest\032).google.big" - + "table.v2.SampleRowKeysResponse\"\303\001\332A\ntabl" - + "e_name\332A\031table_name,app_profile_id\202\323\344\223\002@" - + "\022>/v2/{table_name=projects/*/instances/*" - + "/tables/*}:sampleRowKeys\212\323\344\223\002N\022:\n\ntable_" - + "name\022,{table_name=projects/*/instances/*" - + "/tables/*}\022\020\n\016app_profile_id0\001\022\301\002\n\tMutat" - + "eRow\022$.google.bigtable.v2.MutateRowReque" - + "st\032%.google.bigtable.v2.MutateRowRespons" - + "e\"\346\001\332A\034table_name,row_key,mutations\332A+ta" - + "ble_name,row_key,mutations,app_profile_i" - + "d\202\323\344\223\002?\":/v2/{table_name=projects/*/inst" - + "ances/*/tables/*}:mutateRow:\001*\212\323\344\223\002N\022:\n\n" - + "table_name\022,{table_name=projects/*/insta" - + "nces/*/tables/*}\022\020\n\016app_profile_id\022\263\002\n\nM" - + "utateRows\022%.google.bigtable.v2.MutateRow" - + "sRequest\032&.google.bigtable.v2.MutateRows" - + "Response\"\323\001\332A\022table_name,entries\332A!table" - + "_name,entries,app_profile_id\202\323\344\223\002@\";/v2/" - + "{table_name=projects/*/instances/*/table" - + "s/*}:mutateRows:\001*\212\323\344\223\002N\022:\n\ntable_name\022," - + "{table_name=projects/*/instances/*/table" - + "s/*}\022\020\n\016app_profile_id0\001\022\255\003\n\021CheckAndMut" - + "ateRow\022,.google.bigtable.v2.CheckAndMuta" - + "teRowRequest\032-.google.bigtable.v2.CheckA" - + "ndMutateRowResponse\"\272\002\332ABtable_name,row_" - + "key,predicate_filter,true_mutations,fals" - + "e_mutations\332AQtable_name,row_key,predica" - + "te_filter,true_mutations,false_mutations" - + ",app_profile_id\202\323\344\223\002G\"B/v2/{table_name=p" - + "rojects/*/instances/*/tables/*}:checkAnd" - + "MutateRow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table" - + "_name=projects/*/instances/*/tables/*}\022\020" - + "\n\016app_profile_id\022\356\001\n\013PingAndWarm\022&.googl" - + "e.bigtable.v2.PingAndWarmRequest\032\'.googl" - + "e.bigtable.v2.PingAndWarmResponse\"\215\001\332A\004n" - + "ame\332A\023name,app_profile_id\202\323\344\223\002+\"&/v2/{na" - + "me=projects/*/instances/*}:ping:\001*\212\323\344\223\0029" - + "\022%\n\004name\022\035{name=projects/*/instances/*}\022" - + "\020\n\016app_profile_id\022\335\002\n\022ReadModifyWriteRow" - + "\022-.google.bigtable.v2.ReadModifyWriteRow" - + "Request\032..google.bigtable.v2.ReadModifyW" - + "riteRowResponse\"\347\001\332A\030table_name,row_key," - + "rules\332A\'table_name,row_key,rules,app_pro" - + "file_id\202\323\344\223\002H\"C/v2/{table_name=projects/" - + "*/instances/*/tables/*}:readModifyWriteR" - + "ow:\001*\212\323\344\223\002N\022:\n\ntable_name\022,{table_name=p" - + "rojects/*/instances/*/tables/*}\022\020\n\016app_p" - + "rofile_id\022\273\002\n%GenerateInitialChangeStrea" - + "mPartitions\022@.google.bigtable.v2.Generat" - + "eInitialChangeStreamPartitionsRequest\032A." - + "google.bigtable.v2.GenerateInitialChange" - + "StreamPartitionsResponse\"\212\001\332A\ntable_name" - + "\332A\031table_name,app_profile_id\202\323\344\223\002[\"V/v2/" - + "{table_name=projects/*/instances/*/table" - + "s/*}:generateInitialChangeStreamPartitio" - + "ns:\001*0\001\022\346\001\n\020ReadChangeStream\022+.google.bi" - + "gtable.v2.ReadChangeStreamRequest\032,.goog" - + "le.bigtable.v2.ReadChangeStreamResponse\"" - + "u\332A\ntable_name\332A\031table_name,app_profile_" - + "id\202\323\344\223\002F\"A/v2/{table_name=projects/*/ins" - + "tances/*/tables/*}:readChangeStream:\001*0\001" - + "\032\333\002\312A\027bigtable.googleapis.com\322A\275\002https:/" - + "/www.googleapis.com/auth/bigtable.data,h" - + "ttps://www.googleapis.com/auth/bigtable." - + "data.readonly,https://www.googleapis.com" - + "/auth/cloud-bigtable.data,https://www.go" - + "ogleapis.com/auth/cloud-bigtable.data.re" - + "adonly,https://www.googleapis.com/auth/c" - + "loud-platform,https://www.googleapis.com" - + "/auth/cloud-platform.read-onlyB\353\002\n\026com.g" - + "oogle.bigtable.v2B\rBigtableProtoP\001Z:goog" - + "le.golang.org/genproto/googleapis/bigtab" - + "le/v2;bigtable\252\002\030Google.Cloud.Bigtable.V" - + "2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::C" - + "loud::Bigtable::V2\352AP\n%bigtableadmin.goo" - + "gleapis.com/Instance\022\'projects/{project}" - + "/instances/{instance}\352A\\\n\"bigtableadmin." - + "googleapis.com/Table\0226projects/{project}" - + "/instances/{instance}/tables/{table}b\006pr" - + "oto3" - }; - 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.api.RoutingProto.getDescriptor(), - com.google.bigtable.v2.DataProto.getDescriptor(), - com.google.bigtable.v2.RequestStatsProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.protobuf.WrappersProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "Rows", - "Filter", - "RowsLimit", - "RequestStatsView", - "Reversed", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_ReadRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor, - new java.lang.String[] { - "Chunks", "LastScannedRowKey", "RequestStats", - }); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor = - internal_static_google_bigtable_v2_ReadRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadRowsResponse_CellChunk_descriptor, - new java.lang.String[] { - "RowKey", - "FamilyName", - "Qualifier", - "TimestampMicros", - "Labels", - "Value", - "ValueSize", - "ResetRow", - "CommitRow", - "RowStatus", - }); - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_SampleRowKeysRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_SampleRowKeysResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_SampleRowKeysResponse_descriptor, - new java.lang.String[] { - "RowKey", "OffsetBytes", - }); - internal_static_google_bigtable_v2_MutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_MutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_MutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_MutateRowsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "Entries", - }); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsRequest_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsRequest_Entry_descriptor, - new java.lang.String[] { - "RowKey", "Mutations", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_MutateRowsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor, - new java.lang.String[] { - "Entries", "RateLimitInfo", "RateLimitInfo", - }); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor = - internal_static_google_bigtable_v2_MutateRowsResponse_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_MutateRowsResponse_Entry_descriptor, - new java.lang.String[] { - "Index", "Status", - }); - internal_static_google_bigtable_v2_RateLimitInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_RateLimitInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RateLimitInfo_descriptor, - new java.lang.String[] { - "Period", "Factor", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "RowKey", - "PredicateFilter", - "TrueMutations", - "FalseMutations", - }); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_CheckAndMutateRowResponse_descriptor, - new java.lang.String[] { - "PredicateMatched", - }); - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_PingAndWarmRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmRequest_descriptor, - new java.lang.String[] { - "Name", "AppProfileId", - }); - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_PingAndWarmResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_PingAndWarmResponse_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", "RowKey", "Rules", - }); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRowResponse_descriptor, - new java.lang.String[] { - "Row", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsRequest_descriptor, - new java.lang.String[] { - "TableName", "AppProfileId", - }); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_GenerateInitialChangeStreamPartitionsResponse_descriptor, - new java.lang.String[] { - "Partition", - }); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_bigtable_v2_ReadChangeStreamRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamRequest_descriptor, - new java.lang.String[] { - "TableName", - "AppProfileId", - "Partition", - "StartTime", - "ContinuationTokens", - "EndTime", - "HeartbeatDuration", - "StartFrom", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor, - new java.lang.String[] { - "DataChange", "Heartbeat", "CloseStream", "StreamRecord", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor, - new java.lang.String[] { - "ChunkInfo", "Mutation", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_descriptor - .getNestedTypes() - .get(0); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_MutationChunk_ChunkInfo_descriptor, - new java.lang.String[] { - "ChunkedValueSize", "ChunkedValueOffset", "LastChunk", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(1); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_DataChange_descriptor, - new java.lang.String[] { - "Type", - "SourceClusterId", - "RowKey", - "CommitTimestamp", - "Tiebreaker", - "Chunks", - "Done", - "Token", - "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(2); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_Heartbeat_descriptor, - new java.lang.String[] { - "ContinuationToken", "EstimatedLowWatermark", - }); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor = - internal_static_google_bigtable_v2_ReadChangeStreamResponse_descriptor - .getNestedTypes() - .get(3); - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadChangeStreamResponse_CloseStream_descriptor, - new java.lang.String[] { - "Status", "ContinuationTokens", "NewPartitions", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.AnnotationsProto.http); - registry.add(com.google.api.ClientProto.methodSignature); - registry.add(com.google.api.ClientProto.oauthScopes); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.api.RoutingProto.routing); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.api.RoutingProto.getDescriptor(); - com.google.bigtable.v2.DataProto.getDescriptor(); - com.google.bigtable.v2.RequestStatsProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.protobuf.WrappersProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java deleted file mode 100644 index 56c48fd962..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/CheckAndMutateRowResponseOrBuilder.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto - -package com.google.bigtable.v2; - -public interface CheckAndMutateRowResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.CheckAndMutateRowResponse) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Whether or not the request's `predicate_filter` yielded any results for
-   * the specified row.
-   * 
- * - * bool predicate_matched = 1; - * - * @return The predicateMatched. - */ - boolean getPredicateMatched(); -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java deleted file mode 100644 index 834075afc6..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/DataProto.java +++ /dev/null @@ -1,415 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/data.proto - -package com.google.bigtable.v2; - -public final class DataProto { - private DataProto() {} - - 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_v2_Row_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Row_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Family_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Family_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Column_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Column_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Cell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Cell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowSet_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ColumnRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_TimestampRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ValueRange_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamPartition_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n\035google/bigtable/v2/data.proto\022\022google." - + "bigtable.v2\"@\n\003Row\022\013\n\003key\030\001 \001(\014\022,\n\010famil" - + "ies\030\002 \003(\0132\032.google.bigtable.v2.Family\"C\n" - + "\006Family\022\014\n\004name\030\001 \001(\t\022+\n\007columns\030\002 \003(\0132\032" - + ".google.bigtable.v2.Column\"D\n\006Column\022\021\n\t" - + "qualifier\030\001 \001(\014\022\'\n\005cells\030\002 \003(\0132\030.google." - + "bigtable.v2.Cell\"?\n\004Cell\022\030\n\020timestamp_mi" - + "cros\030\001 \001(\003\022\r\n\005value\030\002 \001(\014\022\016\n\006labels\030\003 \003(" - + "\t\"\212\001\n\010RowRange\022\032\n\020start_key_closed\030\001 \001(\014" - + "H\000\022\030\n\016start_key_open\030\002 \001(\014H\000\022\026\n\014end_key_" - + "open\030\003 \001(\014H\001\022\030\n\016end_key_closed\030\004 \001(\014H\001B\013" - + "\n\tstart_keyB\t\n\007end_key\"L\n\006RowSet\022\020\n\010row_" - + "keys\030\001 \003(\014\0220\n\nrow_ranges\030\002 \003(\0132\034.google." - + "bigtable.v2.RowRange\"\306\001\n\013ColumnRange\022\023\n\013" - + "family_name\030\001 \001(\t\022 \n\026start_qualifier_clo" - + "sed\030\002 \001(\014H\000\022\036\n\024start_qualifier_open\030\003 \001(" - + "\014H\000\022\036\n\024end_qualifier_closed\030\004 \001(\014H\001\022\034\n\022e" - + "nd_qualifier_open\030\005 \001(\014H\001B\021\n\017start_quali" - + "fierB\017\n\rend_qualifier\"N\n\016TimestampRange\022" - + "\036\n\026start_timestamp_micros\030\001 \001(\003\022\034\n\024end_t" - + "imestamp_micros\030\002 \001(\003\"\230\001\n\nValueRange\022\034\n\022" - + "start_value_closed\030\001 \001(\014H\000\022\032\n\020start_valu" - + "e_open\030\002 \001(\014H\000\022\032\n\020end_value_closed\030\003 \001(\014" - + "H\001\022\030\n\016end_value_open\030\004 \001(\014H\001B\r\n\013start_va" - + "lueB\013\n\tend_value\"\337\010\n\tRowFilter\0224\n\005chain\030" - + "\001 \001(\0132#.google.bigtable.v2.RowFilter.Cha" - + "inH\000\022>\n\ninterleave\030\002 \001(\0132(.google.bigtab" - + "le.v2.RowFilter.InterleaveH\000\022<\n\tconditio" - + "n\030\003 \001(\0132\'.google.bigtable.v2.RowFilter.C" - + "onditionH\000\022\016\n\004sink\030\020 \001(\010H\000\022\031\n\017pass_all_f" - + "ilter\030\021 \001(\010H\000\022\032\n\020block_all_filter\030\022 \001(\010H" - + "\000\022\036\n\024row_key_regex_filter\030\004 \001(\014H\000\022\033\n\021row" - + "_sample_filter\030\016 \001(\001H\000\022\"\n\030family_name_re" - + "gex_filter\030\005 \001(\tH\000\022\'\n\035column_qualifier_r" - + "egex_filter\030\006 \001(\014H\000\022>\n\023column_range_filt" - + "er\030\007 \001(\0132\037.google.bigtable.v2.ColumnRang" - + "eH\000\022D\n\026timestamp_range_filter\030\010 \001(\0132\".go" - + "ogle.bigtable.v2.TimestampRangeH\000\022\034\n\022val" - + "ue_regex_filter\030\t \001(\014H\000\022<\n\022value_range_f" - + "ilter\030\017 \001(\0132\036.google.bigtable.v2.ValueRa" - + "ngeH\000\022%\n\033cells_per_row_offset_filter\030\n \001" - + "(\005H\000\022$\n\032cells_per_row_limit_filter\030\013 \001(\005" - + "H\000\022\'\n\035cells_per_column_limit_filter\030\014 \001(" - + "\005H\000\022!\n\027strip_value_transformer\030\r \001(\010H\000\022!" - + "\n\027apply_label_transformer\030\023 \001(\tH\000\0327\n\005Cha" - + "in\022.\n\007filters\030\001 \003(\0132\035.google.bigtable.v2" - + ".RowFilter\032<\n\nInterleave\022.\n\007filters\030\001 \003(" - + "\0132\035.google.bigtable.v2.RowFilter\032\255\001\n\tCon" - + "dition\0227\n\020predicate_filter\030\001 \001(\0132\035.googl" - + "e.bigtable.v2.RowFilter\0222\n\013true_filter\030\002" - + " \001(\0132\035.google.bigtable.v2.RowFilter\0223\n\014f" - + "alse_filter\030\003 \001(\0132\035.google.bigtable.v2.R" - + "owFilterB\010\n\006filter\"\311\004\n\010Mutation\0228\n\010set_c" - + "ell\030\001 \001(\0132$.google.bigtable.v2.Mutation." - + "SetCellH\000\022K\n\022delete_from_column\030\002 \001(\0132-." - + "google.bigtable.v2.Mutation.DeleteFromCo" - + "lumnH\000\022K\n\022delete_from_family\030\003 \001(\0132-.goo" - + "gle.bigtable.v2.Mutation.DeleteFromFamil" - + "yH\000\022E\n\017delete_from_row\030\004 \001(\0132*.google.bi" - + "gtable.v2.Mutation.DeleteFromRowH\000\032a\n\007Se" - + "tCell\022\023\n\013family_name\030\001 \001(\t\022\030\n\020column_qua" - + "lifier\030\002 \001(\014\022\030\n\020timestamp_micros\030\003 \001(\003\022\r" - + "\n\005value\030\004 \001(\014\032y\n\020DeleteFromColumn\022\023\n\013fam" - + "ily_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014" - + "\0226\n\ntime_range\030\003 \001(\0132\".google.bigtable.v" - + "2.TimestampRange\032\'\n\020DeleteFromFamily\022\023\n\013" - + "family_name\030\001 \001(\t\032\017\n\rDeleteFromRowB\n\n\010mu" - + "tation\"\200\001\n\023ReadModifyWriteRule\022\023\n\013family" - + "_name\030\001 \001(\t\022\030\n\020column_qualifier\030\002 \001(\014\022\026\n" - + "\014append_value\030\003 \001(\014H\000\022\032\n\020increment_amoun" - + "t\030\004 \001(\003H\000B\006\n\004rule\"B\n\017StreamPartition\022/\n\t" - + "row_range\030\001 \001(\0132\034.google.bigtable.v2.Row" - + "Range\"W\n\030StreamContinuationTokens\022;\n\006tok" - + "ens\030\001 \003(\0132+.google.bigtable.v2.StreamCon" - + "tinuationToken\"`\n\027StreamContinuationToke" - + "n\0226\n\tpartition\030\001 \001(\0132#.google.bigtable.v" - + "2.StreamPartition\022\r\n\005token\030\002 \001(\tB\265\001\n\026com" - + ".google.bigtable.v2B\tDataProtoP\001Z:google" - + ".golang.org/genproto/googleapis/bigtable" - + "/v2;bigtable\252\002\030Google.Cloud.Bigtable.V2\312" - + "\002\030Google\\Cloud\\Bigtable\\V2\352\002\033Google::Clo" - + "ud::Bigtable::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_Row_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_Row_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Row_descriptor, - new java.lang.String[] { - "Key", "Families", - }); - internal_static_google_bigtable_v2_Family_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_Family_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Family_descriptor, - new java.lang.String[] { - "Name", "Columns", - }); - internal_static_google_bigtable_v2_Column_descriptor = getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_Column_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Column_descriptor, - new java.lang.String[] { - "Qualifier", "Cells", - }); - internal_static_google_bigtable_v2_Cell_descriptor = getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_Cell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Cell_descriptor, - new java.lang.String[] { - "TimestampMicros", "Value", "Labels", - }); - internal_static_google_bigtable_v2_RowRange_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_bigtable_v2_RowRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowRange_descriptor, - new java.lang.String[] { - "StartKeyClosed", "StartKeyOpen", "EndKeyOpen", "EndKeyClosed", "StartKey", "EndKey", - }); - internal_static_google_bigtable_v2_RowSet_descriptor = getDescriptor().getMessageTypes().get(5); - internal_static_google_bigtable_v2_RowSet_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowSet_descriptor, - new java.lang.String[] { - "RowKeys", "RowRanges", - }); - internal_static_google_bigtable_v2_ColumnRange_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_bigtable_v2_ColumnRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ColumnRange_descriptor, - new java.lang.String[] { - "FamilyName", - "StartQualifierClosed", - "StartQualifierOpen", - "EndQualifierClosed", - "EndQualifierOpen", - "StartQualifier", - "EndQualifier", - }); - internal_static_google_bigtable_v2_TimestampRange_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_bigtable_v2_TimestampRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_TimestampRange_descriptor, - new java.lang.String[] { - "StartTimestampMicros", "EndTimestampMicros", - }); - internal_static_google_bigtable_v2_ValueRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_bigtable_v2_ValueRange_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ValueRange_descriptor, - new java.lang.String[] { - "StartValueClosed", - "StartValueOpen", - "EndValueClosed", - "EndValueOpen", - "StartValue", - "EndValue", - }); - internal_static_google_bigtable_v2_RowFilter_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_bigtable_v2_RowFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_descriptor, - new java.lang.String[] { - "Chain", - "Interleave", - "Condition", - "Sink", - "PassAllFilter", - "BlockAllFilter", - "RowKeyRegexFilter", - "RowSampleFilter", - "FamilyNameRegexFilter", - "ColumnQualifierRegexFilter", - "ColumnRangeFilter", - "TimestampRangeFilter", - "ValueRegexFilter", - "ValueRangeFilter", - "CellsPerRowOffsetFilter", - "CellsPerRowLimitFilter", - "CellsPerColumnLimitFilter", - "StripValueTransformer", - "ApplyLabelTransformer", - "Filter", - }); - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_RowFilter_Chain_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Chain_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_RowFilter_Interleave_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Interleave_descriptor, - new java.lang.String[] { - "Filters", - }); - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor = - internal_static_google_bigtable_v2_RowFilter_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_RowFilter_Condition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RowFilter_Condition_descriptor, - new java.lang.String[] { - "PredicateFilter", "TrueFilter", "FalseFilter", - }); - internal_static_google_bigtable_v2_Mutation_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_bigtable_v2_Mutation_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_descriptor, - new java.lang.String[] { - "SetCell", "DeleteFromColumn", "DeleteFromFamily", "DeleteFromRow", "Mutation", - }); - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(0); - internal_static_google_bigtable_v2_Mutation_SetCell_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_SetCell_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimestampMicros", "Value", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(1); - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromColumn_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "TimeRange", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(2); - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromFamily_descriptor, - new java.lang.String[] { - "FamilyName", - }); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor = - internal_static_google_bigtable_v2_Mutation_descriptor.getNestedTypes().get(3); - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_Mutation_DeleteFromRow_descriptor, - new java.lang.String[] {}); - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_bigtable_v2_ReadModifyWriteRule_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadModifyWriteRule_descriptor, - new java.lang.String[] { - "FamilyName", "ColumnQualifier", "AppendValue", "IncrementAmount", "Rule", - }); - internal_static_google_bigtable_v2_StreamPartition_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_bigtable_v2_StreamPartition_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamPartition_descriptor, - new java.lang.String[] { - "RowRange", - }); - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_bigtable_v2_StreamContinuationTokens_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationTokens_descriptor, - new java.lang.String[] { - "Tokens", - }); - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_bigtable_v2_StreamContinuationToken_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_StreamContinuationToken_descriptor, - new java.lang.String[] { - "Partition", "Token", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java deleted file mode 100644 index 91b2c97e8c..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/FeatureFlagsProto.java +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/feature_flags.proto - -package com.google.bigtable.v2; - -public final class FeatureFlagsProto { - private FeatureFlagsProto() {} - - 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_v2_FeatureFlags_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/feature_flags.proto" - + "\022\022google.bigtable.v2\"\212\001\n\014FeatureFlags\022\025\n" - + "\rreverse_scans\030\001 \001(\010\022\036\n\026mutate_rows_rate" - + "_limit\030\003 \001(\010\022\037\n\027mutate_rows_rate_limit2\030" - + "\005 \001(\010\022\"\n\032last_scanned_row_responses\030\004 \001(" - + "\010B\275\001\n\026com.google.bigtable.v2B\021FeatureFla" - + "gsProtoP\001Z:google.golang.org/genproto/go" - + "ogleapis/bigtable/v2;bigtable\252\002\030Google.C" - + "loud.Bigtable.V2\312\002\030Google\\Cloud\\Bigtable" - + "\\V2\352\002\033Google::Cloud::Bigtable::V2b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_FeatureFlags_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_FeatureFlags_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FeatureFlags_descriptor, - new java.lang.String[] { - "ReverseScans", - "MutateRowsRateLimit", - "MutateRowsRateLimit2", - "LastScannedRowResponses", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java deleted file mode 100644 index da681e9f69..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/MutateRowResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto - -package com.google.bigtable.v2; - -public interface MutateRowResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.MutateRowResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java deleted file mode 100644 index 14198ea2c5..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/PingAndWarmResponseOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/bigtable.proto - -package com.google.bigtable.v2; - -public interface PingAndWarmResponseOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.bigtable.v2.PingAndWarmResponse) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java deleted file mode 100644 index c569d3c3bf..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/RequestStatsProto.java +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/request_stats.proto - -package com.google.bigtable.v2; - -public final class RequestStatsProto { - private RequestStatsProto() {} - - 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_v2_ReadIterationStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_FullReadStatsView_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_bigtable_v2_RequestStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n&google/bigtable/v2/request_stats.proto" - + "\022\022google.bigtable.v2\032\036google/protobuf/du" - + "ration.proto\"\202\001\n\022ReadIterationStats\022\027\n\017r" - + "ows_seen_count\030\001 \001(\003\022\033\n\023rows_returned_co" - + "unt\030\002 \001(\003\022\030\n\020cells_seen_count\030\003 \001(\003\022\034\n\024c" - + "ells_returned_count\030\004 \001(\003\"Q\n\023RequestLate" - + "ncyStats\022:\n\027frontend_server_latency\030\001 \001(" - + "\0132\031.google.protobuf.Duration\"\241\001\n\021FullRea" - + "dStatsView\022D\n\024read_iteration_stats\030\001 \001(\013" - + "2&.google.bigtable.v2.ReadIterationStats" - + "\022F\n\025request_latency_stats\030\002 \001(\0132\'.google" - + ".bigtable.v2.RequestLatencyStats\"c\n\014Requ" - + "estStats\022E\n\024full_read_stats_view\030\001 \001(\0132%" - + ".google.bigtable.v2.FullReadStatsViewH\000B" - + "\014\n\nstats_viewB\275\001\n\026com.google.bigtable.v2" - + "B\021RequestStatsProtoP\001Z:google.golang.org" - + "/genproto/googleapis/bigtable/v2;bigtabl" - + "e\252\002\030Google.Cloud.Bigtable.V2\312\002\030Google\\Cl" - + "oud\\Bigtable\\V2\352\002\033Google::Cloud::Bigtabl" - + "e::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.DurationProto.getDescriptor(), - }); - internal_static_google_bigtable_v2_ReadIterationStats_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ReadIterationStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ReadIterationStats_descriptor, - new java.lang.String[] { - "RowsSeenCount", "RowsReturnedCount", "CellsSeenCount", "CellsReturnedCount", - }); - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_bigtable_v2_RequestLatencyStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestLatencyStats_descriptor, - new java.lang.String[] { - "FrontendServerLatency", - }); - internal_static_google_bigtable_v2_FullReadStatsView_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_bigtable_v2_FullReadStatsView_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_FullReadStatsView_descriptor, - new java.lang.String[] { - "ReadIterationStats", "RequestLatencyStats", - }); - internal_static_google_bigtable_v2_RequestStats_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_bigtable_v2_RequestStats_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_RequestStats_descriptor, - new java.lang.String[] { - "FullReadStatsView", "StatsView", - }); - com.google.protobuf.DurationProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java deleted file mode 100644 index 5734d76130..0000000000 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ResponseParamsProto.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See 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/v2/response_params.proto - -package com.google.bigtable.v2; - -public final class ResponseParamsProto { - private ResponseParamsProto() {} - - 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_v2_ResponseParams_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n(google/bigtable/v2/response_params.pro" - + "to\022\022google.bigtable.v2\"Z\n\016ResponseParams" - + "\022\024\n\007zone_id\030\001 \001(\tH\000\210\001\001\022\027\n\ncluster_id\030\002 \001" - + "(\tH\001\210\001\001B\n\n\010_zone_idB\r\n\013_cluster_idB\277\001\n\026c" - + "om.google.bigtable.v2B\023ResponseParamsPro" - + "toP\001Z:google.golang.org/genproto/googlea" - + "pis/bigtable/v2;bigtable\252\002\030Google.Cloud." - + "Bigtable.V2\312\002\030Google\\Cloud\\Bigtable\\V2\352\002" - + "\033Google::Cloud::Bigtable::V2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_bigtable_v2_ResponseParams_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_bigtable_v2_ResponseParams_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_bigtable_v2_ResponseParams_descriptor, - new java.lang.String[] { - "ZoneId", "ClusterId", "ZoneId", "ClusterId", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -}